From 990fde3ceb98ea16e6a0d26764c73268aa7fb368 Mon Sep 17 00:00:00 2001 From: Aaron Carlino Date: Thu, 24 Jun 2021 15:15:23 +1200 Subject: [PATCH] NEW: GraphQL 4 compat (#63) * NEW GraphQL 3.5.0 compat Changed field names to lowercase for forwards compat with GraphQL v4 * NEW GraphQL v4 support * ESLint fixes * It's working Co-authored-by: Ingo Schommer --- _config/graphql.yml | 25 +++ _graphql/schema.yml | 20 +++ client/dist/js/bundle.js | 8 +- client/dist/js/bundle.js.map | 2 +- client/dist/styles/bundle.css | 3 +- client/dist/styles/bundle.css.map | 2 +- .../components/HistoryViewer/HistoryViewer.js | 48 +++-- .../HistoryViewer/HistoryViewerSnapshot.js | 10 +- .../HistoryViewerSnapshotState.js | 10 +- .../HistoryViewer/HistoryViewerToolbar.js | 56 +++--- .../HistoryViewer/HistoryViewerVersion.js | 10 +- .../HistoryViewerVersionDetail.js | 14 +- .../HistoryViewer/HistoryViewerVersionList.js | 12 +- .../HistoryViewerVersionState.js | 8 +- .../HistoryViewer/RollbackMutation.js | 10 +- .../HistoryViewer/SnapshotViewerContainer.js | 18 +- .../HistoryViewer/tests/HistoryViewer-test.js | 54 +++--- .../tests/HistoryViewerToolbar-test.js | 1 + .../tests/HistoryViewerVersion-test.js | 30 ++-- .../tests/HistoryViewerVersionState-test.js | 6 +- client/src/graphql/createRollbackMutation.js | 13 +- client/src/graphql/createSnapshotsQuery.js | 74 ++++---- client/src/helpers/getDateFromVersion.js | 2 +- .../historyviewer/HistoryViewerReducer.js | 4 +- .../tests/HistoryViewerReducer-test.js | 16 +- client/src/types/versionType.js | 48 ++--- composer.json | 3 +- src/DataObjectScaffolderExtension.php | 93 ---------- src/ReadSnapshotHistory.php | 74 -------- src/SnapshotHistoryPlugin.php | 168 ++++++++++++++++++ src/SnapshotPublishableExtension.php | 4 +- src/SnapshotScaffoldingProvider.php | 48 ----- src/SnapshotViewerField.php | 16 +- 33 files changed, 451 insertions(+), 459 deletions(-) create mode 100644 _config/graphql.yml create mode 100644 _graphql/schema.yml delete mode 100644 src/DataObjectScaffolderExtension.php delete mode 100644 src/ReadSnapshotHistory.php create mode 100644 src/SnapshotHistoryPlugin.php delete mode 100644 src/SnapshotScaffoldingProvider.php diff --git a/_config/graphql.yml b/_config/graphql.yml new file mode 100644 index 0000000..5b6e1e4 --- /dev/null +++ b/_config/graphql.yml @@ -0,0 +1,25 @@ +--- +Name: versioned-snapshot-admin-graphql +--- +SilverStripe\GraphQL\Schema\Schema: + schemas: + admin: + src: + - 'silverstripe/versioned-snapshot-admin: _graphql' +SilverStripe\Core\Injector\Injector: + SilverStripe\GraphQL\Schema\Registry\PluginRegistry: + constructor: + - 'SilverStripe\SnapshotAdmin\SnapshotHistoryPlugin' + +--- +Name: versioned-snapshot-admin-sitetree +Only: + moduleexists: silverstripe/cms +--- +SilverStripe\GraphQL\Schema\Schema: + schemas: + admin: + models: + SilverStripe\CMS\Model\SiteTree: + fields: + className: true diff --git a/_graphql/schema.yml b/_graphql/schema.yml new file mode 100644 index 0000000..a25b305 --- /dev/null +++ b/_graphql/schema.yml @@ -0,0 +1,20 @@ +config: + modelConfig: + DataObject: + plugins: + snapshotHistory: true +models: + SilverStripe\Security\Member: + fields: + firstName: true + surname: true +enums: + SnapshotActivityType: + values: + - ADDED + - CREATED + - DELETED + - MODIFIED + - PUBLISHED + - UNPUBLISHED + - REMOVED diff --git a/client/dist/js/bundle.js b/client/dist/js/bundle.js index fbba40f..e30910d 100644 --- a/client/dist/js/bundle.js +++ b/client/dist/js/bundle.js @@ -1,7 +1 @@ -!function(e){function t(n){if(o[n])return o[n].exports;var s=o[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,t),s.l=!0,s.exports}var o={};t.m=e,t.c=o,t.i=function(e){return e},t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s="./client/src/bundles/bundle.js")}({"./client/src/boot/index.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var s=o("./client/src/boot/registerComponents.js"),r=n(s),a=o("./client/src/boot/registerReducers.js"),i=n(a);window.document.addEventListener("DOMContentLoaded",function(){(0,r.default)(),(0,i.default)()})},"./client/src/boot/registerComponents.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=o(2),r=n(s),a=o("./client/src/components/HistoryViewer/HistoryViewer.js"),i=n(a),l=o("./client/src/components/HistoryViewer/SnapshotViewerContainer.js"),u=n(l),d=o("./client/src/components/HistoryViewer/HistoryViewerHeading.js"),c=n(d),p=o("./client/src/components/HistoryViewer/HistoryViewerToolbar.js"),h=n(p),m=o("./client/src/components/HistoryViewer/HistoryViewerVersion.js"),f=n(m),_=o("./client/src/components/HistoryViewer/HistoryViewerVersionDetail.js"),g=n(_),v=o("./client/src/components/HistoryViewer/HistoryViewerVersionList.js"),y=n(v),j=o("./client/src/components/HistoryViewer/HistoryViewerVersionState.js"),b=n(j),C=o("./client/src/components/HistoryViewer/HistoryViewerSnapshotState.js"),w=n(C),S=o("./client/src/components/HistoryViewer/HistoryViewerSnapshot.js"),x=n(S),E=o("./client/src/components/HistoryViewer/HistoryViewerCompareWarning.js"),P=n(E),O=o("./client/src/components/HistoryViewer/RollbackMutation.js"),R=n(O);t.default=function(){r.default.component.register("SnapshotViewer",i.default),r.default.component.register("SnapshotViewerContainer",u.default),r.default.component.register("SnapshotHistoryViewer",i.default),r.default.component.register("SnapshotRollbackMutation",R.default),r.default.component.registerMany({SnapshotHistoryViewerHeading:c.default,SnapshotHistoryViewerToolbar:h.default,SnapshotHistoryViewerVersion:f.default,SnapshotHistoryViewerVersionDetail:g.default,SnapshotHistoryViewerVersionList:y.default,SnapshotHistoryViewerVersionState:b.default,SnapshotHistoryViewerSnapshotState:w.default,SnapshotHistoryViewerSnapshot:x.default,SnapshotHistoryViewerCompareWarning:P.default},{force:!0})}},"./client/src/boot/registerReducers.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=o(2),r=n(s),a=o(5),i=o("./client/src/state/historyviewer/HistoryViewerReducer.js"),l=n(i),u=function(){r.default.reducer.register("versionedAdmin",(0,a.combineReducers)({historyViewer:l.default}),{force:!0})};t.default=u},"./client/src/bundles/bundle.js":function(e,t,o){"use strict";o("./node_modules/expose-loader/index.js?SnapshotsViewer!./client/src/components/HistoryViewer/HistoryViewer.js-exposed"),o("./node_modules/expose-loader/index.js?versionType!./client/src/types/versionType.js-exposed"),o("./client/src/legacy/ArchiveAdmin/ArchiveAdmin.js"),o("./client/src/legacy/HistoryViewer/HistoryViewerEntwine.js"),o("./client/src/boot/index.js")},"./client/src/components/HistoryViewer/HistoryViewer.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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)}function i(e){var t=e.versionedAdmin.historyViewer,o=t.currentPage,n=t.currentVersion,s=t.previewMode;return{page:o,currentVersion:n,compare:t.compare,previewMode:s,previewState:e.viewMode.activeState}}function l(e){return{onSelect:function(t){e((0,S.showVersion)(t)),e((0,S.clearMessages)())},onSetPage:function(t){e((0,S.setCurrentPage)(t))},onResize:function(t){e(V.enableOrDisableSplitMode(t))}}}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=t.VERSION_MODE_DATE=t.VERSION_MODE_VERSION=void 0;var u=Object.assign||function(e){for(var t=1;t1}},{key:"renderVersionDetail",value:function(){var e=this,t=this.props,o=t.currentVersion,n=t.isPreviewable,s=t.recordId,r=t.recordClass,a=t.typeName,i=t.schemaUrl,l=t.VersionDetailComponent,u=t.compare,d=t.compare,c=d.versionFrom,h=void 0!==c&&c,m=d.versionTo,f=void 0!==m&&m,_=t.previewState,g={":id":s,":class":r,":date":"",":version":""};g[":date"]=o.LastEdited;var v={":id":s,":class":r,":from":h.Version||0,":to":f.Version||0},y=u?/:id|:class|:from|:to/g:/:id|:class|:version|:date/g,j=u?v:g,b=u?h:o,C=this.getLatestVersion(),w={isLatestVersion:!u&&C&&C.Version===b.Version,isPreviewable:n,recordId:s,typeName:a,schemaUrl:i.replace(y,function(e){return j[e]}),version:b,compare:u,compareModeAvailable:this.compareModeAvailable(),previewState:_};return p.default.createElement(M.default,{className:this.getContainerClasses(),onResize:function(t){var o=t.width;return e.props.onResize(o)}},p.default.createElement(l,w))}},{key:"renderPagination",value:function(){var e=this.props,t=e.limit,o=e.page,n=e.versions;if(!n)return null;var s=n.SnapshotHistory?n.SnapshotHistory.pageInfo.totalCount:0;if(s<=t)return null;var r={setPage:this.handleSetPage,maxPage:Math.ceil(s/t),next:this.handleNextPage,nextText:j.default._t("HistoryViewer.NEXT","Next"),previous:this.handlePrevPage,previousText:j.default._t("HistoryViewer.PREVIOUS","Previous"),currentPage:o-1,useGriddleStyles:!1};return p.default.createElement("div",{className:"griddle-footer"},p.default.createElement(_.default.GridPagination,r))}},{key:"renderComparisonSelectionList",value:function(){var e=this.props,t=e.compare.versionFrom,o=e.ListComponent;if(!t)return null;var n=(0,O.default)("history-viewer__table","history-viewer__table--comparison-selected");return p.default.createElement(o,{versions:[t],extraClass:n})}},{key:"renderVersionList",value:function(){var e=this.props,t=e.isInGridField,o=e.ListComponent,n=e.CompareWarningComponent,s=e.compare,r=e.compare.versionFrom;return p.default.createElement("div",{className:this.getContainerClasses()},p.default.createElement(n,null),p.default.createElement("div",{className:t?"":"panel panel--padded panel--scrollable"},this.renderComparisonSelectionList(),p.default.createElement(o,{versions:this.getVersions(),showHeader:!s||s&&!r,compareModeAvailable:this.compareModeAvailable()}),p.default.createElement("div",{className:"history-viewer__pagination"},this.renderPagination())))}},{key:"renderCompareMode",value:function(){var e=this.props.compare;return e&&e.versionFrom&&e.versionTo?this.renderVersionDetail():this.renderVersionList()}},{key:"render",value:function(){var e=this.props,t=e.loading,o=e.compare,n=e.previewMode;return t?p.default.createElement(w.default,null):this.compareModeAvailable()&&o?this.renderCompareMode():n?this.renderVersionDetail():this.renderVersionList()}}]),t}(c.Component);k.propTypes={contextKey:N.default.string,limit:N.default.number,ListComponent:N.default.oneOfType([N.default.node,N.default.func]).isRequired,offset:N.default.number,recordId:N.default.number.isRequired,recordClass:N.default.string.isRequired,typeName:N.default.string.isRequired,currentVersion:N.default.oneOfType([N.default.bool,x.versionType]),compare:E.compareType,isInGridField:N.default.bool,isPreviewable:N.default.bool,VersionDetailComponent:N.default.oneOfType([N.default.node,N.default.func]).isRequired,CompareWarningComponent:N.default.oneOfType([N.default.node,N.default.func]).isRequired,versions:N.default.shape({Versions:N.default.shape({pageInfo:N.default.shape({totalCount:N.default.number}),edges:N.default.arrayOf(N.default.shape({node:x.versionType}))})}),page:N.default.number,schemaUrl:N.default.string,previewState:N.default.oneOf(["edit","preview","split"]),actions:N.default.object,onSelect:N.default.func,onSetPage:N.default.func,onResize:N.default.func},k.defaultProps={compare:{},contextKey:"",currentVersion:!1,isInGridField:!1,isPreviewable:!1,typeName:"",schemaUrl:"",versions:{Versions:{pageInfo:{totalCount:0},edges:[]}}},t.Component=k,t.default=(0,h.compose)((0,m.connect)(i,l),v.default,(0,b.inject)(["SnapshotHistoryViewerVersionList","SnapshotHistoryViewerVersionDetail","SnapshotHistoryViewerCompareWarning"],function(e,t,o){return{ListComponent:e,VersionDetailComponent:t,CompareWarningComponent:o}},function(e){return"VersionedAdmin.HistoryViewer."+e.contextKey}))(k)},"./client/src/components/HistoryViewer/HistoryViewerCompareWarning.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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)}function i(e){return{isCompare:!!e.versionedAdmin.historyViewer.compare}}function l(e){return{onDismissCompare:function(){e((0,g.setCompareMode)(!1))}}}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var o=0;o1?s.map(function(e,t){return React.createElement("div",{key:t},e)}):n+" "+t}},{key:"getBadges",value:function(){return null}}]),t}(i.Component);t.Component=u,t.default=(0,l.inject)(["Badge"],function(e){return{BadgeComponent:e}})(u)},"./client/src/components/HistoryViewer/HistoryViewerToolbar.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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)}function i(e){return{onAfterRevert:function(t){e((0,v.addMessage)(_.default.sprintf(_.default._t("HistoryViewerToolbar.REVERTED_MESSAGE","Successfully reverted to version %s"),t))),e((0,v.showList)())}}}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var l=function(){function e(e,t){for(var o=0;o0&&void 0!==arguments[0])||arguments[0],t=document.querySelector(".CMSPageHistoryViewerController div:not(.cms-content-tools) .cms-content-header"),o="history-viewer__toolbar--condensed";t&&this.isPreviewable()&&(e?t.classList.add(o):t.classList.remove(o))}},{key:"renderPreview",value:function(){var e=this.props,t=e.version,o=e.PreviewComponent,n=e.previewState;return this.isPreviewable()&&"edit"!==n?u.default.createElement("div",{className:"history-viewer-preview flexbox-area-grow"},u.default.createElement("div",{className:"history-viewer-preview__underlay"},u.default.createElement("div",{className:"history-viewer-preview__spinner"}),y.default._t("HistoryViewerVersionDetail.LOADING_PREVIEW","Generating preview...")),u.default.createElement(o,{className:"history-viewer-preview__frame flexbox-area-grow",itemLinks:{preview:{Stage:{href:t.AbsoluteLink+"&archiveDate="+t.LastEdited,type:"text/html"}}},itemId:t.Version})):null}},{key:"renderToolbar",value:function(){var e=this.props,t=e.ToolbarComponent,o=e.isLatestVersion,n=e.recordId,s=e.version,r=e.typeName;if(this.isCompareMode())return null;var a=y.default._t("HistoryViewerVersionDetail.CANNOT_ROLLBACK_SNAPSHOTS","You can only revert to base versions");return u.default.createElement(t,{identifier:"HistoryViewer.VersionDetail.Toolbar",isLatestVersion:o,recordId:n,typeName:r,versionId:s.Version,isPreviewable:this.isPreviewable(),canRollback:s.IsFullVersion,rollbackMessage:a})}},{key:"renderDetails",value:function(){var e=this.props,t=e.compareModeAvailable,o=e.ListComponent,n=e.schemaUrl,s=e.CompareWarningComponent,r=e.previewState,a=e.version;if(this.isPreviewable()&&"preview"===r)return null;var i=["flexbox-area-grow","panel","panel--scrollable","panel--padded","panel--padded-side"],l={"history-viewer__table":!0,"history-viewer__table--current":!0,"history-viewer__table--compare":this.isCompareMode()},d={"history-viewer__version-detail":!0,"history-viewer__version-detail--compare":this.isCompareMode()};return u.default.createElement("div",{className:"flexbox-area-grow fill-height"},u.default.createElement("div",{className:(0,c.default)(i)},u.default.createElement(o,{extraClass:(0,c.default)(l),versions:this.getListVersions(),compareModeAvailable:t}),u.default.createElement("div",{className:(0,c.default)(d)},u.default.createElement(h.default,{identifier:"HistoryViewer.VersionDetail."+a.ID,schemaUrl:n,refetchSchemaOnMount:!1}))),this.renderToolbar(),u.default.createElement(s,{fixed:!0}))}},{key:"render",value:function(){return u.default.createElement("div",{className:"flexbox-area-grow fill-width"},this.renderDetails(),this.renderPreview())}}]),t}(l.PureComponent);j.propTypes={isLatestVersion:g.default.bool,isPreviewable:g.default.bool,ListComponent:g.default.oneOfType([g.default.node,g.default.func]).isRequired,PreviewComponent:g.default.oneOfType([g.default.node,g.default.func]),recordId:g.default.number.isRequired,typeName:g.default.string.isRequired,schemaUrl:g.default.string.isRequired,ToolbarComponent:g.default.oneOfType([g.default.node,g.default.func]).isRequired,version:f.versionType,compare:g.default.oneOfType([g.default.shape({versionFrom:f.versionType,versionTo:f.versionType}),g.default.bool]),previewState:g.default.oneOf(["edit","preview","split"])},j.defaultProps={isLatestVersion:!1,isPreviewable:!1,compare:!1},t.Component=j,t.default=(0,m.inject)(["SnapshotHistoryViewerVersionList","SnapshotHistoryViewerToolbar","Preview","SnapshotHistoryViewerCompareWarning"],function(e,t,o,n){return{ListComponent:e,ToolbarComponent:t,PreviewComponent:o,CompareWarningComponent:n}},function(e,t){return t+".HistoryViewerVersionDetail."+e.version.Version})(j)},"./client/src/components/HistoryViewer/HistoryViewerVersionList.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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)}function i(e){var t=e.versionedAdmin.historyViewer;return{messages:t.messages,compare:t.compare,currentVersion:t.currentVersion}}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var l=function(){function e(e,t){for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:"success";return{type:m.default.ADD_MESSAGE,payload:{id:(0,_.default)(),message:e,type:t}}}function u(){return{type:m.default.CLEAR_MESSAGES}}function d(e){return{type:m.default.SET_COMPARE_MODE,payload:{enabled:e}}}function c(e){return{type:m.default.SET_COMPARE_FROM,payload:{version:e}}}function p(e){return{type:m.default.SET_COMPARE_TO,payload:{version:e}}}Object.defineProperty(t,"__esModule",{value:!0}),t.showVersion=s,t.showDate=r,t.showList=a,t.setCurrentPage=i,t.addMessage=l,t.clearMessages=u,t.setCompareMode=d,t.setCompareFrom=c,t.setCompareTo=p;var h=o("./client/src/state/historyviewer/HistoryViewerActionTypes.js"),m=n(h),f=o("./node_modules/uuid/v1.js"),_=n(f)},"./client/src/state/historyviewer/HistoryViewerReducer.js":function(e,t,o){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:d,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.type,s=t.payload;switch(o){case i.default.SET_CURRENT_PAGE:return r({},e,{currentPage:s.page});case i.default.SHOW_VERSION:var a=s.version;return r({},e,{previewMode:a&&u.VERSION_MODE_VERSION,currentVersion:a});case i.default.SHOW_DATE:var l=s.version;return r({},e,{previewMode:l&&u.VERSION_MODE_DATE,currentVersion:l});case i.default.SHOW_LIST:return r({},e,{currentVersion:!1,currentDate:!1,previewMode:!1,currentPage:0});case i.default.ADD_MESSAGE:return r({},e,{messages:[s].concat(n(e.messages))});case i.default.CLEAR_MESSAGES:return r({},e,{messages:[]});case i.default.SET_COMPARE_MODE:var c=r({versionFrom:!1,versionTo:!1},e.compare);return r({},e,{compare:!!s.enabled&&c,previewMode:!!s.enabled&&e.previewMode});case i.default.SET_COMPARE_FROM:var p=e.compare,h=p.versionFrom,m=p.versionTo;return h=s.version||!1,h||(h=m,m=!1),r({},e,{currentVersion:h,compare:{versionFrom:h,versionTo:m}});case i.default.SET_COMPARE_TO:var f=e.compare,_=f.versionFrom,g=f.versionTo;return g=s.version||!1,g&&_&&g.Version<_.Version&&(_=g,g=e.compare.versionFrom),r({},e,{currentVersion:_,compare:{versionFrom:_,versionTo:g}});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1}},{key:"renderVersionDetail",value:function(){var e=this,t=this.props,o=t.currentVersion,n=t.isPreviewable,s=t.recordId,r=t.recordClass,a=t.typeName,i=t.schemaUrl,l=t.VersionDetailComponent,u=t.compare,d=t.compare,c=d.versionFrom,h=void 0!==c&&c,m=d.versionTo,f=void 0!==m&&m,_=t.previewState,g={":id":s,":class":r,":date":"",":version":""};g[":date"]=o.LastEdited;var v={":id":s,":class":r,":from":h.Version||0,":to":f.Version||0},y=u?/:id|:class|:from|:to/g:/:id|:class|:version|:date/g,j=u?v:g,b=u?h:o,C=this.getLatestVersion(),w={isLatestVersion:!u&&C&&C.Version===b.Version,isPreviewable:n,recordId:s,typeName:a,schemaUrl:i.replace(y,function(e){return j[e]}),version:b,compare:u,compareModeAvailable:this.compareModeAvailable(),previewState:_};return p.default.createElement(M.default,{className:this.getContainerClasses(),onResize:function(t){var o=t.width;return e.props.onResize(o)}},p.default.createElement(l,w))}},{key:"renderPagination",value:function(){var e=this.props,t=e.limit,o=e.page,n=e.versions;if(!n)return null;var s=n.SnapshotHistory?n.SnapshotHistory.pageInfo.totalCount:0;if(s<=t)return null;var r={setPage:this.handleSetPage,maxPage:Math.ceil(s/t),next:this.handleNextPage,nextText:j.default._t("HistoryViewer.NEXT","Next"),previous:this.handlePrevPage,previousText:j.default._t("HistoryViewer.PREVIOUS","Previous"),currentPage:o-1,useGriddleStyles:!1};return p.default.createElement("div",{className:"griddle-footer"},p.default.createElement(_.default.GridPagination,r))}},{key:"renderComparisonSelectionList",value:function(){var e=this.props,t=e.compare.versionFrom,o=e.ListComponent;if(!t)return null;var n=(0,O.default)("history-viewer__table","history-viewer__table--comparison-selected");return p.default.createElement(o,{versions:[t],extraClass:n})}},{key:"renderVersionList",value:function(){var e=this.props,t=e.isInGridField,o=e.ListComponent,n=e.CompareWarningComponent,s=e.compare,r=e.compare.versionFrom;return p.default.createElement("div",{className:this.getContainerClasses()},p.default.createElement(n,null),p.default.createElement("div",{className:t?"":"panel panel--padded panel--scrollable"},this.renderComparisonSelectionList(),p.default.createElement(o,{versions:this.getVersions(),showHeader:!s||s&&!r,compareModeAvailable:this.compareModeAvailable()}),p.default.createElement("div",{className:"history-viewer__pagination"},this.renderPagination())))}},{key:"renderCompareMode",value:function(){var e=this.props.compare;return e&&e.versionFrom&&e.versionTo?this.renderVersionDetail():this.renderVersionList()}},{key:"render",value:function(){var e=this.props,t=e.loading,o=e.compare,n=e.previewMode;return t?p.default.createElement(w.default,null):this.compareModeAvailable()&&o?this.renderCompareMode():n?this.renderVersionDetail():this.renderVersionList()}}]),t}(c.Component);k.propTypes={contextKey:N.default.string,limit:N.default.number,ListComponent:N.default.oneOfType([N.default.node,N.default.func]).isRequired,offset:N.default.number,recordId:N.default.number.isRequired,recordClass:N.default.string.isRequired,typeName:N.default.string.isRequired,currentVersion:N.default.oneOfType([N.default.bool,x.versionType]),compare:E.compareType,isInGridField:N.default.bool,isPreviewable:N.default.bool,VersionDetailComponent:N.default.oneOfType([N.default.node,N.default.func]).isRequired,CompareWarningComponent:N.default.oneOfType([N.default.node,N.default.func]).isRequired,versions:N.default.shape({Versions:N.default.shape({pageInfo:N.default.shape({totalCount:N.default.number}),edges:N.default.arrayOf(N.default.shape({node:x.versionType}))})}),page:N.default.number,schemaUrl:N.default.string,previewState:N.default.oneOf(["edit","preview","split"]),actions:N.default.object,onSelect:N.default.func,onSetPage:N.default.func,onResize:N.default.func},k.defaultProps={compare:{},contextKey:"",currentVersion:!1,isInGridField:!1,isPreviewable:!1,typeName:"",schemaUrl:"",versions:{Versions:{pageInfo:{totalCount:0},edges:[]}}},t.Component=k,t.default=(0,h.compose)((0,m.connect)(i,l),v.default,(0,b.inject)(["SnapshotHistoryViewerVersionList","SnapshotHistoryViewerVersionDetail","SnapshotHistoryViewerCompareWarning"],function(e,t,o){return{ListComponent:e,VersionDetailComponent:t,CompareWarningComponent:o}},function(e){return"VersionedAdmin.HistoryViewer."+e.contextKey}))(k)},'./node_modules/babel-loader/lib/index.js?{"presets":[["env",{"modules":false}],"react"],"plugins":["transform-object-rest-spread"],"comments":false,"cacheDirectory":true}!./client/src/types/versionType.js':function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultVersion=t.versionType=void 0;var n=o(1),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r=s.default.shape({FirstName:s.default.string,Surname:s.default.string}),a=s.default.shape({Version:s.default.number,AbsoluteLink:s.default.string,LastEdited:s.default.string,Published:s.default.boolean,LiveVersion:s.default.boolean,LatestDraftVersion:s.default.boolean,Message:s.default.string,Publisher:r,Author:r}),i={Version:0,AbsoluteLink:"",LastEdited:"",Published:!1,LiveVersion:!1,LatestDraftVersion:!1,Message:"",Publisher:{FirstName:"",Surname:""},Author:{FirstName:"",Surname:""}};t.versionType=a,t.defaultVersion=i},"./node_modules/create-react-class/factory.js":function(e,t,o){"use strict";function n(e){return e}function s(e,t,o){function s(e,t,o){for(var n in t)t.hasOwnProperty(n)&&u("function"==typeof t[n],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactClass",r[o],n)}function c(e,t){var o=b.hasOwnProperty(t)?b[t]:null;E.hasOwnProperty(t)&&l("OVERRIDE_BASE"===o,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&l("DEFINE_MANY"===o||"DEFINE_MANY_MERGED"===o,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function p(e,o){if(!o){var n=typeof o;return void u("object"===n&&null!==o,"%s: You're attempting to include a mixin that is either null or not an object. Check the mixins included by the component, as well as any mixins they include themselves. Expected object but got %s.",e.displayName||"ReactClass",null===o?null:n)}l("function"!=typeof o,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),l(!t(o),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var s=e.prototype,r=s.__reactAutoBindPairs;o.hasOwnProperty(d)&&w.mixins(e,o.mixins);for(var a in o)if(o.hasOwnProperty(a)&&a!==d){var i=o[a],p=s.hasOwnProperty(a);if(c(p,a),w.hasOwnProperty(a))w[a](e,i);else{var h=b.hasOwnProperty(a),m="function"==typeof i,g=m&&!h&&!p&&!1!==o.autobind;if(g)r.push(a,i),s[a]=i;else if(p){var v=b[a];l(h&&("DEFINE_MANY_MERGED"===v||"DEFINE_MANY"===v),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",v,a),"DEFINE_MANY_MERGED"===v?s[a]=f(s[a],i):"DEFINE_MANY"===v&&(s[a]=_(s[a],i))}else s[a]=i,"function"==typeof i&&o.displayName&&(s[a].displayName=o.displayName+"_"+a)}}}function h(e,t){if(t)for(var o in t){var n=t[o];if(t.hasOwnProperty(o)){var s=o in w;l(!s,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',o);var r=o in e;if(r){var a=C.hasOwnProperty(o)?C[o]:null;return l("DEFINE_MANY_MERGED"===a,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",o),void(e[o]=f(e[o],n))}e[o]=n}}}function m(e,t){l(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var o in t)t.hasOwnProperty(o)&&(l(void 0===e[o],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",o),e[o]=t[o]);return e}function f(e,t){return function(){var o=e.apply(this,arguments),n=t.apply(this,arguments);if(null==o)return n;if(null==n)return o;var s={};return m(s,o),m(s,n),s}}function _(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function g(e,t){var o=t.bind(e);o.__reactBoundContext=e,o.__reactBoundMethod=t,o.__reactBoundArguments=null;var n=e.constructor.displayName,s=o.bind;return o.bind=function(r){for(var a=arguments.length,i=Array(a>1?a-1:0),l=1;l1?t-1:0),n=1;n2?o-2:0),s=2;s0}},{key:"getMetadataColumnProperty",value:function(e,t,o){var n=this.getColumnMetadataByName(e);return void 0===n||null===n?o:n.hasOwnProperty(t)?n[t]:o}},{key:"orderColumns",value:function(e){var t=this;return l(e,function(e){var o=i(t.columnMetadata,{columnName:e});return void 0===o||null===o||isNaN(o.order)?100:o.order})}},{key:"getColumns",value:function(){var e=0===this.filteredColumns.length?this.allColumns:this.filteredColumns;return e=u(e,this.metadataColumns),e=this.orderColumns(e)}}]),e}();e.exports=d},"./node_modules/griddle-react/modules/customFilterContainer.jsx.js":function(e,t,o){"use strict";var n=o(0),s=o("./node_modules/create-react-class/index.js"),r=s({getDefaultProps:function(){return{placeholderText:""}},render:function(){var e=this;return"function"!=typeof e.props.customFilterComponent?(console.log("Couldn't find valid template."),n.createElement("div",null)):n.createElement(e.props.customFilterComponent,{changeFilter:this.props.changeFilter,results:this.props.results,currentResults:this.props.currentResults,placeholderText:this.props.placeholderText})}});e.exports=r},"./node_modules/griddle-react/modules/customPaginationContainer.jsx.js":function(e,t,o){"use strict";var n=Object.assign||function(e){for(var t=1;t0&&(e=n.createElement("button",{type:"button",onClick:this.props.previous,style:this.props.useGriddleStyles?{color:"#222",border:"none",background:"none",margin:"0 0 0 10px"}:null},this.props.previousIconComponent,this.props.previousText)),this.props.currentPage!==this.props.maxPage-1&&(t=n.createElement("button",{type:"button",onClick:this.props.next,style:this.props.useGriddleStyles?{color:"#222",border:"none",background:"none",margin:"0 10px 0 0"}:null},this.props.nextText,this.props.nextIconComponent));var o=null,s=null,a=null;if(!0===this.props.useGriddleStyles){var i={float:"left",minHeight:"1px",marginTop:"5px"};a=r({textAlign:"right",width:"34%"},i),s=r({textAlign:"center",width:"33%"},i),o=r({width:"33%"},i)}for(var l=[],u=1;u<=this.props.maxPage;u++)l.push(n.createElement("option",{value:u,key:u},u));return n.createElement("div",{style:this.props.useGriddleStyles?{minHeight:"35px"}:null},n.createElement("div",{className:this.props.previousClassName,style:o},e),n.createElement("div",{className:"griddle-page",style:s},n.createElement("select",{value:this.props.currentPage+1,onChange:this.pageChange},l)," / ",this.props.maxPage),n.createElement("div",{className:this.props.nextClassName,style:a},t))}});e.exports=a},"./node_modules/griddle-react/modules/gridRow.jsx.js":function(e,t,o){"use strict";var n=o(0),s=o("./node_modules/create-react-class/index.js"),r=(o("./node_modules/griddle-react/modules/columnProperties.js"),o("./node_modules/griddle-react/modules/deep.js")),a=o("./node_modules/lodash/isFunction.js"),i=o("./node_modules/lodash/zipObject.js"),l=o("./node_modules/lodash/assign.js"),u=o("./node_modules/lodash/defaults.js"),d=o("./node_modules/lodash/toPairs.js"),c=o("./node_modules/lodash/without.js"),p=s({getDefaultProps:function(){return{isChildRow:!1,showChildren:!1,data:{},columnSettings:null,rowSettings:null,hasChildren:!1,useGriddleStyles:!0,useGriddleIcons:!0,isSubGriddle:!1,paddingHeight:null,rowHeight:null,parentRowCollapsedClassName:"parent-row",parentRowExpandedClassName:"parent-row expanded",parentRowCollapsedComponent:"â–¶",parentRowExpandedComponent:"â–¼",onRowClick:null,multipleSelectionSettings:null,onRowMouseEnter:null,onRowMouseLeave:null,onRowWillMount:null,onRowWillUnmount:null}},componentWillMount:function(){null!==this.props.onRowWillMount&&a(this.props.onRowWillMount)&&this.props.onRowWillMount(this)},componentWillUnmount:function(){null!==this.props.onRowWillUnmount&&a(this.props.onRowWillUnmount)&&this.props.onRowWillUnmount(this)},handleClick:function(e){null!==this.props.onRowClick&&a(this.props.onRowClick)?this.props.onRowClick(this,e):this.props.hasChildren&&this.props.toggleChildren()},handleMouseEnter:function(e){null!==this.props.onRowMouseEnter&&a(this.props.onRowMouseEnter)&&this.props.onRowMouseEnter(this,e)},handleMouseLeave:function(e){null!==this.props.onRowMouseLeave&&a(this.props.onRowMouseLeave)&&this.props.onRowMouseLeave(this,e)},handleSelectionChange:function(e){},handleSelectClick:function(e){this.props.multipleSelectionSettings.isMultipleSelection&&("checkbox"===e.target.type?this.props.multipleSelectionSettings.toggleSelectRow(this.props.data,this.refs.selected.checked):this.props.multipleSelectionSettings.toggleSelectRow(this.props.data,!this.refs.selected.checked))},verifyProps:function(){null===this.props.columnSettings&&console.error("gridRow: The columnSettings prop is null and it shouldn't be")},formatData:function(e){return"boolean"==typeof e?String(e):e},render:function(){var e=this;this.verifyProps();var t=this,o=null;this.props.useGriddleStyles&&(o={margin:"0px",padding:t.props.paddingHeight+"px 5px "+t.props.paddingHeight+"px 5px",height:t.props.rowHeight?this.props.rowHeight-2*t.props.paddingHeight+"px":null,backgroundColor:"#FFF",borderTopColor:"#DDD",color:"#222"});var s=this.props.columnSettings.getColumns(),p=i(s,[]),h=l({},this.props.data);u(h,p);var m,f,_=d(r.pick(h,c(s,"children"))),g=_.map(function(t,s){var r=null,a=e.props.columnSettings.getColumnMetadataByName(t[0]),i=0===s&&e.props.hasChildren&&!1===e.props.showChildren&&e.props.useGriddleIcons?n.createElement("span",{style:e.props.useGriddleStyles?{fontSize:"10px",marginRight:"5px"}:null},e.props.parentRowCollapsedComponent):0===s&&e.props.hasChildren&&e.props.showChildren&&e.props.useGriddleIcons?n.createElement("span",{style:e.props.useGriddleStyles?{fontSize:"10px"}:null},e.props.parentRowExpandedComponent):"";if(0===s&&e.props.isChildRow&&e.props.useGriddleStyles&&(o=l(o,{paddingLeft:10})),e.props.columnSettings.hasColumnMetadata()&&void 0!==a&&null!==a)if(void 0!==a.customComponent&&null!==a.customComponent){var u=n.createElement(a.customComponent,{data:t[1],rowData:h,metadata:a});r=n.createElement("td",{onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,onMouseLeave:e.handleMouseLeave,className:a.cssClassName,key:s,style:o},u)}else r=n.createElement("td",{onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,onMouseLeave:e.handleMouseLeave,className:a.cssClassName,key:s,style:o},i,e.formatData(t[1]));return r||n.createElement("td",{onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,onMouseLeave:e.handleMouseLeave,key:s,style:o},i,t[1])});if(null!==this.props.onRowClick&&a(this.props.onRowClick)?(m=null,f=this.handleSelectClick):this.props.multipleSelectionSettings&&this.props.multipleSelectionSettings.isMultipleSelection?(m=this.handleSelectClick,f=null):(m=null,f=null),g&&this.props.multipleSelectionSettings&&this.props.multipleSelectionSettings.isMultipleSelection){this.props.multipleSelectionSettings.getSelectedRowIds();g.unshift(n.createElement("td",{key:"selection",style:o,className:"griddle-select griddle-select-cell",onClick:f},n.createElement("input",{type:"checkbox",checked:this.props.multipleSelectionSettings.getIsRowChecked(h),onChange:this.handleSelectionChange,ref:"selected"})))}var v=t.props.rowSettings&&t.props.rowSettings.getBodyRowMetadataClass(t.props.data)||"standard-row";return t.props.isChildRow?v="child-row":t.props.hasChildren&&(v=t.props.showChildren?this.props.parentRowExpandedClassName:this.props.parentRowCollapsedClassName),n.createElement("tr",{onClick:m,className:v},g)}});e.exports=p},"./node_modules/griddle-react/modules/gridRowContainer.jsx.js":function(e,t,o){"use strict";var n=o(0),s=o("./node_modules/create-react-class/index.js"),r=(o("./node_modules/griddle-react/modules/columnProperties.js"),o("./node_modules/lodash/pick.js")),a=s({getDefaultProps:function(){return{useGriddleStyles:!0,useGriddleIcons:!0,isSubGriddle:!1,columnSettings:null,rowSettings:null,paddingHeight:null,rowHeight:null,parentRowCollapsedClassName:"parent-row",parentRowExpandedClassName:"parent-row expanded",parentRowCollapsedComponent:"â–¶",parentRowExpandedComponent:"â–¼",onRowClick:null,onRowMouseEnter:null,onRowMouseLeave:null,onRowWillMount:null,onRowWillUnmount:null,multipleSelectionSettings:null}},getInitialState:function(){return{data:{},showChildren:!1}},componentWillReceiveProps:function(){this.setShowChildren(!1)},toggleChildren:function(){this.setShowChildren(!1===this.state.showChildren)},setShowChildren:function(e){this.setState({showChildren:e})},verifyProps:function(){null===this.props.columnSettings&&console.error("gridRowContainer: The columnSettings prop is null and it shouldn't be")},render:function(){this.verifyProps();var e=this;if(void 0===this.props.data)return n.createElement("tbody",null);var t=[],o=this.props.columnSettings.getColumns();t.push(n.createElement(this.props.rowSettings.rowComponent,{useGriddleStyles:this.props.useGriddleStyles,isSubGriddle:this.props.isSubGriddle,data:this.props.rowSettings.isCustom?r(this.props.data,o):this.props.data,rowData:this.props.rowSettings.isCustom?this.props.data:null,columnSettings:this.props.columnSettings,rowSettings:this.props.rowSettings,hasChildren:e.props.hasChildren,toggleChildren:e.toggleChildren,showChildren:e.state.showChildren,key:e.props.uniqueId+"_base_row",useGriddleIcons:e.props.useGriddleIcons,parentRowExpandedClassName:this.props.parentRowExpandedClassName,parentRowCollapsedClassName:this.props.parentRowCollapsedClassName,parentRowExpandedComponent:this.props.parentRowExpandedComponent,parentRowCollapsedComponent:this.props.parentRowCollapsedComponent,paddingHeight:e.props.paddingHeight,rowHeight:e.props.rowHeight,onRowClick:e.props.onRowClick,onRowMouseEnter:e.props.onRowMouseEnter,onRowMouseLeave:e.props.onRowMouseLeave,multipleSelectionSettings:this.props.multipleSelectionSettings,onRowWillMount:e.props.onRowWillMount,onRowWillUnmount:e.props.onRowWillUnmount}));var s=null;return e.state.showChildren&&(s=e.props.hasChildren&&this.props.data.children.map(function(t,o){var s=e.props.rowSettings.getRowKey(t,o);if(void 0!==t.children){var r=e.constructor.Griddle;return n.createElement("tr",{key:s,style:{paddingLeft:5}},n.createElement("td",{colSpan:e.props.columnSettings.getVisibleColumnCount(),className:"griddle-parent",style:e.props.useGriddleStyles?{border:"none",padding:"0 0 0 5px"}:null},n.createElement(r,{rowMetadata:{key:"id"},isSubGriddle:!0,results:[t],columns:e.props.columnSettings.getColumns(),tableClassName:e.props.tableClassName,parentRowExpandedClassName:e.props.parentRowExpandedClassName,parentRowCollapsedClassName:e.props.parentRowCollapsedClassName,showTableHeading:!1,showPager:!1,columnMetadata:e.props.columnSettings.columnMetadata,parentRowExpandedComponent:e.props.parentRowExpandedComponent,parentRowCollapsedComponent:e.props.parentRowCollapsedComponent,paddingHeight:e.props.paddingHeight,rowHeight:e.props.rowHeight})))}return n.createElement(e.props.rowSettings.rowComponent,{useGriddleStyles:e.props.useGriddleStyles,isSubGriddle:e.props.isSubGriddle,data:t,columnSettings:e.props.columnSettings,isChildRow:!0,columnMetadata:e.props.columnSettings.columnMetadata,key:s})})),!1===e.props.hasChildren?t[0]:n.createElement("tbody",null,e.state.showChildren?t.concat(s):t)}});e.exports=a},"./node_modules/griddle-react/modules/gridSettings.jsx.js":function(e,t,o){"use strict";var n=o(0),s=o("./node_modules/create-react-class/index.js"),r=o("./node_modules/lodash/includes.js"),a=o("./node_modules/lodash/without.js"),i=o("./node_modules/lodash/find.js"),l=s({getDefaultProps:function(){return{columns:[],columnMetadata:[],selectedColumns:[],settingsText:"",maxRowsText:"",resultsPerPage:0,enableToggleCustom:!1,useCustomComponent:!1,useGriddleStyles:!0,toggleCustomComponent:function(){}}},setPageSize:function(e){var t=parseInt(e.target.value,10);this.props.setPageSize(t)},handleChange:function(e){var t=e.target.dataset?e.target.dataset.name:e.target.getAttribute("data-name");!0===e.target.checked&&!1===r(this.props.selectedColumns,t)?(this.props.selectedColumns.push(t),this.props.setColumns(this.props.selectedColumns)):this.props.setColumns(a(this.props.selectedColumns,t))},render:function(){var e=this,t=[];!1===e.props.useCustomComponent&&(t=this.props.columns.map(function(t,o){var s=r(e.props.selectedColumns,t),a=i(e.props.columnMetadata,{columnName:t}),l=t;return void 0!==a&&void 0!==a.displayName&&null!=a.displayName&&(l=a.displayName),void 0!==a&&null!=a&&a.locked?n.createElement("div",{className:"column checkbox"},n.createElement("label",null,n.createElement("input",{type:"checkbox",disabled:!0,name:"check",checked:s,"data-name":t}),l)):void 0!==a&&null!=a&&void 0!==a.visible&&!1===a.visible?null:n.createElement("div",{className:"griddle-column-selection checkbox",key:t,style:e.props.useGriddleStyles?{float:"left",width:"20%"}:null},n.createElement("label",null,n.createElement("input",{type:"checkbox",name:"check",onChange:e.handleChange,checked:s,"data-name":t}),l))}));var o=e.props.enableToggleCustom?n.createElement("div",{className:"form-group"},n.createElement("label",{htmlFor:"maxRows"},n.createElement("input",{type:"checkbox",checked:this.props.useCustomComponent,onChange:this.props.toggleCustomComponent})," ",this.props.enableCustomFormatText)):"",s=this.props.showSetPageSize?n.createElement("div",null,n.createElement("label",{htmlFor:"maxRows"},this.props.maxRowsText,":",n.createElement("select",{onChange:this.setPageSize,value:this.props.resultsPerPage},n.createElement("option",{value:"5"},"5"),n.createElement("option",{value:"10"},"10"),n.createElement("option",{value:"25"},"25"),n.createElement("option",{value:"50"},"50"),n.createElement("option",{value:"100"},"100")))):"";return n.createElement("div",{className:"griddle-settings",style:this.props.useGriddleStyles?{backgroundColor:"#FFF",border:"1px solid #DDD",color:"#222",padding:"10px",marginBottom:"10px"}:null},n.createElement("h6",null,this.props.settingsText),n.createElement("div",{className:"griddle-columns",style:this.props.useGriddleStyles?{clear:"both",display:"table",width:"100%",borderBottom:"1px solid #EDEDED",marginBottom:"10px"}:null},t),s,o)}});e.exports=l},"./node_modules/griddle-react/modules/gridTable.jsx.js":function(e,t,o){"use strict";var n=o(0),s=o("./node_modules/create-react-class/index.js"),r=o("./node_modules/griddle-react/modules/gridTitle.jsx.js"),a=o("./node_modules/griddle-react/modules/gridRowContainer.jsx.js"),i=(o("./node_modules/griddle-react/modules/columnProperties.js"),o("./node_modules/griddle-react/modules/rowProperties.js"),s({getDefaultProps:function(){return{data:[],columnSettings:null,rowSettings:null,sortSettings:null,multipleSelectionSettings:null,className:"",enableInfiniteScroll:!1,nextPage:null,hasMorePages:!1,useFixedHeader:!1,useFixedLayout:!0,paddingHeight:null,rowHeight:null,filterByColumn:null,infiniteScrollLoadTreshold:null,bodyHeight:null,useGriddleStyles:!0,useGriddleIcons:!0,isSubGriddle:!1,parentRowCollapsedClassName:"parent-row",parentRowExpandedClassName:"parent-row expanded",parentRowCollapsedComponent:"â–¶",parentRowExpandedComponent:"â–¼",externalLoadingComponent:null,externalIsLoading:!1,onRowClick:null,onRowMouseEnter:null,onRowMouseLeave:null,onRowWillMount:null,onRowWillUnmount:null}},getInitialState:function(){return{scrollTop:0,scrollHeight:this.props.bodyHeight,clientHeight:this.props.bodyHeight}},componentDidMount:function(){this.gridScroll()},componentDidUpdate:function(e,t){this.gridScroll()},gridScroll:function(){if(this.props.enableInfiniteScroll&&!this.props.externalIsLoading){var e=this.refs.scrollable,t=e.scrollTop,o=e.scrollHeight,n=e.clientHeight;if(null!==this.props.rowHeight&&this.state.scrollTop!==t&&Math.abs(this.state.scrollTop-t)>=this.getAdjustedRowHeight()){var s={scrollTop:t,scrollHeight:o,clientHeight:n};this.setState(s)}.6*(o-(t+n)-this.props.infiniteScrollLoadTreshold)<=this.props.infiniteScrollLoadTreshold&&this.props.nextPage()}},verifyProps:function(){null===this.props.columnSettings&&console.error("gridTable: The columnSettings prop is null and it shouldn't be"),null===this.props.rowSettings&&console.error("gridTable: The rowSettings prop is null and it shouldn't be")},getAdjustedRowHeight:function(){return this.props.rowHeight+2*this.props.paddingHeight},getNodeContent:function(){this.verifyProps();var e=this,t=!1;if(!this.props.externalIsLoading||this.props.enableInfiniteScroll){var o=e.props.data,s=null,r=null;if(this.props.enableInfiniteScroll&&null!==this.props.rowHeight&&void 0!==this.refs.scrollable){var i=e.getAdjustedRowHeight(),l=Math.ceil(e.state.clientHeight/i),u=Math.max(0,Math.floor(e.state.scrollTop/i)-.25*l),d=Math.min(u+1.25*l,this.props.data.length-1);o=o.slice(u,d+1);var c={height:u*i+"px"};s=n.createElement("tr",{key:"above-"+c.height,style:c});var p={height:(this.props.data.length-d)*i+"px"};r=n.createElement("tr",{key:"below-"+p.height,style:p})}var h=o.map(function(o,s){var r=void 0!==o.children&&o.children.length>0,i=e.props.rowSettings.getRowKey(o,s);return r&&(t=r),n.createElement(a,{useGriddleStyles:e.props.useGriddleStyles,isSubGriddle:e.props.isSubGriddle,parentRowExpandedClassName:e.props.parentRowExpandedClassName,parentRowCollapsedClassName:e.props.parentRowCollapsedClassName,parentRowExpandedComponent:e.props.parentRowExpandedComponent,parentRowCollapsedComponent:e.props.parentRowCollapsedComponent,data:o,key:i+"-container",uniqueId:i,columnSettings:e.props.columnSettings,rowSettings:e.props.rowSettings,paddingHeight:e.props.paddingHeight,multipleSelectionSettings:e.props.multipleSelectionSettings,rowHeight:e.props.rowHeight,hasChildren:r,tableClassName:e.props.className,onRowClick:e.props.onRowClick,onRowMouseEnter:e.props.onRowMouseEnter,onRowMouseLeave:e.props.onRowMouseLeave,onRowWillMount:e.props.onRowWillMount,onRowWillUnmount:e.props.onRowWillUnmount})});if(this.props.showNoData){var m=this.props.columnSettings.getVisibleColumnCount();h.push(n.createElement("tr",{key:"no-data-section"},n.createElement("td",{colSpan:m},this.props.noDataSection)))}return s&&h.unshift(s),r&&h.push(r),{nodes:h,anyHasChildren:t}}return null},render:function(){var e=[],t=!1,o=this.getNodeContent();o&&(e=o.nodes,t=o.anyHasChildren);var s=null,a=null,i={width:"100%"};if(this.props.useFixedLayout&&(i.tableLayout="fixed"),this.props.enableInfiniteScroll&&(s={position:"relative",overflowY:"scroll",height:this.props.bodyHeight+"px",width:"100%"}),this.props.externalIsLoading){var l=null,u=null;this.props.useGriddleStyles&&(l={textAlign:"center",paddingBottom:"40px"}),u=this.props.columnSettings.getVisibleColumnCount();var d=this.props.externalLoadingComponent?n.createElement(this.props.externalLoadingComponent,null):n.createElement("div",null,"Loading...");a=n.createElement("tbody",null,n.createElement("tr",null,n.createElement("td",{style:l,colSpan:u},d)))}var c=this.props.showTableHeading?n.createElement(r,{useGriddleStyles:this.props.useGriddleStyles,useGriddleIcons:this.props.useGriddleIcons,sortSettings:this.props.sortSettings,multipleSelectionSettings:this.props.multipleSelectionSettings,columnSettings:this.props.columnSettings,filterByColumn:this.props.filterByColumn,rowSettings:this.props.rowSettings}):void 0;t||(e=n.createElement("tbody",null,e));var p=n.createElement("tbody",null);if(this.props.showPager){var h=this.props.useGriddleStyles?{padding:"0px",backgroundColor:"#EDEDED",border:"0px",color:"#222",height:this.props.showNoData?"20px":null}:null;p=n.createElement("tbody",null,n.createElement("tr",null,n.createElement("td",{colSpan:this.props.multipleSelectionSettings.isMultipleSelection?this.props.columnSettings.getVisibleColumnCount()+1:this.props.columnSettings.getVisibleColumnCount(),style:h,className:"footer-container"},this.props.showNoData?null:this.props.pagingContent)))}return this.props.useFixedHeader?(this.props.useGriddleStyles&&(i.tableLayout="fixed"),n.createElement("div",null,n.createElement("table",{className:this.props.className,style:this.props.useGriddleStyles&&i||null},c),n.createElement("div",{ref:"scrollable",onScroll:this.gridScroll,style:s},n.createElement("table",{className:this.props.className,style:this.props.useGriddleStyles&&i||null},e,a,p)))):n.createElement("div",{ref:"scrollable",onScroll:this.gridScroll,style:s},n.createElement("table",{className:this.props.className,style:this.props.useGriddleStyles&&i||null},c,e,a,p))}}));e.exports=i},"./node_modules/griddle-react/modules/gridTitle.jsx.js":function(e,t,o){"use strict";var n=Object.assign||function(e){for(var t=1;t=0)return!0}return!1})},defaultColumnFilter:function(e,t,o){var n=V(P(o)?o:[o],function(e){return(e||"").toLowerCase()});return D(y.getObjectValues(t),function(e){return e=e.toString().toLowerCase(),D(n,function(t){return e.indexOf(t)>=0})})},filterByColumnFilters:function(e){var t=this.props.columnFilterFunc||this.defaultColumnFilter,o=Object.keys(e).reduce(function(o,n){return N(o,function(o){var s=y.getAt(o,n||""),r=e[n];return t(n||"",s,r)})},this.props.results),n={columnFilters:e};e?(n.filteredResults=o,n.maxPage=this.getMaxPage(n.filteredResults)):this.state.filter?n.filteredResults=this.props.useCustomFilterer?this.props.customFilterer(this.props.results,filter):this.defaultFilter(this.props.results,filter):n.filteredResults=null,this.setState(n)},filterByColumn:function(e,t){var o=this.state.columnFilters;if(o.hasOwnProperty(t)&&!e)o=A(o,t);else{var n={};n[t]=e,o=T({},o,n)}this.filterByColumnFilters(o)},setFilter:function(e){var t=arguments.length<=1||void 0===arguments[1]?null:arguments[1];if(this.props.useExternal)return void this.props.externalSetFilter(e);var o=this,n={page:0,filter:e};n.filteredResults=this.props.useCustomFilterer?this.props.customFilterer(t||this.props.results,e):this.defaultFilter(t||this.props.results,e),n.maxPage=o.getMaxPage(n.filteredResults),(M(e)||R(e)||O(e))&&(n.filter=e,n.filteredResults=null),o.setState(n),this._resetSelectedRows()},setPageSize:function(e){if(this.props.useExternal)return this.setState({resultsPerPage:e}),void this.props.externalSetPageSize(e);this.state.resultsPerPage=e,this.setMaxPage()},toggleColumnChooser:function(){this.setState({showColumnChooser:!this.state.showColumnChooser})},isNullOrUndefined:function(e){return void 0===e||null===e},shouldUseCustomRowComponent:function(){return this.isNullOrUndefined(this.state.useCustomRowComponent)?this.props.useCustomRowComponent:this.state.useCustomRowComponent},shouldUseCustomGridComponent:function(){return this.isNullOrUndefined(this.state.useCustomGridComponent)?this.props.useCustomGridComponent:this.state.useCustomGridComponent},toggleCustomComponent:function(){"grid"===this.state.customComponentType?this.setState({useCustomGridComponent:!this.shouldUseCustomGridComponent()}):"row"===this.state.customComponentType&&this.setState({useCustomRowComponent:!this.shouldUseCustomRowComponent()})},getMaxPage:function(e,t){return this.props.useExternal?this.props.externalMaxPage:(t||(t=(e||this.getCurrentResults()).length),Math.ceil(t/this.state.resultsPerPage))},setMaxPage:function(e){var t=this.getMaxPage(e);this.state.maxPage!==t&&this.setState({page:0,maxPage:t,filteredColumns:this.columnSettings.filteredColumns})},setPage:function(e){if(this.props.useExternal)return void this.props.externalSetPage(e);if(e*this.state.resultsPerPage<=this.state.resultsPerPage*this.state.maxPage){var t=this,o={page:e};t.setState(o)}this.props.enableInfiniteScroll&&this.setState({isSelectAllChecked:!1})},setColumns:function(e){this.columnSettings.filteredColumns=P(e)?e:[e],this.setState({filteredColumns:this.columnSettings.filteredColumns})},nextPage:function(){var e=this.getCurrentPage();e0&&this.setPage(e-1)},changeSort:function(e){if(!1!==this.props.enableSort){if(this.props.useExternal){var t=this.props.externalSortColumn!==e||!this.props.externalSortAscending;return this.setState({sortColumn:e,sortDirection:t?"asc":"desc"}),void this.props.externalChangeSort(e,t)}var o=C(this.props.columnMetadata,{columnName:e})||{},n=o.sortDirectionCycle?o.sortDirectionCycle:[null,"asc","desc"],s=null,r=n.indexOf(this.state.sortDirection&&e===this.state.sortColumn?this.state.sortDirection:null);r=(r+1)%n.length,s=n[r]?n[r]:null;var a={page:0,sortColumn:e,sortDirection:s};this.setState(a)}},componentWillReceiveProps:function(e){if(e.results!==this.props.results&&this.setFilter(this.state.filter,e.results),this.setMaxPage(e.results),e.resultsPerPage!==this.props.resultsPerPage&&this.setPageSize(e.resultsPerPage),this.columnSettings.columnMetadata=e.columnMetadata,e.results.length>0){var t=y.keys(e.results[0]);this.columnSettings.allColumns.length==t.length&&this.columnSettings.allColumns.every(function(e,o){return e===t[o]})||(this.columnSettings.allColumns=t)}else this.columnSettings.allColumns.length>0&&(this.columnSettings.allColumns=[]);if(e.selectedRowIds){var o=this.getDataForRender(this.getCurrentResults(e.results),this.columnSettings.getColumns(),!0);this.setState({isSelectAllChecked:this._getAreAllRowsChecked(e.selectedRowIds,V(o,this.props.uniqueIdentifier)),selectedRowIds:e.selectedRowIds})}},getInitialState:function(){return{maxPage:0,page:0,filteredResults:null,filteredColumns:[],filter:"",columnFilters:{},resultsPerPage:this.props.resultsPerPage||5,showColumnChooser:!1,isSelectAllChecked:!1,selectedRowIds:this.props.selectedRowIds}},componentWillMount:function(){this.verifyExternal(),this.verifyCustom(),this.columnSettings=new g(this.props.results.length>0?y.keys(this.props.results[0]):[],this.props.columns,this.props.childrenColumnName,this.props.columnMetadata,this.props.metadataColumns),this.rowSettings=new v(this.props.rowMetadata,this.props.useCustomTableRowComponent&&this.props.customTableRowComponent?this.props.customTableRowComponent:p,this.props.useCustomTableRowComponent),this.props.initialSort&&(this.props.useExternal?this.setState({sortColumn:this.props.externalSortColumn,sortDirection:this.props.externalSortAscending?"asc":"desc"}):this.changeSort(this.props.initialSort)),this.setMaxPage(),this.shouldUseCustomGridComponent()?this.setState({customComponentType:"grid"}):this.shouldUseCustomRowComponent()?this.setState({customComponentType:"row"}):this.setState({filteredColumns:this.columnSettings.filteredColumns})},componentDidMount:function(){if(this.props.componentDidMount&&"function"==typeof this.props.componentDidMount)return this.props.componentDidMount()},componentDidUpdate:function(){if(this.props.componentDidUpdate&&"function"==typeof this.props.componentDidUpdate)return this.props.componentDidUpdate(this.state)},verifyExternal:function(){!0===this.props.useExternal&&(null===this.props.externalSetPage&&console.error("useExternal is set to true but there is no externalSetPage function specified."),null===this.props.externalChangeSort&&console.error("useExternal is set to true but there is no externalChangeSort function specified."),null===this.props.externalSetFilter&&console.error("useExternal is set to true but there is no externalSetFilter function specified."),null===this.props.externalSetPageSize&&console.error("useExternal is set to true but there is no externalSetPageSize function specified."),null===this.props.externalMaxPage&&console.error("useExternal is set to true but externalMaxPage is not set."),null===this.props.externalCurrentPage&&console.error("useExternal is set to true but externalCurrentPage is not set. Griddle will not page correctly without that property when using external data."))},verifyCustom:function(){!0===this.props.useCustomGridComponent&&null===this.props.customGridComponent&&console.error("useCustomGridComponent is set to true but no custom component was specified."),!0===this.props.useCustomRowComponent&&null===this.props.customRowComponent&&console.error("useCustomRowComponent is set to true but no custom component was specified."),!0===this.props.useCustomGridComponent&&!0===this.props.useCustomRowComponent&&console.error("Cannot currently use both customGridComponent and customRowComponent."),!0===this.props.useCustomFilterer&&null===this.props.customFilterer&&console.error("useCustomFilterer is set to true but no custom filter function was specified."),!0===this.props.useCustomFilterComponent&&null===this.props.customFilterComponent&&console.error("useCustomFilterComponent is set to true but no customFilterComponent was specified.")},getDataForRender:function(e,t,o){var n=this,s=this;if(!this.props.useExternal){if(""!==this.state.sortColumn){var r,a=this.state.sortColumn,i=N(this.props.columnMetadata,{columnName:a}),l={columns:[],orders:[]};if(i.length>0&&(r=i[0].hasOwnProperty("customCompareFn")&&i[0].customCompareFn,i[0].multiSort&&(l=i[0].multiSort)),this.state.sortDirection)if("function"==typeof r)2===r.length?(e=e.sort(function(e,t){return r(I(e,a),I(t,a))}),"desc"===this.state.sortDirection&&e.reverse()):1===r.length&&(e=k(e,function(e){return r(I(e,a))},[this.state.sortDirection]));else{var u=[function(e){return(I(e,a)||"").toString().toLowerCase()}],d=[this.state.sortDirection];l.columns.forEach(function(e,t){u.push(function(t){return(I(t,e)||"").toString().toLowerCase()}),"asc"===l.orders[t]||"desc"===l.orders[t]?d.push(l.orders[t]):d.push(n.state.sortDirection)}),e=k(e,u,d)}}var c=this.getCurrentPage();if(!this.props.useExternal&&o&&this.state.resultsPerPage*(c+1)<=this.state.resultsPerPage*this.state.maxPage&&c>=0)if(this.isInfiniteScrollEnabled())e=w(e,(c+1)*this.state.resultsPerPage);else{var p=j(e,c*this.state.resultsPerPage);e=(b||x)(p,p.length-this.state.resultsPerPage)}}for(var h=[],m=0;m0&&(f.children=s.getDataForRender(f[s.props.childrenColumnName],t,!1),"children"!==s.props.childrenColumnName&&delete f[s.props.childrenColumnName]),h.push(f)}return h},getCurrentResults:function(e){return this.state.filteredResults||e||this.props.results},getCurrentPage:function(){return this.props.externalCurrentPage||this.state.page},getCurrentSort:function(){return this.props.useExternal?this.props.externalSortColumn:this.state.sortColumn},getCurrentSortAscending:function(){return this.props.useExternal?this.props.externalSortAscending:"asc"===this.state.sortDirection},getCurrentMaxPage:function(){return this.props.useExternal?this.props.externalMaxPage:this.state.maxPage},getSortObject:function(){return{enableSort:this.props.enableSort,changeSort:this.changeSort,sortColumn:this.getCurrentSort(),sortAscending:this.getCurrentSortAscending(),sortDirection:this.state.sortDirection,sortAscendingClassName:this.props.sortAscendingClassName,sortDescendingClassName:this.props.sortDescendingClassName,sortAscendingComponent:this.props.sortAscendingComponent,sortDescendingComponent:this.props.sortDescendingComponent,sortDefaultComponent:this.props.sortDefaultComponent}},_toggleSelectAll:function(){var e=this.getDataForRender(this.getCurrentResults(),this.columnSettings.getColumns(),!0),t=!this.state.isSelectAllChecked,o=JSON.parse(JSON.stringify(this.state.selectedRowIds)),n=this;S(e,function(e){n._updateSelectedRowIds(e[n.props.uniqueIdentifier],o,t)},this),this.setState({isSelectAllChecked:t,selectedRowIds:o}),this.props.onSelectionChange&&this.props.onSelectionChange(o,t)},_toggleSelectRow:function(e,t){var o=this.getDataForRender(this.getCurrentResults(),this.columnSettings.getColumns(),!0),n=JSON.parse(JSON.stringify(this.state.selectedRowIds));this._updateSelectedRowIds(e[this.props.uniqueIdentifier],n,t);var s=this._getAreAllRowsChecked(n,V(o,this.props.uniqueIdentifier));this.setState({isSelectAllChecked:s,selectedRowIds:n}),this.props.onSelectionChange&&this.props.onSelectionChange(n,s)},_updateSelectedRowIds:function(e,t,o){o?void 0===C(t,function(t){return e===t})&&t.push(e):t.splice(t.indexOf(e),1)},_getIsSelectAllChecked:function(){return this.state.isSelectAllChecked},_getAreAllRowsChecked:function(e,t){return t.length===E(t,e).length},_getIsRowChecked:function(e){return this.state.selectedRowIds.indexOf(e[this.props.uniqueIdentifier])>-1},getSelectedRowIds:function(){return this.state.selectedRowIds},_resetSelectedRows:function(){this.setState({isSelectAllChecked:!1,selectedRowIds:[]})},getMultipleSelectionObject:function(){return{isMultipleSelection:!C(this.props.results,function(e){return"children"in e})&&this.props.isMultipleSelection,toggleSelectAll:this._toggleSelectAll,getIsSelectAllChecked:this._getIsSelectAllChecked,toggleSelectRow:this._toggleSelectRow,getSelectedRowIds:this.getSelectedRowIds,getIsRowChecked:this._getIsRowChecked}},isInfiniteScrollEnabled:function(){return!this.props.useCustomPagerComponent&&this.props.enableInfiniteScroll},getClearFixStyles:function(){return{clear:"both",display:"table",width:"100%"}},getSettingsStyles:function(){return{float:"left",width:"50%",textAlign:"right"}},getFilterStyles:function(){return{float:"left",width:"50%",textAlign:"left",color:"#222",minHeight:"1px"}},getFilter:function(){return this.props.showFilter&&!1===this.shouldUseCustomGridComponent()?this.props.useCustomFilterComponent?s.createElement(_,{changeFilter:this.setFilter,placeholderText:this.props.filterPlaceholderText,customFilterComponent:this.props.customFilterComponent,results:this.props.results,currentResults:this.getCurrentResults()}):s.createElement(l,{changeFilter:this.setFilter,placeholderText:this.props.filterPlaceholderText}):""},getSettings:function(){return this.props.showSettings?s.createElement("button",{type:"button",className:this.props.settingsToggleClassName,onClick:this.toggleColumnChooser,style:this.props.useGriddleStyles?{background:"none",border:"none",padding:0,margin:0,fontSize:14}:null},this.props.settingsText,this.props.settingsIconComponent):""},getTopSection:function(e,t){if(!1===this.props.showFilter&&!1===this.props.showSettings)return"";var o=null,n=null,r=null;return this.props.useGriddleStyles&&(o=this.getFilterStyles(),n=this.getSettingsStyles(),r=this.getClearFixStyles()),s.createElement("div",{className:"top-section",style:r},s.createElement("div",{className:"griddle-filter",style:o},e),s.createElement("div",{className:"griddle-settings-toggle",style:n},t))},getPagingSection:function(e,t){if(!1!==(this.props.showPager&&!this.isInfiniteScrollEnabled()&&!this.shouldUseCustomGridComponent()))return s.createElement("div",{className:"griddle-footer"},this.props.useCustomPagerComponent?s.createElement(f,{customPagerComponentOptions:this.props.customPagerComponentOptions,next:this.nextPage,previous:this.previousPage,currentPage:e,maxPage:t,setPage:this.setPage,nextText:this.props.nextText,previousText:this.props.previousText,customPagerComponent:this.props.customPagerComponent}):s.createElement(u,{useGriddleStyles:this.props.useGriddleStyles,next:this.nextPage,previous:this.previousPage,nextClassName:this.props.nextClassName,nextIconComponent:this.props.nextIconComponent,previousClassName:this.props.previousClassName,previousIconComponent:this.props.previousIconComponent,currentPage:e,maxPage:t,setPage:this.setPage,nextText:this.props.nextText,previousText:this.props.previousText}))},getColumnSelectorSection:function(e,t){return this.state.showColumnChooser?s.createElement(d,{columns:e,selectedColumns:t,setColumns:this.setColumns,settingsText:this.props.settingsText,settingsIconComponent:this.props.settingsIconComponent,maxRowsText:this.props.maxRowsText,setPageSize:this.setPageSize,showSetPageSize:!this.shouldUseCustomGridComponent(),resultsPerPage:this.state.resultsPerPage,enableToggleCustom:this.props.enableToggleCustom,toggleCustomComponent:this.toggleCustomComponent,useCustomComponent:this.shouldUseCustomRowComponent()||this.shouldUseCustomGridComponent(),useGriddleStyles:this.props.useGriddleStyles,enableCustomFormatText:this.props.enableCustomFormatText,columnMetadata:this.props.columnMetadata}):""},getCustomGridSection:function(){return s.createElement(this.props.customGridComponent,n({data:this.props.results,className:this.props.customGridComponentClassName},this.props.gridMetadata))},getCustomRowSection:function(e,t,o,n,r){return s.createElement("div",null,s.createElement(m,{data:e,columns:t,metadataColumns:o,globalData:r,className:this.props.customRowComponentClassName,customComponent:this.props.customRowComponent,style:this.props.useGriddleStyles?this.getClearFixStyles():null}),this.props.showPager&&n)},getStandardGridSection:function(e,t,o,n,r){var a=this.getSortObject(),l=this.getMultipleSelectionObject(),u=this.shouldShowNoDataSection(e),d=this.getNoDataSection();return s.createElement("div",{className:"griddle-body"},s.createElement(i,{useGriddleStyles:this.props.useGriddleStyles,noDataSection:d,showNoData:u,columnSettings:this.columnSettings,rowSettings:this.rowSettings,sortSettings:a,multipleSelectionSettings:l,filterByColumn:this.filterByColumn,isSubGriddle:this.props.isSubGriddle,useGriddleIcons:this.props.useGriddleIcons,useFixedLayout:this.props.useFixedLayout,showPager:this.props.showPager,pagingContent:n,data:e,className:this.props.tableClassName,enableInfiniteScroll:this.isInfiniteScrollEnabled(),nextPage:this.nextPage,showTableHeading:this.props.showTableHeading,useFixedHeader:this.props.useFixedHeader,parentRowCollapsedClassName:this.props.parentRowCollapsedClassName,parentRowExpandedClassName:this.props.parentRowExpandedClassName,parentRowCollapsedComponent:this.props.parentRowCollapsedComponent,parentRowExpandedComponent:this.props.parentRowExpandedComponent,bodyHeight:this.props.bodyHeight,paddingHeight:this.props.paddingHeight,rowHeight:this.props.rowHeight,infiniteScrollLoadTreshold:this.props.infiniteScrollLoadTreshold,externalLoadingComponent:this.props.externalLoadingComponent,externalIsLoading:this.props.externalIsLoading,hasMorePages:r,onRowClick:this.props.onRowClick,onRowMouseEnter:this.props.onRowMouseEnter,onRowMouseLeave:this.props.onRowMouseLeave,onRowWillMount:this.props.onRowWillMount,onRowWillUnmount:this.props.onRowWillUnmount}))},getContentSection:function(e,t,o,n,s,r){return this.shouldUseCustomGridComponent()&&null!==this.props.customGridComponent?this.getCustomGridSection():this.shouldUseCustomRowComponent()?this.getCustomRowSection(e,t,o,n,r):this.getStandardGridSection(e,t,o,n,s)},getNoDataSection:function(){return null!=this.props.customNoDataComponent?s.createElement("div",{className:this.props.noDataClassName},s.createElement(this.props.customNoDataComponent,this.props.customNoDataComponentProps)):s.createElement(c,{noDataMessage:this.props.noDataMessage})},shouldShowNoDataSection:function(e){return!this.props.allowEmptyGrid&&(!1===this.props.useExternal&&(void 0===e||0===e.length)||!0===this.props.useExternal&&!1===this.props.externalIsLoading&&0===e.length)},render:function(){var e=this.getCurrentResults(),t=(this.props.tableClassName,this.getFilter()),o=this.getSettings(),n=this.getTopSection(t,o),r=[],a=this.columnSettings.getColumns(),i=this.getDataForRender(e,a,!0),l=this.columnSettings.getMetadataColumns();this.props.columnMetadata?S(this.props.columnMetadata,function(e){"boolean"==typeof e.visible&&!1===e.visible||r.push(e.columnName)}):r=y.keys(A(e[0],l)),r=this.columnSettings.orderColumns(r);var u=this.getCurrentPage(),d=this.getCurrentMaxPage(),c=u+10?"griddle "+this.props.gridClassName:"griddle";return f+=this.shouldUseCustomRowComponent()?" griddle-custom":"",s.createElement("div",{className:f},n,m,s.createElement("div",{className:"griddle-container",style:this.props.useGriddleStyles&&!this.props.isSubGriddle?{border:"1px solid #DDD"}:null},h))}});h.Griddle=e.exports=H},"./node_modules/griddle-react/modules/rowProperties.js":function(e,t,o){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=function(){function e(e,t){for(var o=0;o-1}var s=o("./node_modules/lodash/_baseIndexOf.js");e.exports=n},"./node_modules/lodash/_arrayIncludesWith.js":function(e,t){function o(e,t,o){for(var n=-1,s=null==e?0:e.length;++n=d&&(p=u,h=!1,t=new s(t));e:for(;++c0&&o(d)?t>1?n(d,t-1,o,a,i):s(i,d):a||(i[i.length]=d)}return i}var s=o("./node_modules/lodash/_arrayPush.js"),r=o("./node_modules/lodash/_isFlattenable.js");e.exports=n},"./node_modules/lodash/_baseFor.js":function(e,t,o){var n=o("./node_modules/lodash/_createBaseFor.js"),s=n();e.exports=s},"./node_modules/lodash/_baseForOwn.js":function(e,t,o){function n(e,t){return e&&s(e,t,r)}var s=o("./node_modules/lodash/_baseFor.js"),r=o("./node_modules/lodash/keys.js");e.exports=n},"./node_modules/lodash/_baseGet.js":function(e,t,o){function n(e,t){t=s(t,e);for(var o=0,n=t.length;null!=e&&o=120&&g.length>=120)?new s(h&&g):void 0}g=e[0];var v=-1,y=m[0];e:for(;++vs?0:s+t),o=o>s?s:o,o<0&&(o+=s),s=t>o?0:o-t>>>0,t>>>=0;for(var r=Array(s);++nt||a&&i&&u&&!l&&!d||n&&i&&u||!o&&u||!r)return 1;if(!n&&!a&&!d&&e=l)return u;return u*("desc"==o[n]?-1:1)}}return e.index-t.index}var s=o("./node_modules/lodash/_compareAscending.js");e.exports=n},"./node_modules/lodash/_copyArray.js":function(e,t){function o(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o1?o[s-1]:void 0,i=s>2?o[2]:void 0;for(a=e.length>3&&"function"==typeof a?(s--,a):void 0,i&&r(o[0],o[1],i)&&(a=s<3?void 0:a,s=1),t=Object(t);++n-1?i[l?t[u]:u]:void 0}}var s=o("./node_modules/lodash/_baseIteratee.js"),r=o("./node_modules/lodash/isArrayLike.js"),a=o("./node_modules/lodash/keys.js");e.exports=n},"./node_modules/lodash/_createToPairs.js":function(e,t,o){function n(e){return function(t){var o=r(t);return o==l?a(t):o==u?i(t):s(t,e(t))}}var s=o("./node_modules/lodash/_baseToPairs.js"),r=o("./node_modules/lodash/_getTag.js"),a=o("./node_modules/lodash/_mapToArray.js"),i=o("./node_modules/lodash/_setToPairs.js"),l="[object Map]",u="[object Set]";e.exports=n},"./node_modules/lodash/_customOmitClone.js":function(e,t,o){function n(e){return s(e)?void 0:e}var s=o("./node_modules/lodash/isPlainObject.js");e.exports=n},"./node_modules/lodash/_defineProperty.js":function(e,t,o){var n=o("./node_modules/lodash/_getNative.js"),s=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=s},"./node_modules/lodash/_equalArrays.js":function(e,t,o){function n(e,t,o,n,u,d){var c=o&i,p=e.length,h=t.length;if(p!=h&&!(c&&h>p))return!1;var m=d.get(e);if(m&&d.get(t))return m==t;var f=-1,_=!0,g=o&l?new s:void 0;for(d.set(e,t),d.set(t,e);++f-1&&e%1==0&&e-1}var s=o("./node_modules/lodash/_assocIndexOf.js");e.exports=n},"./node_modules/lodash/_listCacheSet.js":function(e,t,o){function n(e,t){var o=this.__data__,n=s(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var s=o("./node_modules/lodash/_assocIndexOf.js");e.exports=n},"./node_modules/lodash/_mapCacheClear.js":function(e,t,o){function n(){this.size=0,this.__data__={hash:new s,map:new(a||r),string:new s}}var s=o("./node_modules/lodash/_Hash.js"),r=o("./node_modules/lodash/_ListCache.js"),a=o("./node_modules/lodash/_Map.js");e.exports=n},"./node_modules/lodash/_mapCacheDelete.js":function(e,t,o){function n(e){var t=s(this,e).delete(e);return this.size-=t?1:0,t}var s=o("./node_modules/lodash/_getMapData.js");e.exports=n},"./node_modules/lodash/_mapCacheGet.js":function(e,t,o){function n(e){return s(this,e).get(e)}var s=o("./node_modules/lodash/_getMapData.js");e.exports=n},"./node_modules/lodash/_mapCacheHas.js":function(e,t,o){function n(e){return s(this,e).has(e)}var s=o("./node_modules/lodash/_getMapData.js");e.exports=n},"./node_modules/lodash/_mapCacheSet.js":function(e,t,o){function n(e,t){var o=s(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var s=o("./node_modules/lodash/_getMapData.js");e.exports=n},"./node_modules/lodash/_mapToArray.js":function(e,t){function o(e){var t=-1,o=Array(e.size);return e.forEach(function(e,n){o[++t]=[n,e]}),o}e.exports=o},"./node_modules/lodash/_matchesStrictComparable.js":function(e,t){function o(e,t){return function(o){return null!=o&&(o[e]===t&&(void 0!==t||e in Object(o)))}}e.exports=o},"./node_modules/lodash/_memoizeCapped.js":function(e,t,o){function n(e){var t=s(e,function(e){return o.size===r&&o.clear(),e}),o=t.cache;return t}var s=o("./node_modules/lodash/memoize.js"),r=500;e.exports=n},"./node_modules/lodash/_nativeCreate.js":function(e,t,o){var n=o("./node_modules/lodash/_getNative.js"),s=n(Object,"create");e.exports=s},"./node_modules/lodash/_nativeKeys.js":function(e,t,o){var n=o("./node_modules/lodash/_overArg.js"),s=n(Object.keys,Object);e.exports=s},"./node_modules/lodash/_nativeKeysIn.js":function(e,t){function o(e){var t=[];if(null!=e)for(var o in Object(e))t.push(o);return t}e.exports=o},"./node_modules/lodash/_nodeUtil.js":function(e,t,o){(function(e){var n=o("./node_modules/lodash/_freeGlobal.js"),s="object"==typeof t&&t&&!t.nodeType&&t,r=s&&"object"==typeof e&&e&&!e.nodeType&&e,a=r&&r.exports===s,i=a&&n.process,l=function(){try{var e=r&&r.require&&r.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(t,o("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/lodash/_objectToString.js":function(e,t){function o(e){return s.call(e)}var n=Object.prototype,s=n.toString;e.exports=o},"./node_modules/lodash/_overArg.js":function(e,t){function o(e,t){return function(o){return e(t(o))}}e.exports=o},"./node_modules/lodash/_overRest.js":function(e,t,o){function n(e,t,o){return t=r(void 0===t?e.length-1:t,0),function(){for(var n=arguments,a=-1,i=r(n.length-t,0),l=Array(i);++a0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var n=800,s=16,r=Date.now;e.exports=o},"./node_modules/lodash/_stackClear.js":function(e,t,o){function n(){this.__data__=new s,this.size=0}var s=o("./node_modules/lodash/_ListCache.js");e.exports=n},"./node_modules/lodash/_stackDelete.js":function(e,t){function o(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}e.exports=o},"./node_modules/lodash/_stackGet.js":function(e,t){function o(e){return this.__data__.get(e)}e.exports=o},"./node_modules/lodash/_stackHas.js":function(e,t){function o(e){return this.__data__.has(e)}e.exports=o},"./node_modules/lodash/_stackSet.js":function(e,t,o){function n(e,t){var o=this.__data__;if(o instanceof s){var n=o.__data__;if(!r||n.length2?t[2]:void 0;for(u&&r(t[0],t[1],u)&&(n=1);++o-1:!!d&&s(e,t,o)>-1}var s=o("./node_modules/lodash/_baseIndexOf.js"),r=o("./node_modules/lodash/isArrayLike.js"),a=o("./node_modules/lodash/isString.js"),i=o("./node_modules/lodash/toInteger.js"),l=o("./node_modules/lodash/values.js"),u=Math.max;e.exports=n},"./node_modules/lodash/initial.js":function(e,t,o){function n(e){return(null==e?0:e.length)?s(e,0,-1):[]}var s=o("./node_modules/lodash/_baseSlice.js");e.exports=n},"./node_modules/lodash/intersection.js":function(e,t,o){var n=o("./node_modules/lodash/_arrayMap.js"),s=o("./node_modules/lodash/_baseIntersection.js"),r=o("./node_modules/lodash/_baseRest.js"),a=o("./node_modules/lodash/_castArrayLikeObject.js"),i=r(function(e){var t=n(e,a);return t.length&&t[0]===e[0]?s(t):[]});e.exports=i},"./node_modules/lodash/isArguments.js":function(e,t,o){var n=o("./node_modules/lodash/_baseIsArguments.js"),s=o("./node_modules/lodash/isObjectLike.js"),r=Object.prototype,a=r.hasOwnProperty,i=r.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return s(e)&&a.call(e,"callee")&&!i.call(e,"callee")};e.exports=l},"./node_modules/lodash/isArray.js":function(e,t){var o=Array.isArray;e.exports=o},"./node_modules/lodash/isArrayLike.js":function(e,t,o){function n(e){return null!=e&&r(e.length)&&!s(e)}var s=o("./node_modules/lodash/isFunction.js"),r=o("./node_modules/lodash/isLength.js");e.exports=n},"./node_modules/lodash/isArrayLikeObject.js":function(e,t,o){function n(e){return r(e)&&s(e)}var s=o("./node_modules/lodash/isArrayLike.js"),r=o("./node_modules/lodash/isObjectLike.js");e.exports=n},"./node_modules/lodash/isBuffer.js":function(e,t,o){(function(e){var n=o("./node_modules/lodash/_root.js"),s=o("./node_modules/lodash/stubFalse.js"),r="object"==typeof t&&t&&!t.nodeType&&t,a=r&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===r,l=i?n.Buffer:void 0,u=l?l.isBuffer:void 0,d=u||s;e.exports=d}).call(t,o("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/lodash/isEmpty.js":function(e,t,o){function n(e){if(null==e)return!0;if(l(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||c(e)||a(e)))return!e.length;var t=r(e);if(t==p||t==h)return!e.size;if(d(e))return!s(e).length;for(var o in e)if(f.call(e,o))return!1;return!0}var s=o("./node_modules/lodash/_baseKeys.js"),r=o("./node_modules/lodash/_getTag.js"),a=o("./node_modules/lodash/isArguments.js"),i=o("./node_modules/lodash/isArray.js"),l=o("./node_modules/lodash/isArrayLike.js"),u=o("./node_modules/lodash/isBuffer.js"),d=o("./node_modules/lodash/_isPrototype.js"),c=o("./node_modules/lodash/isTypedArray.js"),p="[object Map]",h="[object Set]",m=Object.prototype,f=m.hasOwnProperty;e.exports=n},"./node_modules/lodash/isFunction.js":function(e,t,o){function n(e){if(!r(e))return!1;var t=s(e);return t==i||t==l||t==a||t==u}var s=o("./node_modules/lodash/_baseGetTag.js"),r=o("./node_modules/lodash/isObject.js"),a="[object AsyncFunction]",i="[object Function]",l="[object GeneratorFunction]",u="[object Proxy]";e.exports=n},"./node_modules/lodash/isLength.js":function(e,t){function o(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}var n=9007199254740991;e.exports=o},"./node_modules/lodash/isMap.js":function(e,t,o){var n=o("./node_modules/lodash/_baseIsMap.js"),s=o("./node_modules/lodash/_baseUnary.js"),r=o("./node_modules/lodash/_nodeUtil.js"),a=r&&r.isMap,i=a?s(a):n;e.exports=i},"./node_modules/lodash/isNull.js":function(e,t){function o(e){return null===e}e.exports=o},"./node_modules/lodash/isObject.js":function(e,t){function o(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=o},"./node_modules/lodash/isObjectLike.js":function(e,t){function o(e){return null!=e&&"object"==typeof e}e.exports=o},"./node_modules/lodash/isPlainObject.js":function(e,t,o){function n(e){if(!a(e)||s(e)!=i)return!1;var t=r(e);if(null===t)return!0;var o=c.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&d.call(o)==p}var s=o("./node_modules/lodash/_baseGetTag.js"),r=o("./node_modules/lodash/_getPrototype.js"),a=o("./node_modules/lodash/isObjectLike.js"),i="[object Object]",l=Function.prototype,u=Object.prototype,d=l.toString,c=u.hasOwnProperty,p=d.call(Object);e.exports=n},"./node_modules/lodash/isSet.js":function(e,t,o){var n=o("./node_modules/lodash/_baseIsSet.js"),s=o("./node_modules/lodash/_baseUnary.js"),r=o("./node_modules/lodash/_nodeUtil.js"),a=r&&r.isSet,i=a?s(a):n;e.exports=i},"./node_modules/lodash/isString.js":function(e,t,o){function n(e){return"string"==typeof e||!r(e)&&a(e)&&s(e)==i}var s=o("./node_modules/lodash/_baseGetTag.js"),r=o("./node_modules/lodash/isArray.js"),a=o("./node_modules/lodash/isObjectLike.js"),i="[object String]";e.exports=n},"./node_modules/lodash/isSymbol.js":function(e,t,o){function n(e){return"symbol"==typeof e||r(e)&&s(e)==a}var s=o("./node_modules/lodash/_baseGetTag.js"),r=o("./node_modules/lodash/isObjectLike.js"),a="[object Symbol]";e.exports=n},"./node_modules/lodash/isTypedArray.js":function(e,t,o){var n=o("./node_modules/lodash/_baseIsTypedArray.js"),s=o("./node_modules/lodash/_baseUnary.js"),r=o("./node_modules/lodash/_nodeUtil.js"),a=r&&r.isTypedArray,i=a?s(a):n;e.exports=i},"./node_modules/lodash/isUndefined.js":function(e,t){function o(e){return void 0===e}e.exports=o},"./node_modules/lodash/keys.js":function(e,t,o){function n(e){return a(e)?s(e):r(e)}var s=o("./node_modules/lodash/_arrayLikeKeys.js"),r=o("./node_modules/lodash/_baseKeys.js"),a=o("./node_modules/lodash/isArrayLike.js");e.exports=n},"./node_modules/lodash/keysIn.js":function(e,t,o){function n(e){return a(e)?s(e,!0):r(e)}var s=o("./node_modules/lodash/_arrayLikeKeys.js"),r=o("./node_modules/lodash/_baseKeysIn.js"),a=o("./node_modules/lodash/isArrayLike.js");e.exports=n},"./node_modules/lodash/last.js":function(e,t){function o(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=o},"./node_modules/lodash/map.js":function(e,t,o){function n(e,t){return(i(e)?s:a)(e,r(t,3))}var s=o("./node_modules/lodash/_arrayMap.js"),r=o("./node_modules/lodash/_baseIteratee.js"),a=o("./node_modules/lodash/_baseMap.js"),i=o("./node_modules/lodash/isArray.js");e.exports=n},"./node_modules/lodash/memoize.js":function(e,t,o){function n(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(r);var o=function(){var n=arguments,s=t?t.apply(this,n):n[0],r=o.cache;if(r.has(s))return r.get(s);var a=e.apply(this,n);return o.cache=r.set(s,a)||r,a};return o.cache=new(n.Cache||s),o}var s=o("./node_modules/lodash/_MapCache.js"),r="Expected a function";n.Cache=s,e.exports=n},"./node_modules/lodash/omit.js":function(e,t,o){var n=o("./node_modules/lodash/_arrayMap.js"),s=o("./node_modules/lodash/_baseClone.js"),r=o("./node_modules/lodash/_baseUnset.js"),a=o("./node_modules/lodash/_castPath.js"),i=o("./node_modules/lodash/_copyObject.js"),l=o("./node_modules/lodash/_customOmitClone.js"),u=o("./node_modules/lodash/_flatRest.js"),d=o("./node_modules/lodash/_getAllKeysIn.js"),c=u(function(e,t){var o={};if(null==e)return o;var u=!1;t=n(t,function(t){return t=a(t,e),u||(u=t.length>1),t}),i(e,d(e),o),u&&(o=s(o,7,l));for(var c=t.length;c--;)r(o,t[c]);return o});e.exports=c},"./node_modules/lodash/orderBy.js":function(e,t,o){function n(e,t,o,n){return null==e?[]:(r(t)||(t=null==t?[]:[t]),o=n?void 0:o,r(o)||(o=null==o?[]:[o]),s(e,t,o))}var s=o("./node_modules/lodash/_baseOrderBy.js"),r=o("./node_modules/lodash/isArray.js");e.exports=n},"./node_modules/lodash/pick.js":function(e,t,o){var n=o("./node_modules/lodash/_basePick.js"),s=o("./node_modules/lodash/_flatRest.js"),r=s(function(e,t){return null==e?{}:n(e,t)});e.exports=r},"./node_modules/lodash/property.js":function(e,t,o){function n(e){return a(e)?s(i(e)):r(e)}var s=o("./node_modules/lodash/_baseProperty.js"),r=o("./node_modules/lodash/_basePropertyDeep.js"),a=o("./node_modules/lodash/_isKey.js"),i=o("./node_modules/lodash/_toKey.js");e.exports=n},"./node_modules/lodash/some.js":function(e,t,o){function n(e,t,o){var n=i(e)?s:a;return o&&l(e,t,o)&&(t=void 0),n(e,r(t,3))}var s=o("./node_modules/lodash/_arraySome.js"),r=o("./node_modules/lodash/_baseIteratee.js"),a=o("./node_modules/lodash/_baseSome.js"),i=o("./node_modules/lodash/isArray.js"),l=o("./node_modules/lodash/_isIterateeCall.js");e.exports=n},"./node_modules/lodash/sortBy.js":function(e,t,o){var n=o("./node_modules/lodash/_baseFlatten.js"),s=o("./node_modules/lodash/_baseOrderBy.js"),r=o("./node_modules/lodash/_baseRest.js"),a=o("./node_modules/lodash/_isIterateeCall.js"),i=r(function(e,t){if(null==e)return[];var o=t.length;return o>1&&a(e,t[0],t[1])?t=[]:o>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),s(e,n(t,1),[])});e.exports=i},"./node_modules/lodash/stubArray.js":function(e,t){function o(){return[]}e.exports=o},"./node_modules/lodash/stubFalse.js":function(e,t){function o(){return!1}e.exports=o},"./node_modules/lodash/take.js":function(e,t,o){function n(e,t,o){return e&&e.length?(t=o||void 0===t?1:r(t),s(e,0,t<0?0:t)):[]}var s=o("./node_modules/lodash/_baseSlice.js"),r=o("./node_modules/lodash/toInteger.js");e.exports=n},"./node_modules/lodash/toFinite.js":function(e,t,o){function n(e){if(!e)return 0===e?e:0;if((e=s(e))===r||e===-r){return(e<0?-1:1)*a}return e===e?e:0}var s=o("./node_modules/lodash/toNumber.js"),r=1/0,a=1.7976931348623157e308;e.exports=n},"./node_modules/lodash/toInteger.js":function(e,t,o){function n(e){var t=s(e),o=t%1;return t===t?o?t-o:t:0}var s=o("./node_modules/lodash/toFinite.js");e.exports=n},"./node_modules/lodash/toNumber.js":function(e,t,o){function n(e){if("number"==typeof e)return e;if(r(e))return a;if(s(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=s(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var o=u.test(e);return o||d.test(e)?c(e.slice(2),o?2:8):l.test(e)?a:+e}var s=o("./node_modules/lodash/isObject.js"),r=o("./node_modules/lodash/isSymbol.js"),a=NaN,i=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,d=/^0o[0-7]+$/i,c=parseInt;e.exports=n},"./node_modules/lodash/toPairs.js":function(e,t,o){var n=o("./node_modules/lodash/_createToPairs.js"),s=o("./node_modules/lodash/keys.js"),r=n(s);e.exports=r},"./node_modules/lodash/toString.js":function(e,t,o){function n(e){return null==e?"":s(e)}var s=o("./node_modules/lodash/_baseToString.js");e.exports=n},"./node_modules/lodash/uniqueId.js":function(e,t,o){function n(e){var t=++r;return s(e)+t}var s=o("./node_modules/lodash/toString.js"),r=0;e.exports=n},"./node_modules/lodash/values.js":function(e,t,o){function n(e){return null==e?[]:s(e,r(e))}var s=o("./node_modules/lodash/_baseValues.js"),r=o("./node_modules/lodash/keys.js");e.exports=n},"./node_modules/lodash/without.js":function(e,t,o){var n=o("./node_modules/lodash/_baseDifference.js"),s=o("./node_modules/lodash/_baseRest.js"),r=o("./node_modules/lodash/isArrayLikeObject.js"),a=s(function(e,t){return r(e)?n(e,t):[]});e.exports=a},"./node_modules/lodash/zipObject.js":function(e,t,o){function n(e,t){return r(e||[],t||[],s)}var s=o("./node_modules/lodash/_assignValue.js"),r=o("./node_modules/lodash/_baseZipObject.js");e.exports=n},"./node_modules/object-assign/index.js":function(e,t,o){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/* -object-assign -(c) Sindre Sorhus -@license MIT -*/ -var s=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var o,i,l=n(e),u=1;u=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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)}function i(e){return function(o){return t.createElement(c,l({component:e},o))}}var l=Object.assign||function(e){for(var t=1;t>>((3&t)<<3)&255;return s}}},"./node_modules/uuid/v1.js":function(e,t,o){function n(e,t,o){var n=t&&o||0,d=t||[];e=e||{};var c=e.node||s,p=void 0!==e.clockseq?e.clockseq:r;if(null==c||null==p){var h=a();null==c&&(c=s=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==p&&(p=r=16383&(h[6]<<8|h[7]))}var m=void 0!==e.msecs?e.msecs:(new Date).getTime(),f=void 0!==e.nsecs?e.nsecs:u+1,_=m-l+(f-u)/1e4;if(_<0&&void 0===e.clockseq&&(p=p+1&16383),(_<0||m>l)&&void 0===e.nsecs&&(f=0),f>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=m,u=f,r=p,m+=122192928e5;var g=(1e4*(268435455&m)+f)%4294967296;d[n++]=g>>>24&255,d[n++]=g>>>16&255,d[n++]=g>>>8&255,d[n++]=255&g;var v=m/4294967296*1e4&268435455;d[n++]=v>>>8&255,d[n++]=255&v,d[n++]=v>>>24&15|16,d[n++]=v>>>16&255,d[n++]=p>>>8|128,d[n++]=255&p;for(var y=0;y<6;++y)d[n+y]=c[y];return t||i(d)}var s,r,a=o("./node_modules/uuid/lib/rng-browser.js"),i=o("./node_modules/uuid/lib/bytesToUuid.js"),l=0,u=0;e.exports=n},"./node_modules/webpack/buildin/global.js":function(e,t){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(o=window)}e.exports=o},"./node_modules/webpack/buildin/module.js":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}},0:function(e,t){e.exports=React},1:function(e,t){e.exports=PropTypes},10:function(e,t){e.exports=Reactstrap},11:function(e,t){e.exports=ViewModeActions},12:function(e,t){e.exports=jQuery},13:function(e,t){e.exports=Config},14:function(e,t){e.exports=FormBuilderLoader},15:function(e,t){e.exports=ReactDom},16:function(e,t){e.exports=moment},2:function(e,t){e.exports=Injector},3:function(e,t){e.exports=i18n},4:function(e,t){e.exports=ReactRedux},5:function(e,t){e.exports=Redux},6:function(e,t){e.exports=classnames},7:function(e,t){e.exports=ReactApollo},8:function(e,t){e.exports=GraphQLTag},9:function(e,t){e.exports=Loading}}); -//# sourceMappingURL=bundle.js.map \ No newline at end of file +!function(e){function t(n){if(o[n])return o[n].exports;var s=o[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,t),s.l=!0,s.exports}var o={};t.m=e,t.c=o,t.i=function(e){return e},t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s="./client/src/bundles/bundle.js")}({"./client/src/boot/index.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var s=o("./client/src/boot/registerComponents.js"),r=n(s),a=o("./client/src/boot/registerReducers.js"),i=n(a);window.document.addEventListener("DOMContentLoaded",function(){(0,r.default)(),(0,i.default)()})},"./client/src/boot/registerComponents.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=o(2),r=n(s),a=o("./client/src/components/HistoryViewer/HistoryViewer.js"),i=n(a),l=o("./client/src/components/HistoryViewer/SnapshotViewerContainer.js"),u=n(l),d=o("./client/src/components/HistoryViewer/HistoryViewerHeading.js"),c=n(d),p=o("./client/src/components/HistoryViewer/HistoryViewerToolbar.js"),h=n(p),m=o("./client/src/components/HistoryViewer/HistoryViewerVersion.js"),f=n(m),_=o("./client/src/components/HistoryViewer/HistoryViewerVersionDetail.js"),v=n(_),g=o("./client/src/components/HistoryViewer/HistoryViewerVersionList.js"),y=n(g),j=o("./client/src/components/HistoryViewer/HistoryViewerVersionState.js"),b=n(j),C=o("./client/src/components/HistoryViewer/HistoryViewerSnapshotState.js"),w=n(C),S=o("./client/src/components/HistoryViewer/HistoryViewerSnapshot.js"),x=n(S),E=o("./client/src/components/HistoryViewer/HistoryViewerCompareWarning.js"),P=n(E),O=o("./client/src/components/HistoryViewer/RollbackMutation.js"),R=n(O);t.default=function(){r.default.component.register("SnapshotViewer",i.default),r.default.component.register("SnapshotViewerContainer",u.default),r.default.component.register("SnapshotHistoryViewer",i.default),r.default.component.register("SnapshotRollbackMutation",R.default),r.default.component.registerMany({SnapshotHistoryViewerHeading:c.default,SnapshotHistoryViewerToolbar:h.default,SnapshotHistoryViewerVersion:f.default,SnapshotHistoryViewerVersionDetail:v.default,SnapshotHistoryViewerVersionList:y.default,SnapshotHistoryViewerVersionState:b.default,SnapshotHistoryViewerSnapshotState:w.default,SnapshotHistoryViewerSnapshot:x.default,SnapshotHistoryViewerCompareWarning:P.default},{force:!0})}},"./client/src/boot/registerReducers.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=o(2),r=n(s),a=o(5),i=o("./client/src/state/historyviewer/HistoryViewerReducer.js"),l=n(i),u=function(){r.default.reducer.register("versionedAdmin",(0,a.combineReducers)({historyViewer:l.default}),{force:!0})};t.default=u},"./client/src/bundles/bundle.js":function(e,t,o){"use strict";o("./node_modules/expose-loader/index.js?SnapshotsViewer!./client/src/components/HistoryViewer/HistoryViewer.js-exposed"),o("./node_modules/expose-loader/index.js?versionType!./client/src/types/versionType.js-exposed"),o("./client/src/legacy/ArchiveAdmin/ArchiveAdmin.js"),o("./client/src/legacy/HistoryViewer/HistoryViewerEntwine.js"),o("./client/src/boot/index.js")},"./client/src/components/HistoryViewer/HistoryViewer.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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)}function i(e){var t=e.versionedAdmin.historyViewer,o=t.currentPage,n=t.currentVersion,s=t.previewMode;return{page:o,currentVersion:n,compare:t.compare,previewMode:s,previewState:e.viewMode.activeState}}function l(e){return{onSelect:function(t){e((0,S.showVersion)(t)),e((0,S.clearMessages)())},onSetPage:function(t){e((0,S.setCurrentPage)(t))},onResize:function(t){e(V.enableOrDisableSplitMode(t))}}}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=t.VERSION_MODE_DATE=t.VERSION_MODE_VERSION=void 0;var u=Object.assign||function(e){for(var t=1;t1}},{key:"renderVersionDetail",value:function(){var e=this,t=this.props,o=t.currentVersion,n=t.isPreviewable,s=t.recordId,r=t.recordClass,a=t.typeName,i=t.schemaUrl,l=t.VersionDetailComponent,u=t.compare,d=t.compare,c=d.versionFrom,h=void 0!==c&&c,m=d.versionTo,f=void 0!==m&&m,_=t.previewState,v={":id":s,":class":r,":date":"",":version":""};v[":date"]=o.lastEdited;var g={":id":s,":class":r,":from":h.version||0,":to":f.version||0},y=u?/:id|:class|:from|:to/g:/:id|:class|:version|:date/g,j=u?g:v,b=u?h:o,C=this.getLatestVersion(),w={isLatestVersion:!u&&C&&C.version===b.version,isPreviewable:n,recordId:s,typeName:a,schemaUrl:i.replace(y,function(e){return j[e]}),version:b,compare:u,compareModeAvailable:this.compareModeAvailable(),previewState:_};return p.default.createElement(M.default,{className:this.getContainerClasses(),onResize:function(t){var o=t.width;return e.props.onResize(o)}},p.default.createElement(l,w))}},{key:"renderPagination",value:function(){var e=this.props,t=e.limit,o=e.page,n=e.versions;if(!n)return null;var s=n.snapshotHistory?n.snapshotHistory.pageInfo.totalCount:0;if(s<=t)return null;var r={setPage:this.handleSetPage,maxPage:Math.ceil(s/t),next:this.handleNextPage,nextText:j.default._t("HistoryViewer.NEXT","Next"),previous:this.handlePrevPage,previousText:j.default._t("HistoryViewer.PREVIOUS","Previous"),currentPage:o-1,useGriddleStyles:!1};return p.default.createElement("div",{className:"griddle-footer"},p.default.createElement(_.default.GridPagination,r))}},{key:"renderComparisonSelectionList",value:function(){var e=this.props,t=e.compare.versionFrom,o=e.ListComponent;if(!t)return null;var n=(0,O.default)("history-viewer__table","history-viewer__table--comparison-selected");return p.default.createElement(o,{versions:[t],extraClass:n})}},{key:"renderVersionList",value:function(){var e=this.props,t=e.isInGridField,o=e.ListComponent,n=e.CompareWarningComponent,s=e.compare,r=e.compare.versionFrom;return p.default.createElement("div",{className:this.getContainerClasses()},p.default.createElement(n,null),p.default.createElement("div",{className:t?"":"panel panel--padded panel--scrollable"},this.renderComparisonSelectionList(),p.default.createElement(o,{versions:this.getVersions(),showHeader:!s||s&&!r,compareModeAvailable:this.compareModeAvailable()}),p.default.createElement("div",{className:"history-viewer__pagination"},this.renderPagination())))}},{key:"renderCompareMode",value:function(){var e=this.props.compare;return e&&e.versionFrom&&e.versionTo?this.renderVersionDetail():this.renderVersionList()}},{key:"render",value:function(){var e=this.props,t=e.loading,o=e.compare,n=e.previewMode;return t?p.default.createElement(w.default,null):this.compareModeAvailable()&&o?this.renderCompareMode():n?this.renderVersionDetail():this.renderVersionList()}}]),t}(c.Component);k.propTypes={contextKey:N.default.string,limit:N.default.number,ListComponent:N.default.oneOfType([N.default.node,N.default.func]).isRequired,offset:N.default.number,recordId:N.default.number.isRequired,recordClass:N.default.string.isRequired,typeName:N.default.string.isRequired,currentVersion:N.default.oneOfType([N.default.bool,x.versionType]),compare:E.compareType,isInGridField:N.default.bool,isPreviewable:N.default.bool,VersionDetailComponent:N.default.oneOfType([N.default.node,N.default.func]).isRequired,CompareWarningComponent:N.default.oneOfType([N.default.node,N.default.func]).isRequired,versions:N.default.shape({versions:N.default.shape({pageInfo:N.default.shape({totalCount:N.default.number}),edges:N.default.arrayOf(N.default.shape({node:x.versionType}))})}),page:N.default.number,schemaUrl:N.default.string,previewState:N.default.oneOf(["edit","preview","split"]),actions:N.default.object,onSelect:N.default.func,onSetPage:N.default.func,onResize:N.default.func},k.defaultProps={compare:{},contextKey:"",currentVersion:!1,isInGridField:!1,isPreviewable:!1,typeName:"",schemaUrl:"",versions:{versions:{pageInfo:{totalCount:0},edges:[]}}},t.Component=k,t.default=(0,h.compose)((0,m.connect)(i,l),g.default,(0,b.inject)(["SnapshotHistoryViewerVersionList","SnapshotHistoryViewerVersionDetail","SnapshotHistoryViewerCompareWarning"],function(e,t,o){return{ListComponent:e,VersionDetailComponent:t,CompareWarningComponent:o}},function(e){return"VersionedAdmin.HistoryViewer."+e.contextKey}))(k)},"./client/src/components/HistoryViewer/HistoryViewerCompareWarning.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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)}function i(e){return{isCompare:!!e.versionedAdmin.historyViewer.compare}}function l(e){return{onDismissCompare:function(){e((0,v.setCompareMode)(!1))}}}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var o=0;o1?s.map(function(e,t){return d.default.createElement("div",{key:t},e)}):n+" "+t}},{key:"getBadges",value:function(){return null}}]),t}(i.Component);t.Component=c,t.default=(0,l.inject)(["Badge"],function(e){return{BadgeComponent:e}})(c)},"./client/src/components/HistoryViewer/HistoryViewerToolbar.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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)}function i(e){return{onAfterRevert:function(t){e((0,g.addMessage)(_.default.sprintf(_.default._t("HistoryViewerToolbar.REVERTED_MESSAGE","Successfully reverted to version %s"),t))),e((0,g.showList)())}}}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var l=function(){function e(e,t){for(var o=0;o0&&void 0!==arguments[0])||arguments[0],t=document.querySelector(".CMSPageHistoryViewerController div:not(.cms-content-tools) .cms-content-header"),o="history-viewer__toolbar--condensed";t&&this.isPreviewable()&&(e?t.classList.add(o):t.classList.remove(o))}},{key:"renderPreview",value:function(){var e=this.props,t=e.version,o=e.PreviewComponent,n=e.previewState;return this.isPreviewable()&&"edit"!==n?u.default.createElement("div",{className:"history-viewer-preview flexbox-area-grow"},u.default.createElement("div",{className:"history-viewer-preview__underlay"},u.default.createElement("div",{className:"history-viewer-preview__spinner"}),y.default._t("HistoryViewerVersionDetail.LOADING_PREVIEW","Generating preview...")),u.default.createElement(o,{className:"history-viewer-preview__frame flexbox-area-grow",itemLinks:{preview:{Stage:{href:t.AbsoluteLink+"&archiveDate="+t.lastEdited,type:"text/html"}}},itemId:t.version})):null}},{key:"renderToolbar",value:function(){var e=this.props,t=e.ToolbarComponent,o=e.isLatestVersion,n=e.recordId,s=e.version,r=e.typeName;if(this.isCompareMode())return null;var a=y.default._t("HistoryViewerVersionDetail.CANNOT_ROLLBACK_SNAPSHOTS","You can only revert to base versions");return u.default.createElement(t,{identifier:"HistoryViewer.versionDetail.Toolbar",isLatestVersion:o,recordId:n,typeName:r,versionId:s.version,isPreviewable:this.isPreviewable(),canRollback:s.isFullVersion,rollbackMessage:a})}},{key:"renderDetails",value:function(){var e=this.props,t=e.compareModeAvailable,o=e.ListComponent,n=e.schemaUrl,s=e.CompareWarningComponent,r=e.previewState,a=e.version;if(this.isPreviewable()&&"preview"===r)return null;var i=["flexbox-area-grow","panel","panel--scrollable","panel--padded","panel--padded-side"],l={"history-viewer__table":!0,"history-viewer__table--current":!0,"history-viewer__table--compare":this.isCompareMode()},d={"history-viewer__version-detail":!0,"history-viewer__version-detail--compare":this.isCompareMode()};return u.default.createElement("div",{className:"flexbox-area-grow fill-height"},u.default.createElement("div",{className:(0,c.default)(i)},u.default.createElement(o,{extraClass:(0,c.default)(l),versions:this.getListVersions(),compareModeAvailable:t}),u.default.createElement("div",{className:(0,c.default)(d)},u.default.createElement(h.default,{identifier:"HistoryViewer.versionDetail."+a.id,schemaUrl:n,refetchSchemaOnMount:!1}))),this.renderToolbar(),u.default.createElement(s,{fixed:!0}))}},{key:"render",value:function(){return u.default.createElement("div",{className:"flexbox-area-grow fill-width"},this.renderDetails(),this.renderPreview())}}]),t}(l.PureComponent);j.propTypes={isLatestVersion:v.default.bool,isPreviewable:v.default.bool,ListComponent:v.default.oneOfType([v.default.node,v.default.func]).isRequired,PreviewComponent:v.default.oneOfType([v.default.node,v.default.func]),recordId:v.default.number.isRequired,typeName:v.default.string.isRequired,schemaUrl:v.default.string.isRequired,ToolbarComponent:v.default.oneOfType([v.default.node,v.default.func]).isRequired,version:f.versionType,compare:v.default.oneOfType([v.default.shape({versionFrom:f.versionType,versionTo:f.versionType}),v.default.bool]),previewState:v.default.oneOf(["edit","preview","split"])},j.defaultProps={isLatestVersion:!1,isPreviewable:!1,compare:!1},t.Component=j,t.default=(0,m.inject)(["SnapshotHistoryViewerVersionList","SnapshotHistoryViewerToolbar","Preview","SnapshotHistoryViewerCompareWarning"],function(e,t,o,n){return{ListComponent:e,ToolbarComponent:t,PreviewComponent:o,CompareWarningComponent:n}},function(e,t){return t+".HistoryViewerVersionDetail."+e.version.version})(j)},"./client/src/components/HistoryViewer/HistoryViewerVersionList.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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)}function i(e){var t=e.versionedAdmin.historyViewer;return{messages:t.messages,compare:t.compare,currentVersion:t.currentVersion}}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var l=function(){function e(e,t){for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:"success";return{type:m.default.ADD_MESSAGE,payload:{id:(0,_.default)(),message:e,type:t}}}function u(){return{type:m.default.CLEAR_MESSAGES}}function d(e){return{type:m.default.SET_COMPARE_MODE,payload:{enabled:e}}}function c(e){return{type:m.default.SET_COMPARE_FROM,payload:{version:e}}}function p(e){return{type:m.default.SET_COMPARE_TO,payload:{version:e}}}Object.defineProperty(t,"__esModule",{value:!0}),t.showVersion=s,t.showDate=r,t.showList=a,t.setCurrentPage=i,t.addMessage=l,t.clearMessages=u,t.setCompareMode=d,t.setCompareFrom=c,t.setCompareTo=p;var h=o("./client/src/state/historyviewer/HistoryViewerActionTypes.js"),m=n(h),f=o("./node_modules/uuid/v1.js"),_=n(f)},"./client/src/state/historyviewer/HistoryViewerReducer.js":function(e,t,o){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:d,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.type,s=t.payload;switch(o){case i.default.SET_CURRENT_PAGE:return r({},e,{currentPage:s.page});case i.default.SHOW_VERSION:var a=s.version;return r({},e,{previewMode:a&&u.VERSION_MODE_VERSION,currentVersion:a});case i.default.SHOW_DATE:var l=s.version;return r({},e,{previewMode:l&&u.VERSION_MODE_DATE,currentVersion:l});case i.default.SHOW_LIST:return r({},e,{currentVersion:!1,currentDate:!1,previewMode:!1,currentPage:0});case i.default.ADD_MESSAGE:return r({},e,{messages:[s].concat(n(e.messages))});case i.default.CLEAR_MESSAGES:return r({},e,{messages:[]});case i.default.SET_COMPARE_MODE:var c=r({versionFrom:!1,versionTo:!1},e.compare);return r({},e,{compare:!!s.enabled&&c,previewMode:!!s.enabled&&e.previewMode});case i.default.SET_COMPARE_FROM:var p=e.compare,h=p.versionFrom,m=p.versionTo;return h=s.version||!1,h||(h=m,m=!1),r({},e,{currentVersion:h,compare:{versionFrom:h,versionTo:m}});case i.default.SET_COMPARE_TO:var f=e.compare,_=f.versionFrom,v=f.versionTo;return v=s.version||!1,v&&_&&v.version<_.version&&(_=v,v=e.compare.versionFrom),r({},e,{currentVersion:_,compare:{versionFrom:_,versionTo:v}});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1}},{key:"renderVersionDetail",value:function(){var e=this,t=this.props,o=t.currentVersion,n=t.isPreviewable,s=t.recordId,r=t.recordClass,a=t.typeName,i=t.schemaUrl,l=t.VersionDetailComponent,u=t.compare,d=t.compare,c=d.versionFrom,h=void 0!==c&&c,m=d.versionTo,f=void 0!==m&&m,_=t.previewState,v={":id":s,":class":r,":date":"",":version":""};v[":date"]=o.lastEdited;var g={":id":s,":class":r,":from":h.version||0,":to":f.version||0},y=u?/:id|:class|:from|:to/g:/:id|:class|:version|:date/g,j=u?g:v,b=u?h:o,C=this.getLatestVersion(),w={isLatestVersion:!u&&C&&C.version===b.version,isPreviewable:n,recordId:s,typeName:a,schemaUrl:i.replace(y,function(e){return j[e]}),version:b,compare:u,compareModeAvailable:this.compareModeAvailable(),previewState:_};return p.default.createElement(M.default,{className:this.getContainerClasses(),onResize:function(t){var o=t.width;return e.props.onResize(o)}},p.default.createElement(l,w))}},{key:"renderPagination",value:function(){var e=this.props,t=e.limit,o=e.page,n=e.versions;if(!n)return null;var s=n.snapshotHistory?n.snapshotHistory.pageInfo.totalCount:0;if(s<=t)return null;var r={setPage:this.handleSetPage,maxPage:Math.ceil(s/t),next:this.handleNextPage,nextText:j.default._t("HistoryViewer.NEXT","Next"),previous:this.handlePrevPage,previousText:j.default._t("HistoryViewer.PREVIOUS","Previous"),currentPage:o-1,useGriddleStyles:!1};return p.default.createElement("div",{className:"griddle-footer"},p.default.createElement(_.default.GridPagination,r))}},{key:"renderComparisonSelectionList",value:function(){var e=this.props,t=e.compare.versionFrom,o=e.ListComponent;if(!t)return null;var n=(0,O.default)("history-viewer__table","history-viewer__table--comparison-selected");return p.default.createElement(o,{versions:[t],extraClass:n})}},{key:"renderVersionList",value:function(){var e=this.props,t=e.isInGridField,o=e.ListComponent,n=e.CompareWarningComponent,s=e.compare,r=e.compare.versionFrom;return p.default.createElement("div",{className:this.getContainerClasses()},p.default.createElement(n,null),p.default.createElement("div",{className:t?"":"panel panel--padded panel--scrollable"},this.renderComparisonSelectionList(),p.default.createElement(o,{versions:this.getVersions(),showHeader:!s||s&&!r,compareModeAvailable:this.compareModeAvailable()}),p.default.createElement("div",{className:"history-viewer__pagination"},this.renderPagination())))}},{key:"renderCompareMode",value:function(){var e=this.props.compare;return e&&e.versionFrom&&e.versionTo?this.renderVersionDetail():this.renderVersionList()}},{key:"render",value:function(){var e=this.props,t=e.loading,o=e.compare,n=e.previewMode;return t?p.default.createElement(w.default,null):this.compareModeAvailable()&&o?this.renderCompareMode():n?this.renderVersionDetail():this.renderVersionList()}}]),t}(c.Component);k.propTypes={contextKey:N.default.string,limit:N.default.number,ListComponent:N.default.oneOfType([N.default.node,N.default.func]).isRequired,offset:N.default.number,recordId:N.default.number.isRequired,recordClass:N.default.string.isRequired,typeName:N.default.string.isRequired,currentVersion:N.default.oneOfType([N.default.bool,x.versionType]),compare:E.compareType,isInGridField:N.default.bool,isPreviewable:N.default.bool,VersionDetailComponent:N.default.oneOfType([N.default.node,N.default.func]).isRequired,CompareWarningComponent:N.default.oneOfType([N.default.node,N.default.func]).isRequired,versions:N.default.shape({versions:N.default.shape({pageInfo:N.default.shape({totalCount:N.default.number}),edges:N.default.arrayOf(N.default.shape({node:x.versionType}))})}),page:N.default.number,schemaUrl:N.default.string,previewState:N.default.oneOf(["edit","preview","split"]),actions:N.default.object,onSelect:N.default.func,onSetPage:N.default.func,onResize:N.default.func},k.defaultProps={compare:{},contextKey:"",currentVersion:!1,isInGridField:!1,isPreviewable:!1,typeName:"",schemaUrl:"",versions:{versions:{pageInfo:{totalCount:0},edges:[]}}},t.Component=k,t.default=(0,h.compose)((0,m.connect)(i,l),g.default,(0,b.inject)(["SnapshotHistoryViewerVersionList","SnapshotHistoryViewerVersionDetail","SnapshotHistoryViewerCompareWarning"],function(e,t,o){return{ListComponent:e,VersionDetailComponent:t,CompareWarningComponent:o}},function(e){return"VersionedAdmin.HistoryViewer."+e.contextKey}))(k)},'./node_modules/babel-loader/lib/index.js?{"presets":[["env",{"modules":false}],"react"],"plugins":["transform-object-rest-spread"],"comments":false,"cacheDirectory":false}!./client/src/types/versionType.js':function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultVersion=t.versionType=void 0;var n=o(1),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r=s.default.shape({firstName:s.default.string,surname:s.default.string}),a=s.default.shape({version:s.default.number,absoluteLink:s.default.string,lastEdited:s.default.string,published:s.default.boolean,liveVersion:s.default.boolean,latestDraftVersion:s.default.boolean,message:s.default.string,publisher:r,author:r}),i={version:0,absoluteLink:"",lastEdited:"",published:!1,liveVersion:!1,latestDraftVersion:!1,message:"",publisher:{firstName:"",surname:""},author:{firstName:"",surname:""}};t.versionType=a,t.defaultVersion=i},"./node_modules/create-react-class/factory.js":function(e,t,o){"use strict";function n(e){return e}function s(e,t,o){function s(e,t){var o=g.hasOwnProperty(t)?g[t]:null;w.hasOwnProperty(t)&&i("OVERRIDE_BASE"===o,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&i("DEFINE_MANY"===o||"DEFINE_MANY_MERGED"===o,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function u(e,o){if(o){i("function"!=typeof o,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),i(!t(o),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var n=e.prototype,r=n.__reactAutoBindPairs;o.hasOwnProperty(l)&&j.mixins(e,o.mixins);for(var a in o)if(o.hasOwnProperty(a)&&a!==l){var u=o[a],d=n.hasOwnProperty(a);if(s(d,a),j.hasOwnProperty(a))j[a](e,u);else{var c=g.hasOwnProperty(a),m="function"==typeof u,f=m&&!c&&!d&&!1!==o.autobind;if(f)r.push(a,u),n[a]=u;else if(d){var _=g[a];i(c&&("DEFINE_MANY_MERGED"===_||"DEFINE_MANY"===_),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",_,a),"DEFINE_MANY_MERGED"===_?n[a]=p(n[a],u):"DEFINE_MANY"===_&&(n[a]=h(n[a],u))}else n[a]=u}}}}function d(e,t){if(t)for(var o in t){var n=t[o];if(t.hasOwnProperty(o)){var s=o in j;i(!s,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',o);var r=o in e;if(r){var a=y.hasOwnProperty(o)?y[o]:null;return i("DEFINE_MANY_MERGED"===a,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",o),void(e[o]=p(e[o],n))}e[o]=n}}}function c(e,t){i(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var o in t)t.hasOwnProperty(o)&&(i(void 0===e[o],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",o),e[o]=t[o]);return e}function p(e,t){return function(){var o=e.apply(this,arguments),n=t.apply(this,arguments);if(null==o)return n;if(null==n)return o;var s={};return c(s,o),c(s,n),s}}function h(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function m(e,t){return t.bind(e)}function f(e){for(var t=e.__reactAutoBindPairs,o=0;o0}},{key:"getMetadataColumnProperty",value:function(e,t,o){var n=this.getColumnMetadataByName(e);return void 0===n||null===n?o:n.hasOwnProperty(t)?n[t]:o}},{key:"orderColumns",value:function(e){var t=this;return l(e,function(e){var o=i(t.columnMetadata,{columnName:e});return void 0===o||null===o||isNaN(o.order)?100:o.order})}},{key:"getColumns",value:function(){var e=0===this.filteredColumns.length?this.allColumns:this.filteredColumns;return e=u(e,this.metadataColumns),e=this.orderColumns(e)}}]),e}();e.exports=d},"./node_modules/griddle-react/modules/customFilterContainer.jsx.js":function(e,t,o){"use strict";var n=o(0),s=o("./node_modules/create-react-class/index.js"),r=s({getDefaultProps:function(){return{placeholderText:""}},render:function(){var e=this;return"function"!=typeof e.props.customFilterComponent?(console.log("Couldn't find valid template."),n.createElement("div",null)):n.createElement(e.props.customFilterComponent,{changeFilter:this.props.changeFilter,results:this.props.results,currentResults:this.props.currentResults,placeholderText:this.props.placeholderText})}});e.exports=r},"./node_modules/griddle-react/modules/customPaginationContainer.jsx.js":function(e,t,o){"use strict";var n=Object.assign||function(e){for(var t=1;t0&&(e=n.createElement("button",{type:"button",onClick:this.props.previous,style:this.props.useGriddleStyles?{color:"#222",border:"none",background:"none",margin:"0 0 0 10px"}:null},this.props.previousIconComponent,this.props.previousText)),this.props.currentPage!==this.props.maxPage-1&&(t=n.createElement("button",{type:"button",onClick:this.props.next,style:this.props.useGriddleStyles?{color:"#222",border:"none",background:"none",margin:"0 10px 0 0"}:null},this.props.nextText,this.props.nextIconComponent));var o=null,s=null,a=null;if(!0===this.props.useGriddleStyles){var i={float:"left",minHeight:"1px",marginTop:"5px"};a=r({textAlign:"right",width:"34%"},i),s=r({textAlign:"center",width:"33%"},i),o=r({width:"33%"},i)}for(var l=[],u=1;u<=this.props.maxPage;u++)l.push(n.createElement("option",{value:u,key:u},u));return n.createElement("div",{style:this.props.useGriddleStyles?{minHeight:"35px"}:null},n.createElement("div",{className:this.props.previousClassName,style:o},e),n.createElement("div",{className:"griddle-page",style:s},n.createElement("select",{value:this.props.currentPage+1,onChange:this.pageChange},l)," / ",this.props.maxPage),n.createElement("div",{className:this.props.nextClassName,style:a},t))}});e.exports=a},"./node_modules/griddle-react/modules/gridRow.jsx.js":function(e,t,o){"use strict";var n=o(0),s=o("./node_modules/create-react-class/index.js"),r=(o("./node_modules/griddle-react/modules/columnProperties.js"),o("./node_modules/griddle-react/modules/deep.js")),a=o("./node_modules/lodash/isFunction.js"),i=o("./node_modules/lodash/zipObject.js"),l=o("./node_modules/lodash/assign.js"),u=o("./node_modules/lodash/defaults.js"),d=o("./node_modules/lodash/toPairs.js"),c=o("./node_modules/lodash/without.js"),p=s({getDefaultProps:function(){return{isChildRow:!1,showChildren:!1,data:{},columnSettings:null,rowSettings:null,hasChildren:!1,useGriddleStyles:!0,useGriddleIcons:!0,isSubGriddle:!1,paddingHeight:null,rowHeight:null,parentRowCollapsedClassName:"parent-row",parentRowExpandedClassName:"parent-row expanded",parentRowCollapsedComponent:"â–¶",parentRowExpandedComponent:"â–¼",onRowClick:null,multipleSelectionSettings:null,onRowMouseEnter:null,onRowMouseLeave:null,onRowWillMount:null,onRowWillUnmount:null}},componentWillMount:function(){null!==this.props.onRowWillMount&&a(this.props.onRowWillMount)&&this.props.onRowWillMount(this)},componentWillUnmount:function(){null!==this.props.onRowWillUnmount&&a(this.props.onRowWillUnmount)&&this.props.onRowWillUnmount(this)},handleClick:function(e){null!==this.props.onRowClick&&a(this.props.onRowClick)?this.props.onRowClick(this,e):this.props.hasChildren&&this.props.toggleChildren()},handleMouseEnter:function(e){null!==this.props.onRowMouseEnter&&a(this.props.onRowMouseEnter)&&this.props.onRowMouseEnter(this,e)},handleMouseLeave:function(e){null!==this.props.onRowMouseLeave&&a(this.props.onRowMouseLeave)&&this.props.onRowMouseLeave(this,e)},handleSelectionChange:function(e){},handleSelectClick:function(e){this.props.multipleSelectionSettings.isMultipleSelection&&("checkbox"===e.target.type?this.props.multipleSelectionSettings.toggleSelectRow(this.props.data,this.refs.selected.checked):this.props.multipleSelectionSettings.toggleSelectRow(this.props.data,!this.refs.selected.checked))},verifyProps:function(){null===this.props.columnSettings&&console.error("gridRow: The columnSettings prop is null and it shouldn't be")},formatData:function(e){return"boolean"==typeof e?String(e):e},render:function(){var e=this;this.verifyProps();var t=this,o=null;this.props.useGriddleStyles&&(o={margin:"0px",padding:t.props.paddingHeight+"px 5px "+t.props.paddingHeight+"px 5px",height:t.props.rowHeight?this.props.rowHeight-2*t.props.paddingHeight+"px":null,backgroundColor:"#FFF",borderTopColor:"#DDD",color:"#222"});var s=this.props.columnSettings.getColumns(),p=i(s,[]),h=l({},this.props.data);u(h,p);var m,f,_=d(r.pick(h,c(s,"children"))),v=_.map(function(t,s){var r=null,a=e.props.columnSettings.getColumnMetadataByName(t[0]),i=0===s&&e.props.hasChildren&&!1===e.props.showChildren&&e.props.useGriddleIcons?n.createElement("span",{style:e.props.useGriddleStyles?{fontSize:"10px",marginRight:"5px"}:null},e.props.parentRowCollapsedComponent):0===s&&e.props.hasChildren&&e.props.showChildren&&e.props.useGriddleIcons?n.createElement("span",{style:e.props.useGriddleStyles?{fontSize:"10px"}:null},e.props.parentRowExpandedComponent):"";if(0===s&&e.props.isChildRow&&e.props.useGriddleStyles&&(o=l(o,{paddingLeft:10})),e.props.columnSettings.hasColumnMetadata()&&void 0!==a&&null!==a)if(void 0!==a.customComponent&&null!==a.customComponent){var u=n.createElement(a.customComponent,{data:t[1],rowData:h,metadata:a});r=n.createElement("td",{onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,onMouseLeave:e.handleMouseLeave,className:a.cssClassName,key:s,style:o},u)}else r=n.createElement("td",{onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,onMouseLeave:e.handleMouseLeave,className:a.cssClassName,key:s,style:o},i,e.formatData(t[1]));return r||n.createElement("td",{onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,onMouseLeave:e.handleMouseLeave,key:s,style:o},i,t[1])});null!==this.props.onRowClick&&a(this.props.onRowClick)?(m=null,f=this.handleSelectClick):this.props.multipleSelectionSettings&&this.props.multipleSelectionSettings.isMultipleSelection?(m=this.handleSelectClick,f=null):(m=null,f=null),v&&this.props.multipleSelectionSettings&&this.props.multipleSelectionSettings.isMultipleSelection&&(this.props.multipleSelectionSettings.getSelectedRowIds(),v.unshift(n.createElement("td",{key:"selection",style:o,className:"griddle-select griddle-select-cell",onClick:f},n.createElement("input",{type:"checkbox",checked:this.props.multipleSelectionSettings.getIsRowChecked(h),onChange:this.handleSelectionChange,ref:"selected"}))));var g=t.props.rowSettings&&t.props.rowSettings.getBodyRowMetadataClass(t.props.data)||"standard-row";return t.props.isChildRow?g="child-row":t.props.hasChildren&&(g=t.props.showChildren?this.props.parentRowExpandedClassName:this.props.parentRowCollapsedClassName),n.createElement("tr",{onClick:m,className:g},v)}});e.exports=p},"./node_modules/griddle-react/modules/gridRowContainer.jsx.js":function(e,t,o){"use strict";var n=o(0),s=o("./node_modules/create-react-class/index.js"),r=(o("./node_modules/griddle-react/modules/columnProperties.js"),o("./node_modules/lodash/pick.js")),a=s({getDefaultProps:function(){return{useGriddleStyles:!0,useGriddleIcons:!0,isSubGriddle:!1,columnSettings:null,rowSettings:null,paddingHeight:null,rowHeight:null,parentRowCollapsedClassName:"parent-row",parentRowExpandedClassName:"parent-row expanded",parentRowCollapsedComponent:"â–¶",parentRowExpandedComponent:"â–¼",onRowClick:null,onRowMouseEnter:null,onRowMouseLeave:null,onRowWillMount:null,onRowWillUnmount:null,multipleSelectionSettings:null}},getInitialState:function(){return{data:{},showChildren:!1}},componentWillReceiveProps:function(){this.setShowChildren(!1)},toggleChildren:function(){this.setShowChildren(!1===this.state.showChildren)},setShowChildren:function(e){this.setState({showChildren:e})},verifyProps:function(){null===this.props.columnSettings&&console.error("gridRowContainer: The columnSettings prop is null and it shouldn't be")},render:function(){this.verifyProps();var e=this;if(void 0===this.props.data)return n.createElement("tbody",null);var t=[],o=this.props.columnSettings.getColumns();t.push(n.createElement(this.props.rowSettings.rowComponent,{useGriddleStyles:this.props.useGriddleStyles,isSubGriddle:this.props.isSubGriddle,data:this.props.rowSettings.isCustom?r(this.props.data,o):this.props.data,rowData:this.props.rowSettings.isCustom?this.props.data:null,columnSettings:this.props.columnSettings,rowSettings:this.props.rowSettings,hasChildren:e.props.hasChildren,toggleChildren:e.toggleChildren,showChildren:e.state.showChildren,key:e.props.uniqueId+"_base_row",useGriddleIcons:e.props.useGriddleIcons,parentRowExpandedClassName:this.props.parentRowExpandedClassName,parentRowCollapsedClassName:this.props.parentRowCollapsedClassName,parentRowExpandedComponent:this.props.parentRowExpandedComponent,parentRowCollapsedComponent:this.props.parentRowCollapsedComponent,paddingHeight:e.props.paddingHeight,rowHeight:e.props.rowHeight,onRowClick:e.props.onRowClick,onRowMouseEnter:e.props.onRowMouseEnter,onRowMouseLeave:e.props.onRowMouseLeave,multipleSelectionSettings:this.props.multipleSelectionSettings,onRowWillMount:e.props.onRowWillMount,onRowWillUnmount:e.props.onRowWillUnmount}));var s=null;return e.state.showChildren&&(s=e.props.hasChildren&&this.props.data.children.map(function(t,o){var s=e.props.rowSettings.getRowKey(t,o);if(void 0!==t.children){var r=e.constructor.Griddle;return n.createElement("tr",{key:s,style:{paddingLeft:5}},n.createElement("td",{colSpan:e.props.columnSettings.getVisibleColumnCount(),className:"griddle-parent",style:e.props.useGriddleStyles?{border:"none",padding:"0 0 0 5px"}:null},n.createElement(r,{rowMetadata:{key:"id"},isSubGriddle:!0,results:[t],columns:e.props.columnSettings.getColumns(),tableClassName:e.props.tableClassName,parentRowExpandedClassName:e.props.parentRowExpandedClassName,parentRowCollapsedClassName:e.props.parentRowCollapsedClassName,showTableHeading:!1,showPager:!1,columnMetadata:e.props.columnSettings.columnMetadata,parentRowExpandedComponent:e.props.parentRowExpandedComponent,parentRowCollapsedComponent:e.props.parentRowCollapsedComponent,paddingHeight:e.props.paddingHeight,rowHeight:e.props.rowHeight})))}return n.createElement(e.props.rowSettings.rowComponent,{useGriddleStyles:e.props.useGriddleStyles,isSubGriddle:e.props.isSubGriddle,data:t,columnSettings:e.props.columnSettings,isChildRow:!0,columnMetadata:e.props.columnSettings.columnMetadata,key:s})})),!1===e.props.hasChildren?t[0]:n.createElement("tbody",null,e.state.showChildren?t.concat(s):t)}});e.exports=a},"./node_modules/griddle-react/modules/gridSettings.jsx.js":function(e,t,o){"use strict";var n=o(0),s=o("./node_modules/create-react-class/index.js"),r=o("./node_modules/lodash/includes.js"),a=o("./node_modules/lodash/without.js"),i=o("./node_modules/lodash/find.js"),l=s({getDefaultProps:function(){return{columns:[],columnMetadata:[],selectedColumns:[],settingsText:"",maxRowsText:"",resultsPerPage:0,enableToggleCustom:!1,useCustomComponent:!1,useGriddleStyles:!0,toggleCustomComponent:function(){}}},setPageSize:function(e){var t=parseInt(e.target.value,10);this.props.setPageSize(t)},handleChange:function(e){var t=e.target.dataset?e.target.dataset.name:e.target.getAttribute("data-name");!0===e.target.checked&&!1===r(this.props.selectedColumns,t)?(this.props.selectedColumns.push(t),this.props.setColumns(this.props.selectedColumns)):this.props.setColumns(a(this.props.selectedColumns,t))},render:function(){var e=this,t=[];!1===e.props.useCustomComponent&&(t=this.props.columns.map(function(t,o){var s=r(e.props.selectedColumns,t),a=i(e.props.columnMetadata,{columnName:t}),l=t;return void 0!==a&&void 0!==a.displayName&&null!=a.displayName&&(l=a.displayName),void 0!==a&&null!=a&&a.locked?n.createElement("div",{className:"column checkbox"},n.createElement("label",null,n.createElement("input",{type:"checkbox",disabled:!0,name:"check",checked:s,"data-name":t}),l)):void 0!==a&&null!=a&&void 0!==a.visible&&!1===a.visible?null:n.createElement("div",{className:"griddle-column-selection checkbox",key:t,style:e.props.useGriddleStyles?{float:"left",width:"20%"}:null},n.createElement("label",null,n.createElement("input",{type:"checkbox",name:"check",onChange:e.handleChange,checked:s,"data-name":t}),l))}));var o=e.props.enableToggleCustom?n.createElement("div",{className:"form-group"},n.createElement("label",{htmlFor:"maxRows"},n.createElement("input",{type:"checkbox",checked:this.props.useCustomComponent,onChange:this.props.toggleCustomComponent})," ",this.props.enableCustomFormatText)):"",s=this.props.showSetPageSize?n.createElement("div",null,n.createElement("label",{htmlFor:"maxRows"},this.props.maxRowsText,":",n.createElement("select",{onChange:this.setPageSize,value:this.props.resultsPerPage},n.createElement("option",{value:"5"},"5"),n.createElement("option",{value:"10"},"10"),n.createElement("option",{value:"25"},"25"),n.createElement("option",{value:"50"},"50"),n.createElement("option",{value:"100"},"100")))):"";return n.createElement("div",{className:"griddle-settings",style:this.props.useGriddleStyles?{backgroundColor:"#FFF",border:"1px solid #DDD",color:"#222",padding:"10px",marginBottom:"10px"}:null},n.createElement("h6",null,this.props.settingsText),n.createElement("div",{className:"griddle-columns",style:this.props.useGriddleStyles?{clear:"both",display:"table",width:"100%",borderBottom:"1px solid #EDEDED",marginBottom:"10px"}:null},t),s,o)}});e.exports=l},"./node_modules/griddle-react/modules/gridTable.jsx.js":function(e,t,o){"use strict";var n=o(0),s=o("./node_modules/create-react-class/index.js"),r=o("./node_modules/griddle-react/modules/gridTitle.jsx.js"),a=o("./node_modules/griddle-react/modules/gridRowContainer.jsx.js"),i=(o("./node_modules/griddle-react/modules/columnProperties.js"),o("./node_modules/griddle-react/modules/rowProperties.js"),s({getDefaultProps:function(){return{data:[],columnSettings:null,rowSettings:null,sortSettings:null,multipleSelectionSettings:null,className:"",enableInfiniteScroll:!1,nextPage:null,hasMorePages:!1,useFixedHeader:!1,useFixedLayout:!0,paddingHeight:null,rowHeight:null,filterByColumn:null,infiniteScrollLoadTreshold:null,bodyHeight:null,useGriddleStyles:!0,useGriddleIcons:!0,isSubGriddle:!1,parentRowCollapsedClassName:"parent-row",parentRowExpandedClassName:"parent-row expanded",parentRowCollapsedComponent:"â–¶",parentRowExpandedComponent:"â–¼",externalLoadingComponent:null,externalIsLoading:!1,onRowClick:null,onRowMouseEnter:null,onRowMouseLeave:null,onRowWillMount:null,onRowWillUnmount:null}},getInitialState:function(){return{scrollTop:0,scrollHeight:this.props.bodyHeight,clientHeight:this.props.bodyHeight}},componentDidMount:function(){this.gridScroll()},componentDidUpdate:function(e,t){this.gridScroll()},gridScroll:function(){if(this.props.enableInfiniteScroll&&!this.props.externalIsLoading){var e=this.refs.scrollable,t=e.scrollTop,o=e.scrollHeight,n=e.clientHeight;if(null!==this.props.rowHeight&&this.state.scrollTop!==t&&Math.abs(this.state.scrollTop-t)>=this.getAdjustedRowHeight()){var s={scrollTop:t,scrollHeight:o,clientHeight:n};this.setState(s)}.6*(o-(t+n)-this.props.infiniteScrollLoadTreshold)<=this.props.infiniteScrollLoadTreshold&&this.props.nextPage()}},verifyProps:function(){null===this.props.columnSettings&&console.error("gridTable: The columnSettings prop is null and it shouldn't be"),null===this.props.rowSettings&&console.error("gridTable: The rowSettings prop is null and it shouldn't be")},getAdjustedRowHeight:function(){return this.props.rowHeight+2*this.props.paddingHeight},getNodeContent:function(){this.verifyProps();var e=this,t=!1;if(!this.props.externalIsLoading||this.props.enableInfiniteScroll){var o=e.props.data,s=null,r=null;if(this.props.enableInfiniteScroll&&null!==this.props.rowHeight&&void 0!==this.refs.scrollable){var i=e.getAdjustedRowHeight(),l=Math.ceil(e.state.clientHeight/i),u=Math.max(0,Math.floor(e.state.scrollTop/i)-.25*l),d=Math.min(u+1.25*l,this.props.data.length-1);o=o.slice(u,d+1);var c={height:u*i+"px"};s=n.createElement("tr",{key:"above-"+c.height,style:c});var p={height:(this.props.data.length-d)*i+"px"};r=n.createElement("tr",{key:"below-"+p.height,style:p})}var h=o.map(function(o,s){var r=void 0!==o.children&&o.children.length>0,i=e.props.rowSettings.getRowKey(o,s);return r&&(t=r),n.createElement(a,{useGriddleStyles:e.props.useGriddleStyles,isSubGriddle:e.props.isSubGriddle,parentRowExpandedClassName:e.props.parentRowExpandedClassName,parentRowCollapsedClassName:e.props.parentRowCollapsedClassName,parentRowExpandedComponent:e.props.parentRowExpandedComponent,parentRowCollapsedComponent:e.props.parentRowCollapsedComponent,data:o,key:i+"-container",uniqueId:i,columnSettings:e.props.columnSettings,rowSettings:e.props.rowSettings,paddingHeight:e.props.paddingHeight,multipleSelectionSettings:e.props.multipleSelectionSettings,rowHeight:e.props.rowHeight,hasChildren:r,tableClassName:e.props.className,onRowClick:e.props.onRowClick,onRowMouseEnter:e.props.onRowMouseEnter,onRowMouseLeave:e.props.onRowMouseLeave,onRowWillMount:e.props.onRowWillMount,onRowWillUnmount:e.props.onRowWillUnmount})});if(this.props.showNoData){var m=this.props.columnSettings.getVisibleColumnCount();h.push(n.createElement("tr",{key:"no-data-section"},n.createElement("td",{colSpan:m},this.props.noDataSection)))}return s&&h.unshift(s),r&&h.push(r),{nodes:h,anyHasChildren:t}}return null},render:function(){var e=[],t=!1,o=this.getNodeContent();o&&(e=o.nodes,t=o.anyHasChildren);var s=null,a=null,i={width:"100%"};if(this.props.useFixedLayout&&(i.tableLayout="fixed"),this.props.enableInfiniteScroll&&(s={position:"relative",overflowY:"scroll",height:this.props.bodyHeight+"px",width:"100%"}),this.props.externalIsLoading){var l=null,u=null;this.props.useGriddleStyles&&(l={textAlign:"center",paddingBottom:"40px"}),u=this.props.columnSettings.getVisibleColumnCount();var d=this.props.externalLoadingComponent?n.createElement(this.props.externalLoadingComponent,null):n.createElement("div",null,"Loading...");a=n.createElement("tbody",null,n.createElement("tr",null,n.createElement("td",{style:l,colSpan:u},d)))}var c=this.props.showTableHeading?n.createElement(r,{useGriddleStyles:this.props.useGriddleStyles,useGriddleIcons:this.props.useGriddleIcons,sortSettings:this.props.sortSettings,multipleSelectionSettings:this.props.multipleSelectionSettings,columnSettings:this.props.columnSettings,filterByColumn:this.props.filterByColumn,rowSettings:this.props.rowSettings}):void 0;t||(e=n.createElement("tbody",null,e));var p=n.createElement("tbody",null);if(this.props.showPager){var h=this.props.useGriddleStyles?{padding:"0px",backgroundColor:"#EDEDED",border:"0px",color:"#222",height:this.props.showNoData?"20px":null}:null;p=n.createElement("tbody",null,n.createElement("tr",null,n.createElement("td",{colSpan:this.props.multipleSelectionSettings.isMultipleSelection?this.props.columnSettings.getVisibleColumnCount()+1:this.props.columnSettings.getVisibleColumnCount(),style:h,className:"footer-container"},this.props.showNoData?null:this.props.pagingContent)))}return this.props.useFixedHeader?(this.props.useGriddleStyles&&(i.tableLayout="fixed"),n.createElement("div",null,n.createElement("table",{className:this.props.className,style:this.props.useGriddleStyles&&i||null},c),n.createElement("div",{ref:"scrollable",onScroll:this.gridScroll,style:s},n.createElement("table",{className:this.props.className,style:this.props.useGriddleStyles&&i||null},e,a,p)))):n.createElement("div",{ref:"scrollable",onScroll:this.gridScroll,style:s},n.createElement("table",{className:this.props.className,style:this.props.useGriddleStyles&&i||null},c,e,a,p))}}));e.exports=i},"./node_modules/griddle-react/modules/gridTitle.jsx.js":function(e,t,o){"use strict";var n=Object.assign||function(e){for(var t=1;t=0)return!0;return!1})},defaultColumnFilter:function(e,t,o){var n=V(P(o)?o:[o],function(e){return(e||"").toLowerCase()});return I(y.getObjectValues(t),function(e){return e=e.toString().toLowerCase(),I(n,function(t){return e.indexOf(t)>=0})})},filterByColumnFilters:function(e){var t=this.props.columnFilterFunc||this.defaultColumnFilter,o=Object.keys(e).reduce(function(o,n){return N(o,function(o){var s=y.getAt(o,n||""),r=e[n];return t(n||"",s,r)})},this.props.results),n={columnFilters:e};e?(n.filteredResults=o,n.maxPage=this.getMaxPage(n.filteredResults)):this.state.filter?n.filteredResults=this.props.useCustomFilterer?this.props.customFilterer(this.props.results,filter):this.defaultFilter(this.props.results,filter):n.filteredResults=null,this.setState(n)},filterByColumn:function(e,t){var o=this.state.columnFilters;if(o.hasOwnProperty(t)&&!e)o=T(o,t);else{var n={};n[t]=e,o=A({},o,n)}this.filterByColumnFilters(o)},setFilter:function(e){var t=arguments.length<=1||void 0===arguments[1]?null:arguments[1];if(this.props.useExternal)return void this.props.externalSetFilter(e);var o=this,n={page:0,filter:e};n.filteredResults=this.props.useCustomFilterer?this.props.customFilterer(t||this.props.results,e):this.defaultFilter(t||this.props.results,e),n.maxPage=o.getMaxPage(n.filteredResults),(M(e)||R(e)||O(e))&&(n.filter=e,n.filteredResults=null),o.setState(n),this._resetSelectedRows()},setPageSize:function(e){if(this.props.useExternal)return this.setState({resultsPerPage:e}),void this.props.externalSetPageSize(e);this.state.resultsPerPage=e,this.setMaxPage()},toggleColumnChooser:function(){this.setState({showColumnChooser:!this.state.showColumnChooser})},isNullOrUndefined:function(e){return void 0===e||null===e},shouldUseCustomRowComponent:function(){return this.isNullOrUndefined(this.state.useCustomRowComponent)?this.props.useCustomRowComponent:this.state.useCustomRowComponent},shouldUseCustomGridComponent:function(){return this.isNullOrUndefined(this.state.useCustomGridComponent)?this.props.useCustomGridComponent:this.state.useCustomGridComponent},toggleCustomComponent:function(){"grid"===this.state.customComponentType?this.setState({useCustomGridComponent:!this.shouldUseCustomGridComponent()}):"row"===this.state.customComponentType&&this.setState({useCustomRowComponent:!this.shouldUseCustomRowComponent()})},getMaxPage:function(e,t){return this.props.useExternal?this.props.externalMaxPage:(t||(t=(e||this.getCurrentResults()).length),Math.ceil(t/this.state.resultsPerPage))},setMaxPage:function(e){var t=this.getMaxPage(e);this.state.maxPage!==t&&this.setState({page:0,maxPage:t,filteredColumns:this.columnSettings.filteredColumns})},setPage:function(e){if(this.props.useExternal)return void this.props.externalSetPage(e);if(e*this.state.resultsPerPage<=this.state.resultsPerPage*this.state.maxPage){var t=this,o={page:e};t.setState(o)}this.props.enableInfiniteScroll&&this.setState({isSelectAllChecked:!1})},setColumns:function(e){this.columnSettings.filteredColumns=P(e)?e:[e],this.setState({filteredColumns:this.columnSettings.filteredColumns})},nextPage:function(){var e=this.getCurrentPage();e0&&this.setPage(e-1)},changeSort:function(e){if(!1!==this.props.enableSort){if(this.props.useExternal){var t=this.props.externalSortColumn!==e||!this.props.externalSortAscending;return this.setState({sortColumn:e,sortDirection:t?"asc":"desc"}),void this.props.externalChangeSort(e,t)}var o=C(this.props.columnMetadata,{columnName:e})||{},n=o.sortDirectionCycle?o.sortDirectionCycle:[null,"asc","desc"],s=null,r=n.indexOf(this.state.sortDirection&&e===this.state.sortColumn?this.state.sortDirection:null);r=(r+1)%n.length,s=n[r]?n[r]:null;var a={page:0,sortColumn:e,sortDirection:s};this.setState(a)}},componentWillReceiveProps:function(e){if(e.results!==this.props.results&&this.setFilter(this.state.filter,e.results),this.setMaxPage(e.results),e.resultsPerPage!==this.props.resultsPerPage&&this.setPageSize(e.resultsPerPage),this.columnSettings.columnMetadata=e.columnMetadata,e.results.length>0){var t=y.keys(e.results[0]);this.columnSettings.allColumns.length==t.length&&this.columnSettings.allColumns.every(function(e,o){return e===t[o]})||(this.columnSettings.allColumns=t)}else this.columnSettings.allColumns.length>0&&(this.columnSettings.allColumns=[]);if(e.selectedRowIds){var o=this.getDataForRender(this.getCurrentResults(e.results),this.columnSettings.getColumns(),!0);this.setState({isSelectAllChecked:this._getAreAllRowsChecked(e.selectedRowIds,V(o,this.props.uniqueIdentifier)),selectedRowIds:e.selectedRowIds})}},getInitialState:function(){return{maxPage:0,page:0,filteredResults:null,filteredColumns:[],filter:"",columnFilters:{},resultsPerPage:this.props.resultsPerPage||5,showColumnChooser:!1,isSelectAllChecked:!1,selectedRowIds:this.props.selectedRowIds}},componentWillMount:function(){this.verifyExternal(),this.verifyCustom(),this.columnSettings=new v(this.props.results.length>0?y.keys(this.props.results[0]):[],this.props.columns,this.props.childrenColumnName,this.props.columnMetadata,this.props.metadataColumns),this.rowSettings=new g(this.props.rowMetadata,this.props.useCustomTableRowComponent&&this.props.customTableRowComponent?this.props.customTableRowComponent:p,this.props.useCustomTableRowComponent),this.props.initialSort&&(this.props.useExternal?this.setState({sortColumn:this.props.externalSortColumn,sortDirection:this.props.externalSortAscending?"asc":"desc"}):this.changeSort(this.props.initialSort)),this.setMaxPage(),this.shouldUseCustomGridComponent()?this.setState({customComponentType:"grid"}):this.shouldUseCustomRowComponent()?this.setState({customComponentType:"row"}):this.setState({filteredColumns:this.columnSettings.filteredColumns})},componentDidMount:function(){if(this.props.componentDidMount&&"function"==typeof this.props.componentDidMount)return this.props.componentDidMount()},componentDidUpdate:function(){if(this.props.componentDidUpdate&&"function"==typeof this.props.componentDidUpdate)return this.props.componentDidUpdate(this.state)},verifyExternal:function(){!0===this.props.useExternal&&(null===this.props.externalSetPage&&console.error("useExternal is set to true but there is no externalSetPage function specified."),null===this.props.externalChangeSort&&console.error("useExternal is set to true but there is no externalChangeSort function specified."),null===this.props.externalSetFilter&&console.error("useExternal is set to true but there is no externalSetFilter function specified."),null===this.props.externalSetPageSize&&console.error("useExternal is set to true but there is no externalSetPageSize function specified."),null===this.props.externalMaxPage&&console.error("useExternal is set to true but externalMaxPage is not set."),null===this.props.externalCurrentPage&&console.error("useExternal is set to true but externalCurrentPage is not set. Griddle will not page correctly without that property when using external data."))},verifyCustom:function(){!0===this.props.useCustomGridComponent&&null===this.props.customGridComponent&&console.error("useCustomGridComponent is set to true but no custom component was specified."),!0===this.props.useCustomRowComponent&&null===this.props.customRowComponent&&console.error("useCustomRowComponent is set to true but no custom component was specified."),!0===this.props.useCustomGridComponent&&!0===this.props.useCustomRowComponent&&console.error("Cannot currently use both customGridComponent and customRowComponent."),!0===this.props.useCustomFilterer&&null===this.props.customFilterer&&console.error("useCustomFilterer is set to true but no custom filter function was specified."),!0===this.props.useCustomFilterComponent&&null===this.props.customFilterComponent&&console.error("useCustomFilterComponent is set to true but no customFilterComponent was specified.")},getDataForRender:function(e,t,o){var n=this,s=this;if(!this.props.useExternal){if(""!==this.state.sortColumn){var r,a=this.state.sortColumn,i=N(this.props.columnMetadata,{columnName:a}),l={columns:[],orders:[]};if(i.length>0&&(r=i[0].hasOwnProperty("customCompareFn")&&i[0].customCompareFn,i[0].multiSort&&(l=i[0].multiSort)),this.state.sortDirection)if("function"==typeof r)2===r.length?(e=e.sort(function(e,t){return r(D(e,a),D(t,a))}),"desc"===this.state.sortDirection&&e.reverse()):1===r.length&&(e=k(e,function(e){return r(D(e,a))},[this.state.sortDirection]));else{var u=[function(e){return(D(e,a)||"").toString().toLowerCase()}],d=[this.state.sortDirection];l.columns.forEach(function(e,t){u.push(function(t){return(D(t,e)||"").toString().toLowerCase()}),"asc"===l.orders[t]||"desc"===l.orders[t]?d.push(l.orders[t]):d.push(n.state.sortDirection)}),e=k(e,u,d)}}var c=this.getCurrentPage();if(!this.props.useExternal&&o&&this.state.resultsPerPage*(c+1)<=this.state.resultsPerPage*this.state.maxPage&&c>=0)if(this.isInfiniteScrollEnabled())e=w(e,(c+1)*this.state.resultsPerPage);else{var p=j(e,c*this.state.resultsPerPage);e=(b||x)(p,p.length-this.state.resultsPerPage)}}for(var h=[],m=0;m0&&(f.children=s.getDataForRender(f[s.props.childrenColumnName],t,!1),"children"!==s.props.childrenColumnName&&delete f[s.props.childrenColumnName]),h.push(f)}return h},getCurrentResults:function(e){return this.state.filteredResults||e||this.props.results},getCurrentPage:function(){return this.props.externalCurrentPage||this.state.page},getCurrentSort:function(){return this.props.useExternal?this.props.externalSortColumn:this.state.sortColumn},getCurrentSortAscending:function(){return this.props.useExternal?this.props.externalSortAscending:"asc"===this.state.sortDirection},getCurrentMaxPage:function(){return this.props.useExternal?this.props.externalMaxPage:this.state.maxPage},getSortObject:function(){return{enableSort:this.props.enableSort,changeSort:this.changeSort,sortColumn:this.getCurrentSort(),sortAscending:this.getCurrentSortAscending(),sortDirection:this.state.sortDirection,sortAscendingClassName:this.props.sortAscendingClassName,sortDescendingClassName:this.props.sortDescendingClassName,sortAscendingComponent:this.props.sortAscendingComponent,sortDescendingComponent:this.props.sortDescendingComponent,sortDefaultComponent:this.props.sortDefaultComponent}},_toggleSelectAll:function(){var e=this.getDataForRender(this.getCurrentResults(),this.columnSettings.getColumns(),!0),t=!this.state.isSelectAllChecked,o=JSON.parse(JSON.stringify(this.state.selectedRowIds)),n=this;S(e,function(e){n._updateSelectedRowIds(e[n.props.uniqueIdentifier],o,t)},this),this.setState({isSelectAllChecked:t,selectedRowIds:o}),this.props.onSelectionChange&&this.props.onSelectionChange(o,t)},_toggleSelectRow:function(e,t){var o=this.getDataForRender(this.getCurrentResults(),this.columnSettings.getColumns(),!0),n=JSON.parse(JSON.stringify(this.state.selectedRowIds));this._updateSelectedRowIds(e[this.props.uniqueIdentifier],n,t);var s=this._getAreAllRowsChecked(n,V(o,this.props.uniqueIdentifier));this.setState({isSelectAllChecked:s,selectedRowIds:n}),this.props.onSelectionChange&&this.props.onSelectionChange(n,s)},_updateSelectedRowIds:function(e,t,o){o?void 0===C(t,function(t){return e===t})&&t.push(e):t.splice(t.indexOf(e),1)},_getIsSelectAllChecked:function(){return this.state.isSelectAllChecked},_getAreAllRowsChecked:function(e,t){return t.length===E(t,e).length},_getIsRowChecked:function(e){return this.state.selectedRowIds.indexOf(e[this.props.uniqueIdentifier])>-1},getSelectedRowIds:function(){return this.state.selectedRowIds},_resetSelectedRows:function(){this.setState({isSelectAllChecked:!1,selectedRowIds:[]})},getMultipleSelectionObject:function(){return{isMultipleSelection:!C(this.props.results,function(e){return"children"in e})&&this.props.isMultipleSelection,toggleSelectAll:this._toggleSelectAll,getIsSelectAllChecked:this._getIsSelectAllChecked,toggleSelectRow:this._toggleSelectRow,getSelectedRowIds:this.getSelectedRowIds,getIsRowChecked:this._getIsRowChecked}},isInfiniteScrollEnabled:function(){return!this.props.useCustomPagerComponent&&this.props.enableInfiniteScroll},getClearFixStyles:function(){return{clear:"both",display:"table",width:"100%"}},getSettingsStyles:function(){return{float:"left",width:"50%",textAlign:"right"}},getFilterStyles:function(){return{float:"left",width:"50%",textAlign:"left",color:"#222",minHeight:"1px"}},getFilter:function(){return this.props.showFilter&&!1===this.shouldUseCustomGridComponent()?this.props.useCustomFilterComponent?s.createElement(_,{changeFilter:this.setFilter,placeholderText:this.props.filterPlaceholderText,customFilterComponent:this.props.customFilterComponent,results:this.props.results,currentResults:this.getCurrentResults()}):s.createElement(l,{changeFilter:this.setFilter,placeholderText:this.props.filterPlaceholderText}):""},getSettings:function(){return this.props.showSettings?s.createElement("button",{type:"button",className:this.props.settingsToggleClassName,onClick:this.toggleColumnChooser,style:this.props.useGriddleStyles?{background:"none",border:"none",padding:0,margin:0,fontSize:14}:null},this.props.settingsText,this.props.settingsIconComponent):""},getTopSection:function(e,t){if(!1===this.props.showFilter&&!1===this.props.showSettings)return"";var o=null,n=null,r=null;return this.props.useGriddleStyles&&(o=this.getFilterStyles(),n=this.getSettingsStyles(),r=this.getClearFixStyles()),s.createElement("div",{className:"top-section",style:r},s.createElement("div",{className:"griddle-filter",style:o},e),s.createElement("div",{className:"griddle-settings-toggle",style:n},t))},getPagingSection:function(e,t){if(!1!==(this.props.showPager&&!this.isInfiniteScrollEnabled()&&!this.shouldUseCustomGridComponent()))return s.createElement("div",{className:"griddle-footer"},this.props.useCustomPagerComponent?s.createElement(f,{customPagerComponentOptions:this.props.customPagerComponentOptions,next:this.nextPage,previous:this.previousPage,currentPage:e,maxPage:t,setPage:this.setPage,nextText:this.props.nextText,previousText:this.props.previousText,customPagerComponent:this.props.customPagerComponent}):s.createElement(u,{useGriddleStyles:this.props.useGriddleStyles,next:this.nextPage,previous:this.previousPage,nextClassName:this.props.nextClassName,nextIconComponent:this.props.nextIconComponent,previousClassName:this.props.previousClassName,previousIconComponent:this.props.previousIconComponent,currentPage:e,maxPage:t,setPage:this.setPage,nextText:this.props.nextText,previousText:this.props.previousText}))},getColumnSelectorSection:function(e,t){return this.state.showColumnChooser?s.createElement(d,{columns:e,selectedColumns:t,setColumns:this.setColumns,settingsText:this.props.settingsText,settingsIconComponent:this.props.settingsIconComponent,maxRowsText:this.props.maxRowsText,setPageSize:this.setPageSize,showSetPageSize:!this.shouldUseCustomGridComponent(),resultsPerPage:this.state.resultsPerPage,enableToggleCustom:this.props.enableToggleCustom,toggleCustomComponent:this.toggleCustomComponent,useCustomComponent:this.shouldUseCustomRowComponent()||this.shouldUseCustomGridComponent(),useGriddleStyles:this.props.useGriddleStyles,enableCustomFormatText:this.props.enableCustomFormatText,columnMetadata:this.props.columnMetadata}):""},getCustomGridSection:function(){return s.createElement(this.props.customGridComponent,n({data:this.props.results,className:this.props.customGridComponentClassName},this.props.gridMetadata))},getCustomRowSection:function(e,t,o,n,r){return s.createElement("div",null,s.createElement(m,{data:e,columns:t,metadataColumns:o,globalData:r,className:this.props.customRowComponentClassName,customComponent:this.props.customRowComponent,style:this.props.useGriddleStyles?this.getClearFixStyles():null}),this.props.showPager&&n)},getStandardGridSection:function(e,t,o,n,r){var a=this.getSortObject(),l=this.getMultipleSelectionObject(),u=this.shouldShowNoDataSection(e),d=this.getNoDataSection();return s.createElement("div",{className:"griddle-body"},s.createElement(i,{useGriddleStyles:this.props.useGriddleStyles,noDataSection:d,showNoData:u,columnSettings:this.columnSettings,rowSettings:this.rowSettings,sortSettings:a,multipleSelectionSettings:l,filterByColumn:this.filterByColumn,isSubGriddle:this.props.isSubGriddle,useGriddleIcons:this.props.useGriddleIcons,useFixedLayout:this.props.useFixedLayout,showPager:this.props.showPager,pagingContent:n,data:e,className:this.props.tableClassName,enableInfiniteScroll:this.isInfiniteScrollEnabled(),nextPage:this.nextPage,showTableHeading:this.props.showTableHeading,useFixedHeader:this.props.useFixedHeader,parentRowCollapsedClassName:this.props.parentRowCollapsedClassName,parentRowExpandedClassName:this.props.parentRowExpandedClassName,parentRowCollapsedComponent:this.props.parentRowCollapsedComponent,parentRowExpandedComponent:this.props.parentRowExpandedComponent,bodyHeight:this.props.bodyHeight,paddingHeight:this.props.paddingHeight,rowHeight:this.props.rowHeight,infiniteScrollLoadTreshold:this.props.infiniteScrollLoadTreshold,externalLoadingComponent:this.props.externalLoadingComponent,externalIsLoading:this.props.externalIsLoading,hasMorePages:r,onRowClick:this.props.onRowClick,onRowMouseEnter:this.props.onRowMouseEnter,onRowMouseLeave:this.props.onRowMouseLeave,onRowWillMount:this.props.onRowWillMount,onRowWillUnmount:this.props.onRowWillUnmount}))},getContentSection:function(e,t,o,n,s,r){return this.shouldUseCustomGridComponent()&&null!==this.props.customGridComponent?this.getCustomGridSection():this.shouldUseCustomRowComponent()?this.getCustomRowSection(e,t,o,n,r):this.getStandardGridSection(e,t,o,n,s)},getNoDataSection:function(){return null!=this.props.customNoDataComponent?s.createElement("div",{className:this.props.noDataClassName},s.createElement(this.props.customNoDataComponent,this.props.customNoDataComponentProps)):s.createElement(c,{noDataMessage:this.props.noDataMessage})},shouldShowNoDataSection:function(e){return!this.props.allowEmptyGrid&&(!1===this.props.useExternal&&(void 0===e||0===e.length)||!0===this.props.useExternal&&!1===this.props.externalIsLoading&&0===e.length)},render:function(){var e=this.getCurrentResults(),t=(this.props.tableClassName,this.getFilter()),o=this.getSettings(),n=this.getTopSection(t,o),r=[],a=this.columnSettings.getColumns(),i=this.getDataForRender(e,a,!0),l=this.columnSettings.getMetadataColumns();this.props.columnMetadata?S(this.props.columnMetadata,function(e){"boolean"==typeof e.visible&&!1===e.visible||r.push(e.columnName)}):r=y.keys(T(e[0],l)),r=this.columnSettings.orderColumns(r);var u=this.getCurrentPage(),d=this.getCurrentMaxPage(),c=u+10?"griddle "+this.props.gridClassName:"griddle";return f+=this.shouldUseCustomRowComponent()?" griddle-custom":"",s.createElement("div",{className:f},n,m,s.createElement("div",{className:"griddle-container",style:this.props.useGriddleStyles&&!this.props.isSubGriddle?{border:"1px solid #DDD"}:null},h))}});h.Griddle=e.exports=H},"./node_modules/griddle-react/modules/rowProperties.js":function(e,t,o){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=function(){function e(e,t){for(var o=0;o-1}var s=o("./node_modules/lodash/_baseIndexOf.js");e.exports=n},"./node_modules/lodash/_arrayIncludesWith.js":function(e,t){function o(e,t,o){for(var n=-1,s=null==e?0:e.length;++n=d&&(p=u,h=!1,t=new s(t));e:for(;++c0&&o(d)?t>1?n(d,t-1,o,a,i):s(i,d):a||(i[i.length]=d)}return i}var s=o("./node_modules/lodash/_arrayPush.js"),r=o("./node_modules/lodash/_isFlattenable.js");e.exports=n},"./node_modules/lodash/_baseFor.js":function(e,t,o){var n=o("./node_modules/lodash/_createBaseFor.js"),s=n();e.exports=s},"./node_modules/lodash/_baseForOwn.js":function(e,t,o){function n(e,t){return e&&s(e,t,r)}var s=o("./node_modules/lodash/_baseFor.js"),r=o("./node_modules/lodash/keys.js");e.exports=n},"./node_modules/lodash/_baseGet.js":function(e,t,o){function n(e,t){t=s(t,e);for(var o=0,n=t.length;null!=e&&o=120&&v.length>=120)?new s(h&&v):void 0}v=e[0];var g=-1,y=m[0];e:for(;++gs?0:s+t),o=o>s?s:o,o<0&&(o+=s),s=t>o?0:o-t>>>0,t>>>=0;for(var r=Array(s);++nt||a&&i&&u&&!l&&!d||n&&i&&u||!o&&u||!r)return 1;if(!n&&!a&&!d&&e=l?u:u*("desc"==o[n]?-1:1)}return e.index-t.index}var s=o("./node_modules/lodash/_compareAscending.js");e.exports=n},"./node_modules/lodash/_copyArray.js":function(e,t){function o(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o1?o[s-1]:void 0,i=s>2?o[2]:void 0;for(a=e.length>3&&"function"==typeof a?(s--,a):void 0,i&&r(o[0],o[1],i)&&(a=s<3?void 0:a,s=1),t=Object(t);++n-1?i[l?t[u]:u]:void 0}}var s=o("./node_modules/lodash/_baseIteratee.js"),r=o("./node_modules/lodash/isArrayLike.js"),a=o("./node_modules/lodash/keys.js");e.exports=n},"./node_modules/lodash/_createToPairs.js":function(e,t,o){function n(e){return function(t){var o=r(t);return o==l?a(t):o==u?i(t):s(t,e(t))}}var s=o("./node_modules/lodash/_baseToPairs.js"),r=o("./node_modules/lodash/_getTag.js"),a=o("./node_modules/lodash/_mapToArray.js"),i=o("./node_modules/lodash/_setToPairs.js"),l="[object Map]",u="[object Set]";e.exports=n},"./node_modules/lodash/_customOmitClone.js":function(e,t,o){function n(e){return s(e)?void 0:e}var s=o("./node_modules/lodash/isPlainObject.js");e.exports=n},"./node_modules/lodash/_defineProperty.js":function(e,t,o){var n=o("./node_modules/lodash/_getNative.js"),s=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=s},"./node_modules/lodash/_equalArrays.js":function(e,t,o){function n(e,t,o,n,u,d){var c=o&i,p=e.length,h=t.length;if(p!=h&&!(c&&h>p))return!1;var m=d.get(e),f=d.get(t);if(m&&f)return m==t&&f==e;var _=-1,v=!0,g=o&l?new s:void 0;for(d.set(e,t),d.set(t,e);++_-1&&e%1==0&&e-1}var s=o("./node_modules/lodash/_assocIndexOf.js");e.exports=n},"./node_modules/lodash/_listCacheSet.js":function(e,t,o){function n(e,t){var o=this.__data__,n=s(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var s=o("./node_modules/lodash/_assocIndexOf.js");e.exports=n},"./node_modules/lodash/_mapCacheClear.js":function(e,t,o){function n(){this.size=0,this.__data__={hash:new s,map:new(a||r),string:new s}}var s=o("./node_modules/lodash/_Hash.js"),r=o("./node_modules/lodash/_ListCache.js"),a=o("./node_modules/lodash/_Map.js");e.exports=n},"./node_modules/lodash/_mapCacheDelete.js":function(e,t,o){function n(e){var t=s(this,e).delete(e);return this.size-=t?1:0,t}var s=o("./node_modules/lodash/_getMapData.js");e.exports=n},"./node_modules/lodash/_mapCacheGet.js":function(e,t,o){function n(e){return s(this,e).get(e)}var s=o("./node_modules/lodash/_getMapData.js");e.exports=n},"./node_modules/lodash/_mapCacheHas.js":function(e,t,o){function n(e){return s(this,e).has(e)}var s=o("./node_modules/lodash/_getMapData.js");e.exports=n},"./node_modules/lodash/_mapCacheSet.js":function(e,t,o){function n(e,t){var o=s(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var s=o("./node_modules/lodash/_getMapData.js");e.exports=n},"./node_modules/lodash/_mapToArray.js":function(e,t){function o(e){var t=-1,o=Array(e.size);return e.forEach(function(e,n){o[++t]=[n,e]}),o}e.exports=o},"./node_modules/lodash/_matchesStrictComparable.js":function(e,t){function o(e,t){return function(o){return null!=o&&o[e]===t&&(void 0!==t||e in Object(o))}}e.exports=o},"./node_modules/lodash/_memoizeCapped.js":function(e,t,o){function n(e){var t=s(e,function(e){return o.size===r&&o.clear(),e}),o=t.cache;return t}var s=o("./node_modules/lodash/memoize.js"),r=500;e.exports=n},"./node_modules/lodash/_nativeCreate.js":function(e,t,o){var n=o("./node_modules/lodash/_getNative.js"),s=n(Object,"create");e.exports=s},"./node_modules/lodash/_nativeKeys.js":function(e,t,o){var n=o("./node_modules/lodash/_overArg.js"),s=n(Object.keys,Object);e.exports=s},"./node_modules/lodash/_nativeKeysIn.js":function(e,t){function o(e){var t=[];if(null!=e)for(var o in Object(e))t.push(o);return t}e.exports=o},"./node_modules/lodash/_nodeUtil.js":function(e,t,o){(function(e){var n=o("./node_modules/lodash/_freeGlobal.js"),s="object"==typeof t&&t&&!t.nodeType&&t,r=s&&"object"==typeof e&&e&&!e.nodeType&&e,a=r&&r.exports===s,i=a&&n.process,l=function(){try{return r&&r.require&&r.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(t,o("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/lodash/_objectToString.js":function(e,t){function o(e){return s.call(e)}var n=Object.prototype,s=n.toString;e.exports=o},"./node_modules/lodash/_overArg.js":function(e,t){function o(e,t){return function(o){return e(t(o))}}e.exports=o},"./node_modules/lodash/_overRest.js":function(e,t,o){function n(e,t,o){return t=r(void 0===t?e.length-1:t,0),function(){for(var n=arguments,a=-1,i=r(n.length-t,0),l=Array(i);++a0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var n=800,s=16,r=Date.now;e.exports=o},"./node_modules/lodash/_stackClear.js":function(e,t,o){function n(){this.__data__=new s,this.size=0}var s=o("./node_modules/lodash/_ListCache.js");e.exports=n},"./node_modules/lodash/_stackDelete.js":function(e,t){function o(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}e.exports=o},"./node_modules/lodash/_stackGet.js":function(e,t){function o(e){return this.__data__.get(e)}e.exports=o},"./node_modules/lodash/_stackHas.js":function(e,t){function o(e){return this.__data__.has(e)}e.exports=o},"./node_modules/lodash/_stackSet.js":function(e,t,o){function n(e,t){var o=this.__data__;if(o instanceof s){var n=o.__data__;if(!r||n.length2?t[2]:void 0;for(u&&r(t[0],t[1],u)&&(n=1);++o-1:!!d&&s(e,t,o)>-1}var s=o("./node_modules/lodash/_baseIndexOf.js"),r=o("./node_modules/lodash/isArrayLike.js"),a=o("./node_modules/lodash/isString.js"),i=o("./node_modules/lodash/toInteger.js"),l=o("./node_modules/lodash/values.js"),u=Math.max;e.exports=n},"./node_modules/lodash/initial.js":function(e,t,o){function n(e){return(null==e?0:e.length)?s(e,0,-1):[]}var s=o("./node_modules/lodash/_baseSlice.js");e.exports=n},"./node_modules/lodash/intersection.js":function(e,t,o){var n=o("./node_modules/lodash/_arrayMap.js"),s=o("./node_modules/lodash/_baseIntersection.js"),r=o("./node_modules/lodash/_baseRest.js"),a=o("./node_modules/lodash/_castArrayLikeObject.js"),i=r(function(e){var t=n(e,a);return t.length&&t[0]===e[0]?s(t):[]});e.exports=i},"./node_modules/lodash/isArguments.js":function(e,t,o){var n=o("./node_modules/lodash/_baseIsArguments.js"),s=o("./node_modules/lodash/isObjectLike.js"),r=Object.prototype,a=r.hasOwnProperty,i=r.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return s(e)&&a.call(e,"callee")&&!i.call(e,"callee")};e.exports=l},"./node_modules/lodash/isArray.js":function(e,t){var o=Array.isArray;e.exports=o},"./node_modules/lodash/isArrayLike.js":function(e,t,o){function n(e){return null!=e&&r(e.length)&&!s(e)}var s=o("./node_modules/lodash/isFunction.js"),r=o("./node_modules/lodash/isLength.js");e.exports=n},"./node_modules/lodash/isArrayLikeObject.js":function(e,t,o){function n(e){return r(e)&&s(e)}var s=o("./node_modules/lodash/isArrayLike.js"),r=o("./node_modules/lodash/isObjectLike.js");e.exports=n},"./node_modules/lodash/isBuffer.js":function(e,t,o){(function(e){var n=o("./node_modules/lodash/_root.js"),s=o("./node_modules/lodash/stubFalse.js"),r="object"==typeof t&&t&&!t.nodeType&&t,a=r&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===r,l=i?n.Buffer:void 0,u=l?l.isBuffer:void 0,d=u||s;e.exports=d}).call(t,o("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/lodash/isEmpty.js":function(e,t,o){function n(e){if(null==e)return!0;if(l(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||c(e)||a(e)))return!e.length;var t=r(e);if(t==p||t==h)return!e.size;if(d(e))return!s(e).length;for(var o in e)if(f.call(e,o))return!1;return!0}var s=o("./node_modules/lodash/_baseKeys.js"),r=o("./node_modules/lodash/_getTag.js"),a=o("./node_modules/lodash/isArguments.js"),i=o("./node_modules/lodash/isArray.js"),l=o("./node_modules/lodash/isArrayLike.js"),u=o("./node_modules/lodash/isBuffer.js"),d=o("./node_modules/lodash/_isPrototype.js"),c=o("./node_modules/lodash/isTypedArray.js"),p="[object Map]",h="[object Set]",m=Object.prototype,f=m.hasOwnProperty;e.exports=n},"./node_modules/lodash/isFunction.js":function(e,t,o){function n(e){if(!r(e))return!1;var t=s(e);return t==i||t==l||t==a||t==u}var s=o("./node_modules/lodash/_baseGetTag.js"),r=o("./node_modules/lodash/isObject.js"),a="[object AsyncFunction]",i="[object Function]",l="[object GeneratorFunction]",u="[object Proxy]";e.exports=n},"./node_modules/lodash/isLength.js":function(e,t){function o(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}var n=9007199254740991;e.exports=o},"./node_modules/lodash/isMap.js":function(e,t,o){var n=o("./node_modules/lodash/_baseIsMap.js"),s=o("./node_modules/lodash/_baseUnary.js"),r=o("./node_modules/lodash/_nodeUtil.js"),a=r&&r.isMap,i=a?s(a):n;e.exports=i},"./node_modules/lodash/isNull.js":function(e,t){function o(e){return null===e}e.exports=o},"./node_modules/lodash/isObject.js":function(e,t){function o(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=o},"./node_modules/lodash/isObjectLike.js":function(e,t){function o(e){return null!=e&&"object"==typeof e}e.exports=o},"./node_modules/lodash/isPlainObject.js":function(e,t,o){function n(e){if(!a(e)||s(e)!=i)return!1;var t=r(e);if(null===t)return!0;var o=c.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&d.call(o)==p}var s=o("./node_modules/lodash/_baseGetTag.js"),r=o("./node_modules/lodash/_getPrototype.js"),a=o("./node_modules/lodash/isObjectLike.js"),i="[object Object]",l=Function.prototype,u=Object.prototype,d=l.toString,c=u.hasOwnProperty,p=d.call(Object);e.exports=n},"./node_modules/lodash/isSet.js":function(e,t,o){var n=o("./node_modules/lodash/_baseIsSet.js"),s=o("./node_modules/lodash/_baseUnary.js"),r=o("./node_modules/lodash/_nodeUtil.js"),a=r&&r.isSet,i=a?s(a):n;e.exports=i},"./node_modules/lodash/isString.js":function(e,t,o){function n(e){return"string"==typeof e||!r(e)&&a(e)&&s(e)==i}var s=o("./node_modules/lodash/_baseGetTag.js"),r=o("./node_modules/lodash/isArray.js"),a=o("./node_modules/lodash/isObjectLike.js"),i="[object String]";e.exports=n},"./node_modules/lodash/isSymbol.js":function(e,t,o){function n(e){return"symbol"==typeof e||r(e)&&s(e)==a}var s=o("./node_modules/lodash/_baseGetTag.js"),r=o("./node_modules/lodash/isObjectLike.js"),a="[object Symbol]";e.exports=n},"./node_modules/lodash/isTypedArray.js":function(e,t,o){var n=o("./node_modules/lodash/_baseIsTypedArray.js"),s=o("./node_modules/lodash/_baseUnary.js"),r=o("./node_modules/lodash/_nodeUtil.js"),a=r&&r.isTypedArray,i=a?s(a):n;e.exports=i},"./node_modules/lodash/isUndefined.js":function(e,t){function o(e){return void 0===e}e.exports=o},"./node_modules/lodash/keys.js":function(e,t,o){function n(e){return a(e)?s(e):r(e)}var s=o("./node_modules/lodash/_arrayLikeKeys.js"),r=o("./node_modules/lodash/_baseKeys.js"),a=o("./node_modules/lodash/isArrayLike.js");e.exports=n},"./node_modules/lodash/keysIn.js":function(e,t,o){function n(e){return a(e)?s(e,!0):r(e)}var s=o("./node_modules/lodash/_arrayLikeKeys.js"),r=o("./node_modules/lodash/_baseKeysIn.js"),a=o("./node_modules/lodash/isArrayLike.js");e.exports=n},"./node_modules/lodash/last.js":function(e,t){function o(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=o},"./node_modules/lodash/map.js":function(e,t,o){function n(e,t){return(i(e)?s:a)(e,r(t,3))}var s=o("./node_modules/lodash/_arrayMap.js"),r=o("./node_modules/lodash/_baseIteratee.js"),a=o("./node_modules/lodash/_baseMap.js"),i=o("./node_modules/lodash/isArray.js");e.exports=n},"./node_modules/lodash/memoize.js":function(e,t,o){function n(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(r);var o=function(){var n=arguments,s=t?t.apply(this,n):n[0],r=o.cache;if(r.has(s))return r.get(s);var a=e.apply(this,n);return o.cache=r.set(s,a)||r,a};return o.cache=new(n.Cache||s),o}var s=o("./node_modules/lodash/_MapCache.js"),r="Expected a function";n.Cache=s,e.exports=n},"./node_modules/lodash/omit.js":function(e,t,o){var n=o("./node_modules/lodash/_arrayMap.js"),s=o("./node_modules/lodash/_baseClone.js"),r=o("./node_modules/lodash/_baseUnset.js"),a=o("./node_modules/lodash/_castPath.js"),i=o("./node_modules/lodash/_copyObject.js"),l=o("./node_modules/lodash/_customOmitClone.js"),u=o("./node_modules/lodash/_flatRest.js"),d=o("./node_modules/lodash/_getAllKeysIn.js"),c=u(function(e,t){var o={};if(null==e)return o;var u=!1;t=n(t,function(t){return t=a(t,e),u||(u=t.length>1),t}),i(e,d(e),o),u&&(o=s(o,7,l));for(var c=t.length;c--;)r(o,t[c]);return o});e.exports=c},"./node_modules/lodash/orderBy.js":function(e,t,o){function n(e,t,o,n){return null==e?[]:(r(t)||(t=null==t?[]:[t]),o=n?void 0:o,r(o)||(o=null==o?[]:[o]),s(e,t,o))}var s=o("./node_modules/lodash/_baseOrderBy.js"),r=o("./node_modules/lodash/isArray.js");e.exports=n},"./node_modules/lodash/pick.js":function(e,t,o){var n=o("./node_modules/lodash/_basePick.js"),s=o("./node_modules/lodash/_flatRest.js"),r=s(function(e,t){return null==e?{}:n(e,t)});e.exports=r},"./node_modules/lodash/property.js":function(e,t,o){function n(e){return a(e)?s(i(e)):r(e)}var s=o("./node_modules/lodash/_baseProperty.js"),r=o("./node_modules/lodash/_basePropertyDeep.js"),a=o("./node_modules/lodash/_isKey.js"),i=o("./node_modules/lodash/_toKey.js");e.exports=n},"./node_modules/lodash/some.js":function(e,t,o){function n(e,t,o){var n=i(e)?s:a;return o&&l(e,t,o)&&(t=void 0),n(e,r(t,3))}var s=o("./node_modules/lodash/_arraySome.js"),r=o("./node_modules/lodash/_baseIteratee.js"),a=o("./node_modules/lodash/_baseSome.js"),i=o("./node_modules/lodash/isArray.js"),l=o("./node_modules/lodash/_isIterateeCall.js");e.exports=n},"./node_modules/lodash/sortBy.js":function(e,t,o){var n=o("./node_modules/lodash/_baseFlatten.js"),s=o("./node_modules/lodash/_baseOrderBy.js"),r=o("./node_modules/lodash/_baseRest.js"),a=o("./node_modules/lodash/_isIterateeCall.js"),i=r(function(e,t){if(null==e)return[];var o=t.length;return o>1&&a(e,t[0],t[1])?t=[]:o>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),s(e,n(t,1),[])});e.exports=i},"./node_modules/lodash/stubArray.js":function(e,t){function o(){return[]}e.exports=o},"./node_modules/lodash/stubFalse.js":function(e,t){function o(){return!1}e.exports=o},"./node_modules/lodash/take.js":function(e,t,o){function n(e,t,o){return e&&e.length?(t=o||void 0===t?1:r(t),s(e,0,t<0?0:t)):[]}var s=o("./node_modules/lodash/_baseSlice.js"),r=o("./node_modules/lodash/toInteger.js");e.exports=n},"./node_modules/lodash/toFinite.js":function(e,t,o){function n(e){return e?(e=s(e))===r||e===-r?(e<0?-1:1)*a:e===e?e:0:0===e?e:0}var s=o("./node_modules/lodash/toNumber.js"),r=1/0,a=1.7976931348623157e308;e.exports=n},"./node_modules/lodash/toInteger.js":function(e,t,o){function n(e){var t=s(e),o=t%1;return t===t?o?t-o:t:0}var s=o("./node_modules/lodash/toFinite.js");e.exports=n},"./node_modules/lodash/toNumber.js":function(e,t,o){function n(e){if("number"==typeof e)return e;if(a(e))return i;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=s(e);var o=u.test(e);return o||d.test(e)?c(e.slice(2),o?2:8):l.test(e)?i:+e}var s=o("./node_modules/lodash/_baseTrim.js"),r=o("./node_modules/lodash/isObject.js"),a=o("./node_modules/lodash/isSymbol.js"),i=NaN,l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,d=/^0o[0-7]+$/i,c=parseInt;e.exports=n},"./node_modules/lodash/toPairs.js":function(e,t,o){var n=o("./node_modules/lodash/_createToPairs.js"),s=o("./node_modules/lodash/keys.js"),r=n(s);e.exports=r},"./node_modules/lodash/toString.js":function(e,t,o){function n(e){return null==e?"":s(e)}var s=o("./node_modules/lodash/_baseToString.js");e.exports=n},"./node_modules/lodash/uniqueId.js":function(e,t,o){function n(e){var t=++r;return s(e)+t}var s=o("./node_modules/lodash/toString.js"),r=0;e.exports=n},"./node_modules/lodash/values.js":function(e,t,o){function n(e){return null==e?[]:s(e,r(e))}var s=o("./node_modules/lodash/_baseValues.js"),r=o("./node_modules/lodash/keys.js");e.exports=n},"./node_modules/lodash/without.js":function(e,t,o){var n=o("./node_modules/lodash/_baseDifference.js"),s=o("./node_modules/lodash/_baseRest.js"),r=o("./node_modules/lodash/isArrayLikeObject.js"),a=s(function(e,t){return r(e)?n(e,t):[]});e.exports=a},"./node_modules/lodash/zipObject.js":function(e,t,o){function n(e,t){return r(e||[],t||[],s)}var s=o("./node_modules/lodash/_assignValue.js"),r=o("./node_modules/lodash/_baseZipObject.js");e.exports=n},"./node_modules/object-assign/index.js":function(e,t,o){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var s=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var o,i,l=n(e),u=1;u=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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)}function i(e){return function(o){return t.createElement(c,l({component:e},o))}}var l=Object.assign||function(e){for(var t=1;t>>((3&t)<<3)&255;return s}}},"./node_modules/uuid/v1.js":function(e,t,o){function n(e,t,o){var n=t&&o||0,d=t||[];e=e||{};var c=e.node||s,p=void 0!==e.clockseq?e.clockseq:r;if(null==c||null==p){var h=a();null==c&&(c=s=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==p&&(p=r=16383&(h[6]<<8|h[7]))}var m=void 0!==e.msecs?e.msecs:(new Date).getTime(),f=void 0!==e.nsecs?e.nsecs:u+1,_=m-l+(f-u)/1e4;if(_<0&&void 0===e.clockseq&&(p=p+1&16383),(_<0||m>l)&&void 0===e.nsecs&&(f=0),f>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=m,u=f,r=p,m+=122192928e5;var v=(1e4*(268435455&m)+f)%4294967296;d[n++]=v>>>24&255,d[n++]=v>>>16&255,d[n++]=v>>>8&255,d[n++]=255&v;var g=m/4294967296*1e4&268435455;d[n++]=g>>>8&255,d[n++]=255&g,d[n++]=g>>>24&15|16,d[n++]=g>>>16&255,d[n++]=p>>>8|128,d[n++]=255&p;for(var y=0;y<6;++y)d[n+y]=c[y];return t||i(d)}var s,r,a=o("./node_modules/uuid/lib/rng-browser.js"),i=o("./node_modules/uuid/lib/bytesToUuid.js"),l=0,u=0;e.exports=n},"./node_modules/webpack/buildin/global.js":function(e,t){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(o=window)}e.exports=o},"./node_modules/webpack/buildin/module.js":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}},0:function(e,t){e.exports=React},1:function(e,t){e.exports=PropTypes},10:function(e,t){e.exports=Reactstrap},11:function(e,t){e.exports=ViewModeActions},12:function(e,t){e.exports=jQuery},13:function(e,t){e.exports=Config},14:function(e,t){e.exports=FormBuilderLoader},15:function(e,t){e.exports=ReactDom},16:function(e,t){e.exports=moment},2:function(e,t){e.exports=Injector},3:function(e,t){e.exports=i18n},4:function(e,t){e.exports=ReactRedux},5:function(e,t){e.exports=Redux},6:function(e,t){e.exports=classnames},7:function(e,t){e.exports=GraphQLTag},8:function(e,t){e.exports=Loading},9:function(e,t){e.exports=ReactApollo}}); \ No newline at end of file diff --git a/client/dist/js/bundle.js.map b/client/dist/js/bundle.js.map index a6d0d29..dbb45a0 100644 --- a/client/dist/js/bundle.js.map +++ b/client/dist/js/bundle.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///js/bundle.js","webpack:///webpack/bootstrap cb190e46a87af5bf00e8","webpack:///./client/src/boot/index.js","webpack:///./client/src/boot/registerComponents.js","webpack:///./client/src/boot/registerReducers.js","webpack:///./client/src/bundles/bundle.js","webpack:///./client/src/components/HistoryViewer/HistoryViewer.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerCompareWarning.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerHeading.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerSnapshot.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerSnapshotState.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerToolbar.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerVersion.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerVersionDetail.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerVersionList.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerVersionState.js","webpack:///./client/src/components/HistoryViewer/RollbackMutation.js","webpack:///./client/src/components/HistoryViewer/SnapshotViewerContainer.js","webpack:///./client/src/containers/HistoryViewer/HistoryViewerConfig.js","webpack:///./client/src/graphql/createRollbackMutation.js","webpack:///./client/src/graphql/createSnapshotsQuery.js","webpack:///./client/src/helpers/getDateFromVersion.js","webpack:///./client/src/legacy/ArchiveAdmin/ArchiveAdmin.js","webpack:///./client/src/legacy/HistoryViewer/HistoryViewerEntwine.js","webpack:///./client/src/state/historyviewer/HistoryViewerActionTypes.js","webpack:///./client/src/state/historyviewer/HistoryViewerActions.js","webpack:///./client/src/state/historyviewer/HistoryViewerReducer.js","webpack:///./client/src/types/compareType.js","webpack:///./client/src/types/messageType.js","webpack:///./client/src/types/versionType.js","webpack:///./~/create-react-class/factory.js","webpack:///./~/create-react-class/index.js","webpack:///./client/src/components/HistoryViewer/HistoryViewer.js-exposed","webpack:///./client/src/types/versionType.js-exposed","webpack:///./~/fbjs/lib/emptyFunction.js","webpack:///./~/fbjs/lib/emptyObject.js","webpack:///./~/fbjs/lib/invariant.js","webpack:///./~/fbjs/lib/warning.js","webpack:///./~/griddle-react/modules/columnProperties.js","webpack:///./~/griddle-react/modules/customFilterContainer.jsx.js","webpack:///./~/griddle-react/modules/customPaginationContainer.jsx.js","webpack:///./~/griddle-react/modules/customRowComponentContainer.jsx.js","webpack:///./~/griddle-react/modules/deep.js","webpack:///./~/griddle-react/modules/gridFilter.jsx.js","webpack:///./~/griddle-react/modules/gridNoData.jsx.js","webpack:///./~/griddle-react/modules/gridPagination.jsx.js","webpack:///./~/griddle-react/modules/gridRow.jsx.js","webpack:///./~/griddle-react/modules/gridRowContainer.jsx.js","webpack:///./~/griddle-react/modules/gridSettings.jsx.js","webpack:///./~/griddle-react/modules/gridTable.jsx.js","webpack:///./~/griddle-react/modules/gridTitle.jsx.js","webpack:///./~/griddle-react/modules/griddle.jsx.js","webpack:///./~/griddle-react/modules/rowProperties.js","webpack:///./~/lodash/_DataView.js","webpack:///./~/lodash/_Hash.js","webpack:///./~/lodash/_ListCache.js","webpack:///./~/lodash/_Map.js","webpack:///./~/lodash/_MapCache.js","webpack:///./~/lodash/_Promise.js","webpack:///./~/lodash/_Set.js","webpack:///./~/lodash/_SetCache.js","webpack:///./~/lodash/_Stack.js","webpack:///./~/lodash/_Symbol.js","webpack:///./~/lodash/_Uint8Array.js","webpack:///./~/lodash/_WeakMap.js","webpack:///./~/lodash/_apply.js","webpack:///./~/lodash/_arrayEach.js","webpack:///./~/lodash/_arrayFilter.js","webpack:///./~/lodash/_arrayIncludes.js","webpack:///./~/lodash/_arrayIncludesWith.js","webpack:///./~/lodash/_arrayLikeKeys.js","webpack:///./~/lodash/_arrayMap.js","webpack:///./~/lodash/_arrayPush.js","webpack:///./~/lodash/_arraySome.js","webpack:///./~/lodash/_assignValue.js","webpack:///./~/lodash/_assocIndexOf.js","webpack:///./~/lodash/_baseAssign.js","webpack:///./~/lodash/_baseAssignIn.js","webpack:///./~/lodash/_baseAssignValue.js","webpack:///./~/lodash/_baseClone.js","webpack:///./~/lodash/_baseCreate.js","webpack:///./~/lodash/_baseDifference.js","webpack:///./~/lodash/_baseEach.js","webpack:///./~/lodash/_baseFilter.js","webpack:///./~/lodash/_baseFindIndex.js","webpack:///./~/lodash/_baseFlatten.js","webpack:///./~/lodash/_baseFor.js","webpack:///./~/lodash/_baseForOwn.js","webpack:///./~/lodash/_baseGet.js","webpack:///./~/lodash/_baseGetAllKeys.js","webpack:///./~/lodash/_baseGetTag.js","webpack:///./~/lodash/_baseHasIn.js","webpack:///./~/lodash/_baseIndexOf.js","webpack:///./~/lodash/_baseIntersection.js","webpack:///./~/lodash/_baseIsArguments.js","webpack:///./~/lodash/_baseIsEqual.js","webpack:///./~/lodash/_baseIsEqualDeep.js","webpack:///./~/lodash/_baseIsMap.js","webpack:///./~/lodash/_baseIsMatch.js","webpack:///./~/lodash/_baseIsNaN.js","webpack:///./~/lodash/_baseIsNative.js","webpack:///./~/lodash/_baseIsSet.js","webpack:///./~/lodash/_baseIsTypedArray.js","webpack:///./~/lodash/_baseIteratee.js","webpack:///./~/lodash/_baseKeys.js","webpack:///./~/lodash/_baseKeysIn.js","webpack:///./~/lodash/_baseMap.js","webpack:///./~/lodash/_baseMatches.js","webpack:///./~/lodash/_baseMatchesProperty.js","webpack:///./~/lodash/_baseOrderBy.js","webpack:///./~/lodash/_basePick.js","webpack:///./~/lodash/_basePickBy.js","webpack:///./~/lodash/_baseProperty.js","webpack:///./~/lodash/_basePropertyDeep.js","webpack:///./~/lodash/_baseRest.js","webpack:///./~/lodash/_baseSet.js","webpack:///./~/lodash/_baseSetToString.js","webpack:///./~/lodash/_baseSlice.js","webpack:///./~/lodash/_baseSome.js","webpack:///./~/lodash/_baseSortBy.js","webpack:///./~/lodash/_baseTimes.js","webpack:///./~/lodash/_baseToPairs.js","webpack:///./~/lodash/_baseToString.js","webpack:///./~/lodash/_baseUnary.js","webpack:///./~/lodash/_baseUnset.js","webpack:///./~/lodash/_baseValues.js","webpack:///./~/lodash/_baseZipObject.js","webpack:///./~/lodash/_cacheHas.js","webpack:///./~/lodash/_castArrayLikeObject.js","webpack:///./~/lodash/_castFunction.js","webpack:///./~/lodash/_castPath.js","webpack:///./~/lodash/_cloneArrayBuffer.js","webpack:///./~/lodash/_cloneBuffer.js","webpack:///./~/lodash/_cloneDataView.js","webpack:///./~/lodash/_cloneRegExp.js","webpack:///./~/lodash/_cloneSymbol.js","webpack:///./~/lodash/_cloneTypedArray.js","webpack:///./~/lodash/_compareAscending.js","webpack:///./~/lodash/_compareMultiple.js","webpack:///./~/lodash/_copyArray.js","webpack:///./~/lodash/_copyObject.js","webpack:///./~/lodash/_copySymbols.js","webpack:///./~/lodash/_copySymbolsIn.js","webpack:///./~/lodash/_coreJsData.js","webpack:///./~/lodash/_createAssigner.js","webpack:///./~/lodash/_createBaseEach.js","webpack:///./~/lodash/_createBaseFor.js","webpack:///./~/lodash/_createFind.js","webpack:///./~/lodash/_createToPairs.js","webpack:///./~/lodash/_customOmitClone.js","webpack:///./~/lodash/_defineProperty.js","webpack:///./~/lodash/_equalArrays.js","webpack:///./~/lodash/_equalByTag.js","webpack:///./~/lodash/_equalObjects.js","webpack:///./~/lodash/_flatRest.js","webpack:///./~/lodash/_freeGlobal.js","webpack:///./~/lodash/_getAllKeys.js","webpack:///./~/lodash/_getAllKeysIn.js","webpack:///./~/lodash/_getMapData.js","webpack:///./~/lodash/_getMatchData.js","webpack:///./~/lodash/_getNative.js","webpack:///./~/lodash/_getPrototype.js","webpack:///./~/lodash/_getRawTag.js","webpack:///./~/lodash/_getSymbols.js","webpack:///./~/lodash/_getSymbolsIn.js","webpack:///./~/lodash/_getTag.js","webpack:///./~/lodash/_getValue.js","webpack:///./~/lodash/_hasPath.js","webpack:///./~/lodash/_hashClear.js","webpack:///./~/lodash/_hashDelete.js","webpack:///./~/lodash/_hashGet.js","webpack:///./~/lodash/_hashHas.js","webpack:///./~/lodash/_hashSet.js","webpack:///./~/lodash/_initCloneArray.js","webpack:///./~/lodash/_initCloneByTag.js","webpack:///./~/lodash/_initCloneObject.js","webpack:///./~/lodash/_isFlattenable.js","webpack:///./~/lodash/_isIndex.js","webpack:///./~/lodash/_isIterateeCall.js","webpack:///./~/lodash/_isKey.js","webpack:///./~/lodash/_isKeyable.js","webpack:///./~/lodash/_isMasked.js","webpack:///./~/lodash/_isPrototype.js","webpack:///./~/lodash/_isStrictComparable.js","webpack:///./~/lodash/_listCacheClear.js","webpack:///./~/lodash/_listCacheDelete.js","webpack:///./~/lodash/_listCacheGet.js","webpack:///./~/lodash/_listCacheHas.js","webpack:///./~/lodash/_listCacheSet.js","webpack:///./~/lodash/_mapCacheClear.js","webpack:///./~/lodash/_mapCacheDelete.js","webpack:///./~/lodash/_mapCacheGet.js","webpack:///./~/lodash/_mapCacheHas.js","webpack:///./~/lodash/_mapCacheSet.js","webpack:///./~/lodash/_mapToArray.js","webpack:///./~/lodash/_matchesStrictComparable.js","webpack:///./~/lodash/_memoizeCapped.js","webpack:///./~/lodash/_nativeCreate.js","webpack:///./~/lodash/_nativeKeys.js","webpack:///./~/lodash/_nativeKeysIn.js","webpack:///./~/lodash/_nodeUtil.js","webpack:///./~/lodash/_objectToString.js","webpack:///./~/lodash/_overArg.js","webpack:///./~/lodash/_overRest.js","webpack:///./~/lodash/_parent.js","webpack:///./~/lodash/_root.js","webpack:///./~/lodash/_setCacheAdd.js","webpack:///./~/lodash/_setCacheHas.js","webpack:///./~/lodash/_setToArray.js","webpack:///./~/lodash/_setToPairs.js","webpack:///./~/lodash/_setToString.js","webpack:///./~/lodash/_shortOut.js","webpack:///./~/lodash/_stackClear.js","webpack:///./~/lodash/_stackDelete.js","webpack:///./~/lodash/_stackGet.js","webpack:///./~/lodash/_stackHas.js","webpack:///./~/lodash/_stackSet.js","webpack:///./~/lodash/_strictIndexOf.js","webpack:///./~/lodash/_stringToPath.js","webpack:///./~/lodash/_toKey.js","webpack:///./~/lodash/_toSource.js","webpack:///./~/lodash/assign.js","webpack:///./~/lodash/constant.js","webpack:///./~/lodash/defaults.js","webpack:///./~/lodash/difference.js","webpack:///./~/lodash/drop.js","webpack:///./~/lodash/dropRight.js","webpack:///./~/lodash/eq.js","webpack:///./~/lodash/filter.js","webpack:///./~/lodash/find.js","webpack:///./~/lodash/findIndex.js","webpack:///./~/lodash/flatten.js","webpack:///./~/lodash/forEach.js","webpack:///./~/lodash/forOwn.js","webpack:///./~/lodash/get.js","webpack:///./~/lodash/hasIn.js","webpack:///./~/lodash/identity.js","webpack:///./~/lodash/includes.js","webpack:///./~/lodash/initial.js","webpack:///./~/lodash/intersection.js","webpack:///./~/lodash/isArguments.js","webpack:///./~/lodash/isArray.js","webpack:///./~/lodash/isArrayLike.js","webpack:///./~/lodash/isArrayLikeObject.js","webpack:///./~/lodash/isBuffer.js","webpack:///./~/lodash/isEmpty.js","webpack:///./~/lodash/isFunction.js","webpack:///./~/lodash/isLength.js","webpack:///./~/lodash/isMap.js","webpack:///./~/lodash/isNull.js","webpack:///./~/lodash/isObject.js","webpack:///./~/lodash/isObjectLike.js","webpack:///./~/lodash/isPlainObject.js","webpack:///./~/lodash/isSet.js","webpack:///./~/lodash/isString.js","webpack:///./~/lodash/isSymbol.js","webpack:///./~/lodash/isTypedArray.js","webpack:///./~/lodash/isUndefined.js","webpack:///./~/lodash/keys.js","webpack:///./~/lodash/keysIn.js","webpack:///./~/lodash/last.js","webpack:///./~/lodash/map.js","webpack:///./~/lodash/memoize.js","webpack:///./~/lodash/omit.js","webpack:///./~/lodash/orderBy.js","webpack:///./~/lodash/pick.js","webpack:///./~/lodash/property.js","webpack:///./~/lodash/some.js","webpack:///./~/lodash/sortBy.js","webpack:///./~/lodash/stubArray.js","webpack:///./~/lodash/stubFalse.js","webpack:///./~/lodash/take.js","webpack:///./~/lodash/toFinite.js","webpack:///./~/lodash/toInteger.js","webpack:///./~/lodash/toNumber.js","webpack:///./~/lodash/toPairs.js","webpack:///./~/lodash/toString.js","webpack:///./~/lodash/uniqueId.js","webpack:///./~/lodash/values.js","webpack:///./~/lodash/without.js","webpack:///./~/lodash/zipObject.js","webpack:///./~/object-assign/index.js","webpack:///./~/react-resize-aware/dist/index.js","webpack:///./~/uuid/lib/bytesToUuid.js","webpack:///./~/uuid/lib/rng-browser.js","webpack:///./~/uuid/v1.js","webpack:///(webpack)/buildin/global.js","webpack:///(webpack)/buildin/module.js","webpack:///external \"React\"","webpack:///external \"PropTypes\"","webpack:///external \"Reactstrap\"","webpack:///external \"ViewModeActions\"","webpack:///external \"jQuery\"","webpack:///external \"Config\"","webpack:///external \"FormBuilderLoader\"","webpack:///external \"ReactDom\"","webpack:///external \"moment\"","webpack:///external \"Injector\"","webpack:///external \"i18n\"","webpack:///external \"ReactRedux\"","webpack:///external \"Redux\"","webpack:///external \"classnames\"","webpack:///external \"ReactApollo\"","webpack:///external \"GraphQLTag\"","webpack:///external \"Loading\""],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","value","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","./client/src/boot/index.js","_interopRequireDefault","obj","default","_registerComponents","_registerComponents2","_registerReducers","_registerReducers2","window","document","addEventListener","./client/src/boot/registerComponents.js","_Injector","_Injector2","_HistoryViewer","_HistoryViewer2","_SnapshotViewerContainer","_SnapshotViewerContainer2","_HistoryViewerHeading","_HistoryViewerHeading2","_HistoryViewerToolbar","_HistoryViewerToolbar2","_HistoryViewerVersion","_HistoryViewerVersion2","_HistoryViewerVersionDetail","_HistoryViewerVersionDetail2","_HistoryViewerVersionList","_HistoryViewerVersionList2","_HistoryViewerVersionState","_HistoryViewerVersionState2","_HistoryViewerSnapshotState","_HistoryViewerSnapshotState2","_HistoryViewerSnapshot","_HistoryViewerSnapshot2","_HistoryViewerCompareWarning","_HistoryViewerCompareWarning2","_RollbackMutation","_RollbackMutation2","Injector","component","register","HistoryViewer","SnapshotViewerContainer","RollbackMutation","registerMany","SnapshotHistoryViewerHeading","HistoryViewerHeading","SnapshotHistoryViewerToolbar","HistoryViewerToolbar","SnapshotHistoryViewerVersion","HistoryViewerVersion","SnapshotHistoryViewerVersionDetail","HistoryViewerVersionDetail","SnapshotHistoryViewerVersionList","HistoryViewerVersionList","SnapshotHistoryViewerVersionState","HistoryViewerVersionState","SnapshotHistoryViewerSnapshotState","HistoryViewerSnapshotState","SnapshotHistoryViewerSnapshot","HistoryViewerSnapshot","SnapshotHistoryViewerCompareWarning","HistoryViewerCompareWarning","force","./client/src/boot/registerReducers.js","_redux","_HistoryViewerReducer","_HistoryViewerReducer2","registerReducers","reducer","combineReducers","historyViewer","historyViewerReducer","./client/src/bundles/bundle.js","require","./client/src/components/HistoryViewer/HistoryViewer.js","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","create","constructor","writable","setPrototypeOf","__proto__","mapStateToProps","state","_state$versionedAdmin","versionedAdmin","currentPage","currentVersion","previewMode","page","compare","previewState","viewMode","activeState","mapDispatchToProps","dispatch","onSelect","id","_HistoryViewerActions","showVersion","clearMessages","onSetPage","setCurrentPage","onResize","panelWidth","viewModeActions","enableOrDisableSplitMode","Component","VERSION_MODE_DATE","VERSION_MODE_VERSION","undefined","_extends","assign","target","arguments","length","source","key","_createClass","defineProperties","props","descriptor","protoProps","staticProps","_react","_react2","_reactRedux","_griddleReact","_griddleReact2","_HistoryViewerConfig","_HistoryViewerConfig2","_i18n","_i18n2","_Loading","_Loading2","_versionType","_compareType","_classnames","_classnames2","_reactResizeAware","_reactResizeAware2","_ViewModeActions","newObj","_propTypes","_propTypes2","_Component","this","_this","getPrototypeOf","handleSetPage","bind","handleNextPage","handlePrevPage","prevProps","prevPage","_props","versions","actions","goToPage","SnapshotHistory","edges","map","_ref","node","OriginVersion","Author","AbsoluteLink","IsFullVersion","Version","BaseVersion","_props2","isInGridField","history-viewer__compare-mode","history-viewer--no-margins","isListView","LatestDraftVersion","latestDraftVersion","getVersions","filter","version","_props3","versionFrom","versionTo","_this2","_props4","isPreviewable","recordId","recordClass","typeName","schemaUrl","VersionDetailComponent","_props4$compare","_props4$compare$versi","_props4$compare$versi2","schemaVersionReplacements",":id",":class",":date",":version","LastEdited","schemaCompareReplacements",":from",":to","schemaSearch","schemaReplacements","latestVersion","getLatestVersion","isLatestVersion","replace","match","compareModeAvailable","createElement","className","getContainerClasses","_ref2","width","_props5","limit","totalVersions","pageInfo","totalCount","setPage","maxPage","Math","ceil","next","nextText","i18n","_t","previous","previousText","useGriddleStyles","GridPagination","_props6","ListComponent","selectionListClasses","extraClass","_props7","CompareWarningComponent","hasVersionFrom","renderComparisonSelectionList","showHeader","renderPagination","renderVersionDetail","renderVersionList","_props8","loading","renderCompareMode","propTypes","contextKey","PropTypes","string","number","oneOfType","func","isRequired","offset","bool","versionType","compareType","shape","Versions","arrayOf","oneOf","defaultProps","compose","connect","historyViewerConfig","inject","_ref3","./client/src/components/HistoryViewer/HistoryViewerCompareWarning.js","isCompare","onDismissCompare","setCompareMode","handleDismissCompare","onClick","./client/src/components/HistoryViewer/HistoryViewerHeading.js","compareModeSelected","onCompareModeSelect","onCompareModeUnselect","_reactstrap","toggle","handleCompareModeChange","dropdownOpen","setState","prevState","Dropdown","isOpen","DropdownToggle","DropdownMenu","right","type","checked","onChange","htmlFor","role","renderDropdown","./client/src/components/HistoryViewer/HistoryViewerSnapshot.js","selectedVersion","showDate","_getDateFromVersion","_getDateFromVersion2","handleClick","handleKeyUp","handleClose","initial","isComparing","isActive","defaultClasses","history-viewer__row","history-viewer__snapshot","history-viewer__row--current","history-viewer__snapshot--initial","history-viewer__snapshot--muted","e","stopPropagation","event","keyCode","StateComponent","FormActionComponent","_version$Author","FirstName","Surname","author","rowTitle","getClassNames","title","date","onKeyUp","tabIndex","ActivityAgo","icon","attributes","buttonStyle","FormAction","./client/src/components/HistoryViewer/HistoryViewerSnapshotState.js","_VersionedState","apply","_window","_props$version","ActivityDescription","ActivityType","prefix","translateType","lines","split","React","VersionedState","BadgeComponent","./client/src/components/HistoryViewer/HistoryViewerToolbar.js","onAfterRevert","versionId","addMessage","sprintf","showList","handleRevert","handleToggleRevertTooltip","isReverting","revertTooltipOpen","tooltipTimer","rollback","handler","variables","toVersion","then","ViewModeComponent","canRollback","rollbackMessage","_state","revertButtonTitle","data","disabled","Tooltip","trigger","placement","area","revertToVersion","./client/src/components/HistoryViewer/HistoryViewerVersion.js","setCompareTo","setCompareFrom","onCompareMode","handleCompare","_props$compare","compareFrom","compareTo","history-viewer__row--comparison-selected","translatedText","renderCompareButton","renderSelectedMessage","renderClearButton","getAuthor","renderActions","array","defaultVersion","context","./client/src/components/HistoryViewer/HistoryViewerVersionDetail.js","_FormBuilderLoader","_FormBuilderLoader2","_PureComponent","toggleToolbarClass","nextProps","isCompareMode","add","selector","querySelector","classList","remove","PreviewComponent","itemLinks","preview","Stage","href","itemId","ToolbarComponent","identifier","containerClasses","extraListClasses","history-viewer__table","history-viewer__table--current","history-viewer__table--compare","formClasses","history-viewer__version-detail","history-viewer__version-detail--compare","getListVersions","ID","refetchSchemaOnMount","renderToolbar","fixed","renderDetails","renderPreview","PureComponent","./client/src/components/HistoryViewer/HistoryViewerVersionList.js","messages","_messageType","table","history-viewer__table--headerless","_props2$compare","isCurrent","isCompareFrom","isCompareTo","FormAlertComponent","message","closeLabel","HeadingComponent","headingProps","VersionComponent","SnapshotComponent","renderHeader","index","isVersionActive","messageType","FormAlert","./client/src/components/HistoryViewer/HistoryViewerVersionState.js","IsLiveSnapshot","status","inverted","getPublishedState","getBadges","./client/src/components/HistoryViewer/RollbackMutation.js","_reactApollo","_createRollbackMutation","_createRollbackMutation2","children","ROLLBACK","useMemo","Mutation","mutation","refetchQueries","./client/src/components/HistoryViewer/SnapshotViewerContainer.js","_createSnapshotsQuery","_createSnapshotsQuery2","_ref$data","_ref$data$actions","SnapshotViewerComponent","QUERY","page_id","Query","query","fetchPolicy","error","refetch","readOne","errors","graphQLErrors","graphQLError","./client/src/containers/HistoryViewer/HistoryViewerConfig.js","_Config","_Config2","HistoryViewerConfigProvider","_React$Component","Config","getSection","formName","queryParts","config","getConfig","_getSchemaUrlDetails","getSchemaUrlDetails","form","concat","join","getSchemaUrl","./client/src/graphql/createRollbackMutation.js","_templateObject","strings","raw","freeze","_graphqlTag","_graphqlTag2","createRollbakMutation","gql","./client/src/graphql/createSnapshotsQuery.js","createSnapshotsQuery","./client/src/helpers/getDateFromVersion.js","_moment","_moment2","getDateFromVersion","moment","locale","detectLocale","format","./client/src/legacy/ArchiveAdmin/ArchiveAdmin.js","_jquery","jQuery","entwine","$","onmatch","attr","onchange","preventDefault","targetClassName","val","othersArchiveUrl","url","loadPanel","pjax","./client/src/legacy/HistoryViewer/HistoryViewerEntwine.js","_jquery2","_reactDom","_reactDom2","cmsContent","closest","HistoryViewerComponent","loadComponent","schemaData","hasClass","ReactDOM","render","onunmatch","unmountComponentAtNode","onclick","_super","hide","show","parent","css","position","bottom","left","./client/src/state/historyviewer/HistoryViewerActionTypes.js","_defineProperty","reduce","item","./client/src/state/historyviewer/HistoryViewerActions.js","HISTORY_VIEWER","SHOW_VERSION","payload","SHOW_DATE","SHOW_LIST","SET_CURRENT_PAGE","ADD_MESSAGE","_v2","CLEAR_MESSAGES","enabled","SET_COMPARE_MODE","SET_COMPARE_FROM","SET_COMPARE_TO","_HistoryViewerActionTypes","_HistoryViewerActionTypes2","_v","./client/src/state/historyviewer/HistoryViewerReducer.js","_toConsumableArray","arr","Array","isArray","arr2","from","initialState","currentDate","initialCompare","_state$compare","_state$compare2","defaultCompare","./client/src/types/compareType.js","./client/src/types/messageType.js","./client/src/types/versionType.js","memberShape","Published","boolean","LiveVersion","Message","Publisher","./node_modules/babel-loader/lib/index.js?{\"presets\":[[\"env\",{\"modules\":false}],\"react\"],\"plugins\":[\"transform-object-rest-spread\"],\"comments\":false,\"cacheDirectory\":true}!./client/src/components/HistoryViewer/HistoryViewer.js","./node_modules/babel-loader/lib/index.js?{\"presets\":[[\"env\",{\"modules\":false}],\"react\"],\"plugins\":[\"transform-object-rest-spread\"],\"comments\":false,\"cacheDirectory\":true}!./client/src/types/versionType.js","./node_modules/create-react-class/factory.js","identity","fn","factory","ReactComponent","isValidElement","ReactNoopUpdateQueue","validateTypeDef","typeDef","location","propName","warning","displayName","ReactPropTypeLocationNames","validateMethodOverride","isAlreadyDefined","specPolicy","ReactClassInterface","ReactClassMixin","_invariant","mixSpecIntoComponent","spec","typeofSpec","proto","autoBindPairs","__reactAutoBindPairs","MIXINS_KEY","RESERVED_SPEC_KEYS","mixins","isReactClassMethod","isFunction","shouldAutoBind","autobind","push","createMergedResultFunction","createChainedFunction","mixStaticSpecIntoComponent","statics","isReserved","ReactClassStaticInterface","mergeIntoWithNoDuplicateKeys","one","two","a","b","bindAutoBindMethod","method","boundMethod","__reactBoundContext","__reactBoundMethod","__reactBoundArguments","componentName","_bind","newThis","_len","args","_key","reboundMethod","bindAutoBindMethods","pairs","autoBindKey","createClass","updater","refs","emptyObject","getInitialState","_isMockFunction","ReactClassComponent","injectedMixins","forEach","IsMountedPreMixin","IsMountedPostMixin","getDefaultProps","isReactClassApproved","componentShouldUpdate","componentWillRecieveProps","UNSAFE_componentWillRecieveProps","methodName","contextTypes","childContextTypes","getChildContext","componentWillMount","componentDidMount","componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","componentDidUpdate","componentWillUnmount","UNSAFE_componentWillMount","UNSAFE_componentWillReceiveProps","UNSAFE_componentWillUpdate","updateComponent","getDerivedStateFromProps","_assign","__isMounted","replaceState","newState","callback","enqueueReplaceState","isMounted","__didWarnIsMounted","prop","childContext","./node_modules/create-react-class/index.js","Error","./node_modules/expose-loader/index.js?SnapshotsViewer!./client/src/components/HistoryViewer/HistoryViewer.js-exposed","global","./node_modules/expose-loader/index.js?versionType!./client/src/types/versionType.js-exposed","./node_modules/fbjs/lib/emptyFunction.js","makeEmptyFunction","arg","emptyFunction","thatReturns","thatReturnsFalse","thatReturnsTrue","thatReturnsNull","thatReturnsThis","thatReturnsArgument","./node_modules/fbjs/lib/emptyObject.js","./node_modules/fbjs/lib/invariant.js","invariant","condition","f","validateFormat","argIndex","framesToPop","./node_modules/fbjs/lib/warning.js","printWarning","console","x","indexOf","_len2","_key2","./node_modules/griddle-react/modules/columnProperties.js","find","sortBy","difference","ColumnProperties","allColumns","filteredColumns","childrenColumnName","columnMetadata","metadataColumns","meta","visible","columnName","getColumns","propertyName","defaultValue","getColumnMetadataByName","cols","metaItem","isNaN","order","orderColumns","./node_modules/griddle-react/modules/customFilterContainer.jsx.js","createReactClass","CustomFilterContainer","placeholderText","that","customFilterComponent","log","changeFilter","results","currentResults","./node_modules/griddle-react/modules/customPaginationContainer.jsx.js","CustomPaginationContainer","customPagerComponent","customPagerComponentOptions","./node_modules/griddle-react/modules/customRowComponentContainer.jsx.js","CustomRowComponentContainer","customComponent","globalData","nodes","row","showPager","pagingContent","style","./node_modules/griddle-react/modules/deep.js","keysFromPath","path","result","re","elements","exec","getPath","ks","powerPick","keys","iteratee","getKeys","fullKey","isObject","Date","iterObject","thing","isPlainObject","forOwn","getObjectValues","pick","getAt","./node_modules/griddle-react/modules/gridFilter.jsx.js","GridFilter","handleChange","placeholder","./node_modules/griddle-react/modules/gridNoData.jsx.js","GridNoData","noDataMessage","./node_modules/griddle-react/modules/gridPagination.jsx.js","nextClassName","previousClassName","nextIconComponent","previousIconComponent","pageChange","parseInt","color","border","background","margin","leftStyle","middleStyle","rightStyle","baseStyle","float","minHeight","marginTop","textAlign","options","./node_modules/griddle-react/modules/gridRow.jsx.js","deep","zipObject","defaults","toPairs","without","GridRow","isChildRow","showChildren","columnSettings","rowSettings","hasChildren","useGriddleIcons","isSubGriddle","paddingHeight","rowHeight","parentRowCollapsedClassName","parentRowExpandedClassName","parentRowCollapsedComponent","parentRowExpandedComponent","onRowClick","multipleSelectionSettings","onRowMouseEnter","onRowMouseLeave","onRowWillMount","onRowWillUnmount","toggleChildren","handleMouseEnter","handleMouseLeave","handleSelectionChange","handleSelectClick","isMultipleSelection","toggleSelectRow","selected","verifyProps","formatData","String","columnStyles","padding","height","backgroundColor","borderTopColor","columns","defaultValues","dataView","trOnClick","tdOnClick","col","returnValue","firstColAppend","fontSize","marginRight","paddingLeft","hasColumnMetadata","rowData","metadata","onMouseEnter","onMouseLeave","cssClassName","getSelectedRowIds","unshift","getIsRowChecked","ref","getBodyRowMetadataClass","./node_modules/griddle-react/modules/gridRowContainer.jsx.js","GridRowContainer","setShowChildren","rowComponent","isCustom","uniqueId","getRowKey","Griddle","colSpan","getVisibleColumnCount","rowMetadata","tableClassName","showTableHeading","./node_modules/griddle-react/modules/gridSettings.jsx.js","includes","GridSettings","selectedColumns","settingsText","maxRowsText","resultsPerPage","enableToggleCustom","useCustomComponent","toggleCustomComponent","setPageSize","dataset","getAttribute","setColumns","locked","data-name","toggleCustom","enableCustomFormatText","showSetPageSize","marginBottom","clear","display","borderBottom","./node_modules/griddle-react/modules/gridTable.jsx.js","GridTitle","GridTable","sortSettings","enableInfiniteScroll","nextPage","hasMorePages","useFixedHeader","useFixedLayout","filterByColumn","infiniteScrollLoadTreshold","bodyHeight","externalLoadingComponent","externalIsLoading","scrollTop","scrollHeight","clientHeight","gridScroll","scrollable","abs","getAdjustedRowHeight","getNodeContent","anyHasChildren","nodeData","aboveSpacerRow","belowSpacerRow","adjustedHeight","visibleRecordCount","displayStart","max","floor","displayEnd","min","slice","aboveSpacerRowStyle","belowSpacerRowStyle","showNoData","noDataSection","nodeContent","gridStyle","loadingContent","tableStyle","tableLayout","overflowY","defaultLoadingStyle","defaultColSpan","paddingBottom","loadingComponent","tableHeading","pagingStyles","onScroll","./node_modules/griddle-react/modules/gridTitle.jsx.js","DefaultHeaderComponent","headerStyle","headerStyles","sort","column","changeSort","toggleSelectAll","titleStyles","defaultTitleStyles","columnSort","columnIsSortable","getMetadataColumnProperty","sortComponent","sortDefaultComponent","sortColumn","sortDirection","sortAscendingClassName","sortAscendingComponent","sortDescendingClassName","sortDescendingComponent","HeaderComponent","headerProps","cursor","ComponentClass","data-title","getIsSelectAllChecked","getHeaderRowMetadataClass","./node_modules/griddle-react/modules/griddle.jsx.js","RowProperties","drop","dropRight","first","intersection","isEmpty","isNull","isUndefined","omit","extend","_filter","_orderBy","_get","_some","gridMetadata","initialSort","gridClassName","customRowComponentClassName","filterPlaceholderText","showFilter","showSettings","useCustomRowComponent","useCustomGridComponent","useCustomPagerComponent","useCustomFilterer","useCustomFilterComponent","customRowComponent","customGridComponent","customFilterer","noDataClassName","customNoDataComponent","customNoDataComponentProps","allowEmptyGrid","useExternal","externalSetPage","externalChangeSort","externalSetFilter","externalSetPageSize","externalMaxPage","externalCurrentPage","externalSortColumn","externalSortAscending","enableSort","settingsToggleClassName","settingsIconComponent","selectedRowIds","uniqueIdentifier","onSelectionChange","columnFilterFunc","defaultFilter","toString","toLowerCase","defaultColumnFilter","filters","filterByColumnFilters","columnFilters","filterFunction","filteredResults","current","getMaxPage","newObject","setFilter","updatedResults","updatedState","_resetSelectedRows","size","setMaxPage","toggleColumnChooser","showColumnChooser","isNullOrUndefined","shouldUseCustomRowComponent","shouldUseCustomGridComponent","customComponentType","totalResults","getCurrentResults","isSelectAllChecked","getCurrentPage","getCurrentMaxPage","previousPage","isAscending","columnMeta","sortDirectionCycle","deepKeys","every","element","visibleRows","getDataForRender","_getAreAllRowsChecked","verifyExternal","verifyCustom","useCustomTableRowComponent","customTableRowComponent","pageList","customCompareFn","multiSort","orders","reverse","iteratees","isInfiniteScrollEnabled","rest","transformedData","mappedData","getCurrentSort","getCurrentSortAscending","getSortObject","sortAscending","_toggleSelectAll","newIsSelectAllChecked","newSelectedRowIds","JSON","parse","stringify","_updateSelectedRowIds","_toggleSelectRow","isChecked","splice","_getIsSelectAllChecked","visibleRowIds","_getIsRowChecked","getMultipleSelectionObject","getClearFixStyles","getSettingsStyles","getFilterStyles","getFilter","getSettings","getTopSection","settings","filterStyles","settingsStyles","topContainerStyles","getPagingSection","getColumnSelectorSection","getCustomGridSection","customGridComponentClassName","getCustomRowSection","getStandardGridSection","sortProperties","multipleSelectionProperties","shouldShowNoDataSection","getNoDataSection","getContentSection","topSection","getMetadataColumns","resultContent","columnSelector","./node_modules/griddle-react/modules/rowProperties.js","_uniqueId","hasRowMetadataKey","hasRowMetadata","bodyCssClassName","headerCssClassName","./node_modules/lodash/_DataView.js","getNative","root","DataView","./node_modules/lodash/_Hash.js","Hash","entries","entry","set","hashClear","hashDelete","hashGet","hashHas","hashSet","has","./node_modules/lodash/_ListCache.js","ListCache","listCacheClear","listCacheDelete","listCacheGet","listCacheHas","listCacheSet","./node_modules/lodash/_Map.js","Map","./node_modules/lodash/_MapCache.js","MapCache","mapCacheClear","mapCacheDelete","mapCacheGet","mapCacheHas","mapCacheSet","./node_modules/lodash/_Promise.js","Promise","./node_modules/lodash/_Set.js","Set","./node_modules/lodash/_SetCache.js","SetCache","values","__data__","setCacheAdd","setCacheHas","./node_modules/lodash/_Stack.js","Stack","stackClear","stackDelete","stackGet","stackHas","stackSet","./node_modules/lodash/_Symbol.js","Symbol","./node_modules/lodash/_Uint8Array.js","Uint8Array","./node_modules/lodash/_WeakMap.js","WeakMap","./node_modules/lodash/_apply.js","thisArg","./node_modules/lodash/_arrayEach.js","arrayEach","./node_modules/lodash/_arrayFilter.js","arrayFilter","predicate","resIndex","./node_modules/lodash/_arrayIncludes.js","arrayIncludes","baseIndexOf","./node_modules/lodash/_arrayIncludesWith.js","arrayIncludesWith","comparator","./node_modules/lodash/_arrayLikeKeys.js","arrayLikeKeys","inherited","isArr","isArg","isArguments","isBuff","isBuffer","isType","isTypedArray","skipIndexes","baseTimes","isIndex","objectProto","./node_modules/lodash/_arrayMap.js","arrayMap","./node_modules/lodash/_arrayPush.js","arrayPush","./node_modules/lodash/_arraySome.js","arraySome","./node_modules/lodash/_assignValue.js","assignValue","objValue","eq","baseAssignValue","./node_modules/lodash/_assocIndexOf.js","assocIndexOf","./node_modules/lodash/_baseAssign.js","baseAssign","copyObject","./node_modules/lodash/_baseAssignIn.js","baseAssignIn","keysIn","./node_modules/lodash/_baseAssignValue.js","./node_modules/lodash/_baseClone.js","baseClone","bitmask","customizer","stack","isDeep","CLONE_DEEP_FLAG","isFlat","CLONE_FLAT_FLAG","isFull","CLONE_SYMBOLS_FLAG","initCloneArray","copyArray","tag","getTag","isFunc","funcTag","genTag","cloneBuffer","objectTag","argsTag","initCloneObject","copySymbolsIn","copySymbols","cloneableTags","initCloneByTag","stacked","isSet","subValue","isMap","keysFunc","getAllKeysIn","getAllKeys","./node_modules/lodash/_baseCreate.js","objectCreate","baseCreate","./node_modules/lodash/_baseDifference.js","baseDifference","isCommon","valuesLength","baseUnary","LARGE_ARRAY_SIZE","cacheHas","outer","computed","valuesIndex","./node_modules/lodash/_baseEach.js","baseForOwn","createBaseEach","baseEach","./node_modules/lodash/_baseFilter.js","baseFilter","collection","./node_modules/lodash/_baseFindIndex.js","baseFindIndex","fromIndex","fromRight","./node_modules/lodash/_baseFlatten.js","baseFlatten","depth","isStrict","isFlattenable","./node_modules/lodash/_baseFor.js","createBaseFor","baseFor","./node_modules/lodash/_baseForOwn.js","./node_modules/lodash/_baseGet.js","baseGet","castPath","toKey","./node_modules/lodash/_baseGetAllKeys.js","baseGetAllKeys","symbolsFunc","./node_modules/lodash/_baseGetTag.js","baseGetTag","undefinedTag","nullTag","symToStringTag","getRawTag","objectToString","toStringTag","./node_modules/lodash/_baseHasIn.js","baseHasIn","./node_modules/lodash/_baseIndexOf.js","strictIndexOf","baseIsNaN","./node_modules/lodash/_baseIntersection.js","baseIntersection","arrays","othLength","othIndex","caches","maxLength","Infinity","nativeMin","seen","cache","./node_modules/lodash/_baseIsArguments.js","baseIsArguments","isObjectLike","./node_modules/lodash/_baseIsEqual.js","baseIsEqual","other","baseIsEqualDeep","./node_modules/lodash/_baseIsEqualDeep.js","equalFunc","objIsArr","othIsArr","objTag","arrayTag","othTag","objIsObj","othIsObj","isSameTag","equalArrays","equalByTag","COMPARE_PARTIAL_FLAG","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","equalObjects","./node_modules/lodash/_baseIsMap.js","baseIsMap","mapTag","./node_modules/lodash/_baseIsMatch.js","baseIsMatch","matchData","noCustomizer","srcValue","COMPARE_UNORDERED_FLAG","./node_modules/lodash/_baseIsNaN.js","./node_modules/lodash/_baseIsNative.js","baseIsNative","isMasked","reIsNative","reIsHostCtor","test","toSource","reRegExpChar","funcProto","Function","funcToString","RegExp","./node_modules/lodash/_baseIsSet.js","baseIsSet","setTag","./node_modules/lodash/_baseIsTypedArray.js","baseIsTypedArray","isLength","typedArrayTags","./node_modules/lodash/_baseIteratee.js","baseIteratee","baseMatchesProperty","baseMatches","./node_modules/lodash/_baseKeys.js","baseKeys","isPrototype","nativeKeys","./node_modules/lodash/_baseKeysIn.js","baseKeysIn","nativeKeysIn","isProto","./node_modules/lodash/_baseMap.js","baseMap","isArrayLike","./node_modules/lodash/_baseMatches.js","getMatchData","matchesStrictComparable","./node_modules/lodash/_baseMatchesProperty.js","isKey","isStrictComparable","hasIn","./node_modules/lodash/_baseOrderBy.js","baseOrderBy","criteria","baseSortBy","compareMultiple","./node_modules/lodash/_basePick.js","basePick","paths","basePickBy","./node_modules/lodash/_basePickBy.js","baseSet","./node_modules/lodash/_baseProperty.js","baseProperty","./node_modules/lodash/_basePropertyDeep.js","basePropertyDeep","./node_modules/lodash/_baseRest.js","baseRest","start","setToString","overRest","./node_modules/lodash/_baseSet.js","lastIndex","nested","newValue","./node_modules/lodash/_baseSetToString.js","constant","baseSetToString","./node_modules/lodash/_baseSlice.js","baseSlice","end","./node_modules/lodash/_baseSome.js","baseSome","./node_modules/lodash/_baseSortBy.js","comparer","./node_modules/lodash/_baseTimes.js","./node_modules/lodash/_baseToPairs.js","baseToPairs","./node_modules/lodash/_baseToString.js","baseToString","isSymbol","symbolToString","INFINITY","symbolProto","./node_modules/lodash/_baseUnary.js","./node_modules/lodash/_baseUnset.js","baseUnset","last","./node_modules/lodash/_baseValues.js","baseValues","./node_modules/lodash/_baseZipObject.js","baseZipObject","assignFunc","valsLength","./node_modules/lodash/_cacheHas.js","./node_modules/lodash/_castArrayLikeObject.js","castArrayLikeObject","isArrayLikeObject","./node_modules/lodash/_castFunction.js","castFunction","./node_modules/lodash/_castPath.js","stringToPath","./node_modules/lodash/_cloneArrayBuffer.js","cloneArrayBuffer","arrayBuffer","byteLength","./node_modules/lodash/_cloneBuffer.js","buffer","allocUnsafe","copy","freeExports","nodeType","freeModule","moduleExports","Buffer","./node_modules/lodash/_cloneDataView.js","cloneDataView","byteOffset","./node_modules/lodash/_cloneRegExp.js","cloneRegExp","regexp","reFlags","./node_modules/lodash/_cloneSymbol.js","cloneSymbol","symbol","symbolValueOf","valueOf","./node_modules/lodash/_cloneTypedArray.js","cloneTypedArray","typedArray","./node_modules/lodash/_compareAscending.js","compareAscending","valIsDefined","valIsNull","valIsReflexive","valIsSymbol","othIsDefined","othIsNull","othIsReflexive","othIsSymbol","./node_modules/lodash/_compareMultiple.js","objCriteria","othCriteria","ordersLength","./node_modules/lodash/_copyArray.js","./node_modules/lodash/_copyObject.js","isNew","./node_modules/lodash/_copySymbols.js","getSymbols","./node_modules/lodash/_copySymbolsIn.js","getSymbolsIn","./node_modules/lodash/_coreJsData.js","coreJsData","./node_modules/lodash/_createAssigner.js","createAssigner","assigner","sources","guard","isIterateeCall","./node_modules/lodash/_createBaseEach.js","eachFunc","iterable","./node_modules/lodash/_createBaseFor.js","./node_modules/lodash/_createFind.js","createFind","findIndexFunc","./node_modules/lodash/_createToPairs.js","createToPairs","mapToArray","setToPairs","./node_modules/lodash/_customOmitClone.js","customOmitClone","./node_modules/lodash/_defineProperty.js","./node_modules/lodash/_equalArrays.js","isPartial","arrLength","arrValue","othValue","compared","./node_modules/lodash/_equalByTag.js","dataViewTag","arrayBufferTag","boolTag","dateTag","numberTag","errorTag","regexpTag","stringTag","convert","setToArray","symbolTag","./node_modules/lodash/_equalObjects.js","objProps","objLength","skipCtor","objCtor","othCtor","./node_modules/lodash/_flatRest.js","flatRest","flatten","./node_modules/lodash/_freeGlobal.js","freeGlobal","./node_modules/lodash/_getAllKeys.js","./node_modules/lodash/_getAllKeysIn.js","./node_modules/lodash/_getMapData.js","getMapData","isKeyable","./node_modules/lodash/_getMatchData.js","./node_modules/lodash/_getNative.js","getValue","./node_modules/lodash/_getPrototype.js","overArg","getPrototype","./node_modules/lodash/_getRawTag.js","isOwn","unmasked","nativeObjectToString","./node_modules/lodash/_getSymbols.js","stubArray","propertyIsEnumerable","nativeGetSymbols","getOwnPropertySymbols","./node_modules/lodash/_getSymbolsIn.js","./node_modules/lodash/_getTag.js","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","ArrayBuffer","resolve","Ctor","ctorString","./node_modules/lodash/_getValue.js","./node_modules/lodash/_hasPath.js","hasPath","hasFunc","./node_modules/lodash/_hashClear.js","nativeCreate","./node_modules/lodash/_hashDelete.js","./node_modules/lodash/_hashGet.js","HASH_UNDEFINED","./node_modules/lodash/_hashHas.js","./node_modules/lodash/_hashSet.js","./node_modules/lodash/_initCloneArray.js","input","./node_modules/lodash/_initCloneByTag.js","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","./node_modules/lodash/_initCloneObject.js","./node_modules/lodash/_isFlattenable.js","spreadableSymbol","isConcatSpreadable","./node_modules/lodash/_isIndex.js","MAX_SAFE_INTEGER","reIsUint","./node_modules/lodash/_isIterateeCall.js","./node_modules/lodash/_isKey.js","reIsPlainProp","reIsDeepProp","./node_modules/lodash/_isKeyable.js","./node_modules/lodash/_isMasked.js","maskSrcKey","uid","IE_PROTO","./node_modules/lodash/_isPrototype.js","./node_modules/lodash/_isStrictComparable.js","./node_modules/lodash/_listCacheClear.js","./node_modules/lodash/_listCacheDelete.js","pop","arrayProto","./node_modules/lodash/_listCacheGet.js","./node_modules/lodash/_listCacheHas.js","./node_modules/lodash/_listCacheSet.js","./node_modules/lodash/_mapCacheClear.js","hash","./node_modules/lodash/_mapCacheDelete.js","./node_modules/lodash/_mapCacheGet.js","./node_modules/lodash/_mapCacheHas.js","./node_modules/lodash/_mapCacheSet.js","./node_modules/lodash/_mapToArray.js","./node_modules/lodash/_matchesStrictComparable.js","./node_modules/lodash/_memoizeCapped.js","memoizeCapped","memoize","MAX_MEMOIZE_SIZE","./node_modules/lodash/_nativeCreate.js","./node_modules/lodash/_nativeKeys.js","./node_modules/lodash/_nativeKeysIn.js","./node_modules/lodash/_nodeUtil.js","freeProcess","process","nodeUtil","types","binding","./node_modules/lodash/_objectToString.js","./node_modules/lodash/_overArg.js","transform","./node_modules/lodash/_overRest.js","nativeMax","otherArgs","./node_modules/lodash/_parent.js","./node_modules/lodash/_root.js","freeSelf","./node_modules/lodash/_setCacheAdd.js","./node_modules/lodash/_setCacheHas.js","./node_modules/lodash/_setToArray.js","./node_modules/lodash/_setToPairs.js","./node_modules/lodash/_setToString.js","shortOut","./node_modules/lodash/_shortOut.js","count","lastCalled","stamp","nativeNow","remaining","HOT_SPAN","HOT_COUNT","now","./node_modules/lodash/_stackClear.js","./node_modules/lodash/_stackDelete.js","./node_modules/lodash/_stackGet.js","./node_modules/lodash/_stackHas.js","./node_modules/lodash/_stackSet.js","./node_modules/lodash/_strictIndexOf.js","./node_modules/lodash/_stringToPath.js","rePropName","reEscapeChar","charCodeAt","quote","subString","./node_modules/lodash/_toKey.js","./node_modules/lodash/_toSource.js","./node_modules/lodash/assign.js","./node_modules/lodash/constant.js","./node_modules/lodash/defaults.js","propsIndex","propsLength","./node_modules/lodash/difference.js","./node_modules/lodash/drop.js","toInteger","./node_modules/lodash/dropRight.js","./node_modules/lodash/eq.js","./node_modules/lodash/filter.js","./node_modules/lodash/find.js","findIndex","./node_modules/lodash/findIndex.js","./node_modules/lodash/flatten.js","./node_modules/lodash/forEach.js","./node_modules/lodash/forOwn.js","./node_modules/lodash/get.js","./node_modules/lodash/hasIn.js","./node_modules/lodash/identity.js","./node_modules/lodash/includes.js","isString","./node_modules/lodash/initial.js","./node_modules/lodash/intersection.js","mapped","./node_modules/lodash/isArguments.js","./node_modules/lodash/isArray.js","./node_modules/lodash/isArrayLike.js","./node_modules/lodash/isArrayLikeObject.js","./node_modules/lodash/isBuffer.js","stubFalse","nativeIsBuffer","./node_modules/lodash/isEmpty.js","./node_modules/lodash/isFunction.js","asyncTag","proxyTag","./node_modules/lodash/isLength.js","./node_modules/lodash/isMap.js","nodeIsMap","./node_modules/lodash/isNull.js","./node_modules/lodash/isObject.js","./node_modules/lodash/isObjectLike.js","./node_modules/lodash/isPlainObject.js","objectCtorString","./node_modules/lodash/isSet.js","nodeIsSet","./node_modules/lodash/isString.js","./node_modules/lodash/isSymbol.js","./node_modules/lodash/isTypedArray.js","nodeIsTypedArray","./node_modules/lodash/isUndefined.js","./node_modules/lodash/keys.js","./node_modules/lodash/keysIn.js","./node_modules/lodash/last.js","./node_modules/lodash/map.js","./node_modules/lodash/memoize.js","resolver","FUNC_ERROR_TEXT","memoized","Cache","./node_modules/lodash/omit.js","./node_modules/lodash/orderBy.js","orderBy","./node_modules/lodash/pick.js","./node_modules/lodash/property.js","./node_modules/lodash/some.js","some","./node_modules/lodash/sortBy.js","./node_modules/lodash/stubArray.js","./node_modules/lodash/stubFalse.js","./node_modules/lodash/take.js","take","./node_modules/lodash/toFinite.js","toFinite","toNumber","MAX_INTEGER","./node_modules/lodash/toInteger.js","remainder","./node_modules/lodash/toNumber.js","NAN","reTrim","isBinary","reIsBinary","reIsOctal","freeParseInt","reIsBadHex","./node_modules/lodash/toPairs.js","./node_modules/lodash/toString.js","./node_modules/lodash/uniqueId.js","idCounter","./node_modules/lodash/values.js","./node_modules/lodash/without.js","./node_modules/lodash/zipObject.js","./node_modules/object-assign/index.js","toObject","propIsEnumerable","test1","getOwnPropertyNames","test2","fromCharCode","test3","letter","err","symbols","to","./node_modules/react-resize-aware/dist/index.js","react","_objectWithoutProperties","makeResizeAware","ResizeAware","opacity","top","overflow","pointerEvents","zIndex","_temp","_ret","handleObjectLoad","evt","resizeTarget","contentDocument","defaultView","handleResize","sizes","container","offsetWidth","offsetHeight","resizeElement","removeEventListener","_sizes","onlyEvent","widthPropName","heightPropName","hasCustomComponent","widthProp","heightProp","el","onLoad","aria-hidden","Children","child","cloneElement","./node_modules/uuid/lib/bytesToUuid.js","bytesToUuid","buf","bth","byteToHex","substr","./node_modules/uuid/lib/rng-browser.js","getRandomValues","crypto","msCrypto","rnds8","rnds","r","random","./node_modules/uuid/v1.js","v1","_nodeId","clockseq","_clockseq","seedBytes","rng","msecs","getTime","nsecs","_lastNSecs","dt","_lastMSecs","tl","tmh","./node_modules/webpack/buildin/global.js","g","eval","./node_modules/webpack/buildin/module.js","webpackPolyfill","deprecate","0","1","10","Reactstrap","11","ViewModeActions","12","13","14","FormBuilderLoader","15","ReactDom","16","2","3","4","ReactRedux","5","Redux","6","classnames","7","ReactApollo","8","GraphQLTag","9","Loading"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,KA4BAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAK,EAAA,SAAAK,GAA2C,MAAAA,IAG3CV,EAAAW,EAAA,SAAAR,EAAAS,EAAAC,GACAb,EAAAc,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAb,EAAAoB,EAAA,SAAAhB,GACA,GAAAS,GAAAT,KAAAiB,WACA,WAA2B,MAAAjB,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAJ,GAAAW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EAAAD,QAAAo7D,Y/S+7fMC,EACA,SAAUp7D,EAAQD,GgTh8fxBC,EAAAD,QAAAs7D","file":"js/bundle.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \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// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\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// 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/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = \"./client/src/bundles/bundle.js\");\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ \"./client/src/boot/index.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _registerComponents = __webpack_require__(\"./client/src/boot/registerComponents.js\");\n\nvar _registerComponents2 = _interopRequireDefault(_registerComponents);\n\nvar _registerReducers = __webpack_require__(\"./client/src/boot/registerReducers.js\");\n\nvar _registerReducers2 = _interopRequireDefault(_registerReducers);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nwindow.document.addEventListener('DOMContentLoaded', function () {\n (0, _registerComponents2.default)();\n\n (0, _registerReducers2.default)();\n});\n\n/***/ }),\n\n/***/ \"./client/src/boot/registerComponents.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _Injector = __webpack_require__(2);\n\nvar _Injector2 = _interopRequireDefault(_Injector);\n\nvar _HistoryViewer = __webpack_require__(\"./client/src/components/HistoryViewer/HistoryViewer.js\");\n\nvar _HistoryViewer2 = _interopRequireDefault(_HistoryViewer);\n\nvar _SnapshotViewerContainer = __webpack_require__(\"./client/src/components/HistoryViewer/SnapshotViewerContainer.js\");\n\nvar _SnapshotViewerContainer2 = _interopRequireDefault(_SnapshotViewerContainer);\n\nvar _HistoryViewerHeading = __webpack_require__(\"./client/src/components/HistoryViewer/HistoryViewerHeading.js\");\n\nvar _HistoryViewerHeading2 = _interopRequireDefault(_HistoryViewerHeading);\n\nvar _HistoryViewerToolbar = __webpack_require__(\"./client/src/components/HistoryViewer/HistoryViewerToolbar.js\");\n\nvar _HistoryViewerToolbar2 = _interopRequireDefault(_HistoryViewerToolbar);\n\nvar _HistoryViewerVersion = __webpack_require__(\"./client/src/components/HistoryViewer/HistoryViewerVersion.js\");\n\nvar _HistoryViewerVersion2 = _interopRequireDefault(_HistoryViewerVersion);\n\nvar _HistoryViewerVersionDetail = __webpack_require__(\"./client/src/components/HistoryViewer/HistoryViewerVersionDetail.js\");\n\nvar _HistoryViewerVersionDetail2 = _interopRequireDefault(_HistoryViewerVersionDetail);\n\nvar _HistoryViewerVersionList = __webpack_require__(\"./client/src/components/HistoryViewer/HistoryViewerVersionList.js\");\n\nvar _HistoryViewerVersionList2 = _interopRequireDefault(_HistoryViewerVersionList);\n\nvar _HistoryViewerVersionState = __webpack_require__(\"./client/src/components/HistoryViewer/HistoryViewerVersionState.js\");\n\nvar _HistoryViewerVersionState2 = _interopRequireDefault(_HistoryViewerVersionState);\n\nvar _HistoryViewerSnapshotState = __webpack_require__(\"./client/src/components/HistoryViewer/HistoryViewerSnapshotState.js\");\n\nvar _HistoryViewerSnapshotState2 = _interopRequireDefault(_HistoryViewerSnapshotState);\n\nvar _HistoryViewerSnapshot = __webpack_require__(\"./client/src/components/HistoryViewer/HistoryViewerSnapshot.js\");\n\nvar _HistoryViewerSnapshot2 = _interopRequireDefault(_HistoryViewerSnapshot);\n\nvar _HistoryViewerCompareWarning = __webpack_require__(\"./client/src/components/HistoryViewer/HistoryViewerCompareWarning.js\");\n\nvar _HistoryViewerCompareWarning2 = _interopRequireDefault(_HistoryViewerCompareWarning);\n\nvar _RollbackMutation = __webpack_require__(\"./client/src/components/HistoryViewer/RollbackMutation.js\");\n\nvar _RollbackMutation2 = _interopRequireDefault(_RollbackMutation);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function () {\n _Injector2.default.component.register('SnapshotViewer', _HistoryViewer2.default);\n _Injector2.default.component.register('SnapshotViewerContainer', _SnapshotViewerContainer2.default);\n _Injector2.default.component.register('SnapshotHistoryViewer', _HistoryViewer2.default);\n _Injector2.default.component.register('SnapshotRollbackMutation', _RollbackMutation2.default);\n _Injector2.default.component.registerMany({\n SnapshotHistoryViewerHeading: _HistoryViewerHeading2.default,\n SnapshotHistoryViewerToolbar: _HistoryViewerToolbar2.default,\n SnapshotHistoryViewerVersion: _HistoryViewerVersion2.default,\n SnapshotHistoryViewerVersionDetail: _HistoryViewerVersionDetail2.default,\n SnapshotHistoryViewerVersionList: _HistoryViewerVersionList2.default,\n SnapshotHistoryViewerVersionState: _HistoryViewerVersionState2.default,\n SnapshotHistoryViewerSnapshotState: _HistoryViewerSnapshotState2.default,\n SnapshotHistoryViewerSnapshot: _HistoryViewerSnapshot2.default,\n SnapshotHistoryViewerCompareWarning: _HistoryViewerCompareWarning2.default\n }, { force: true });\n};\n\n/***/ }),\n\n/***/ \"./client/src/boot/registerReducers.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _Injector = __webpack_require__(2);\n\nvar _Injector2 = _interopRequireDefault(_Injector);\n\nvar _redux = __webpack_require__(5);\n\nvar _HistoryViewerReducer = __webpack_require__(\"./client/src/state/historyviewer/HistoryViewerReducer.js\");\n\nvar _HistoryViewerReducer2 = _interopRequireDefault(_HistoryViewerReducer);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar registerReducers = function registerReducers() {\n _Injector2.default.reducer.register('versionedAdmin', (0, _redux.combineReducers)({\n historyViewer: _HistoryViewerReducer2.default\n }), { force: true });\n};\n\nexports.default = registerReducers;\n\n/***/ }),\n\n/***/ \"./client/src/bundles/bundle.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n__webpack_require__(\"./node_modules/expose-loader/index.js?SnapshotsViewer!./client/src/components/HistoryViewer/HistoryViewer.js-exposed\");\n\n__webpack_require__(\"./node_modules/expose-loader/index.js?versionType!./client/src/types/versionType.js-exposed\");\n\n__webpack_require__(\"./client/src/legacy/ArchiveAdmin/ArchiveAdmin.js\");\n\n__webpack_require__(\"./client/src/legacy/HistoryViewer/HistoryViewerEntwine.js\");\n\n__webpack_require__(\"./client/src/boot/index.js\");\n\n/***/ }),\n\n/***/ \"./client/src/components/HistoryViewer/HistoryViewer.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Component = exports.VERSION_MODE_DATE = exports.VERSION_MODE_VERSION = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(0);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _redux = __webpack_require__(5);\n\nvar _reactRedux = __webpack_require__(4);\n\nvar _griddleReact = __webpack_require__(\"./node_modules/griddle-react/modules/griddle.jsx.js\");\n\nvar _griddleReact2 = _interopRequireDefault(_griddleReact);\n\nvar _HistoryViewerConfig = __webpack_require__(\"./client/src/containers/HistoryViewer/HistoryViewerConfig.js\");\n\nvar _HistoryViewerConfig2 = _interopRequireDefault(_HistoryViewerConfig);\n\nvar _i18n = __webpack_require__(3);\n\nvar _i18n2 = _interopRequireDefault(_i18n);\n\nvar _Injector = __webpack_require__(2);\n\nvar _Loading = __webpack_require__(9);\n\nvar _Loading2 = _interopRequireDefault(_Loading);\n\nvar _HistoryViewerActions = __webpack_require__(\"./client/src/state/historyviewer/HistoryViewerActions.js\");\n\nvar _versionType = __webpack_require__(\"./client/src/types/versionType.js\");\n\nvar _compareType = __webpack_require__(\"./client/src/types/compareType.js\");\n\nvar _classnames = __webpack_require__(6);\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _reactResizeAware = __webpack_require__(\"./node_modules/react-resize-aware/dist/index.js\");\n\nvar _reactResizeAware2 = _interopRequireDefault(_reactResizeAware);\n\nvar _ViewModeActions = __webpack_require__(11);\n\nvar viewModeActions = _interopRequireWildcard(_ViewModeActions);\n\nvar _propTypes = __webpack_require__(1);\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar VERSION_MODE_VERSION = 'VERSION';\nvar VERSION_MODE_DATE = 'DATE';\n\nexports.VERSION_MODE_VERSION = VERSION_MODE_VERSION;\nexports.VERSION_MODE_DATE = VERSION_MODE_DATE;\n\nvar HistoryViewer = function (_Component) {\n _inherits(HistoryViewer, _Component);\n\n function HistoryViewer(props) {\n _classCallCheck(this, HistoryViewer);\n\n var _this = _possibleConstructorReturn(this, (HistoryViewer.__proto__ || Object.getPrototypeOf(HistoryViewer)).call(this, props));\n\n _this.handleSetPage = _this.handleSetPage.bind(_this);\n _this.handleNextPage = _this.handleNextPage.bind(_this);\n _this.handlePrevPage = _this.handlePrevPage.bind(_this);\n return _this;\n }\n\n _createClass(HistoryViewer, [{\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n var prevPage = prevProps.page;\n var _props = this.props,\n currentPage = _props.page,\n versions = _props.actions.versions;\n\n\n if (prevPage !== currentPage && typeof versions.goToPage === 'function') {\n versions.goToPage(currentPage);\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n var onSelect = this.props.onSelect;\n\n if (typeof onSelect === 'function') {\n onSelect(false);\n }\n }\n }, {\n key: 'getVersions',\n value: function getVersions() {\n var versions = this.props.versions;\n\n var edges = versions && versions.SnapshotHistory && versions.SnapshotHistory.edges ? versions.SnapshotHistory.edges : [];\n return edges.map(function (_ref) {\n var node = _ref.node;\n\n return _extends({}, node, node.OriginVersion, {\n Author: _extends({}, node.Author),\n AbsoluteLink: node.IsFullVersion && node.OriginVersion ? node.OriginVersion.AbsoluteLink : versions.AbsoluteLink,\n Version: node.IsFullVersion && node.OriginVersion ? node.OriginVersion.Version : node.BaseVersion\n });\n });\n }\n }, {\n key: 'getContainerClasses',\n value: function getContainerClasses() {\n var _props2 = this.props,\n compare = _props2.compare,\n isInGridField = _props2.isInGridField;\n\n return (0, _classnames2.default)('history-viewer', 'fill-height', {\n 'history-viewer__compare-mode': compare,\n 'history-viewer--no-margins': isInGridField && !this.isListView()\n });\n }\n }, {\n key: 'getLatestVersion',\n value: function getLatestVersion() {\n var currentVersion = this.props.currentVersion;\n\n if (currentVersion && currentVersion.LatestDraftVersion === true) {\n return currentVersion;\n }\n\n var latestDraftVersion = this.getVersions().filter(function (version) {\n return version.LatestDraftVersion === true;\n });\n\n if (latestDraftVersion.length) {\n return latestDraftVersion[0];\n }\n\n return null;\n }\n }, {\n key: 'isListView',\n value: function isListView() {\n var _props3 = this.props,\n compare = _props3.compare,\n currentVersion = _props3.currentVersion;\n\n if (!currentVersion) {\n return true;\n }\n\n if (!compare) {\n return false;\n }\n\n if (compare.versionFrom && !compare.versionTo) {\n return true;\n }\n\n return false;\n }\n }, {\n key: 'handleSetPage',\n value: function handleSetPage(page) {\n var onSetPage = this.props.onSetPage;\n\n if (typeof onSetPage === 'function') {\n onSetPage(page + 1);\n }\n }\n }, {\n key: 'handleNextPage',\n value: function handleNextPage() {\n var page = this.props.page;\n\n this.handleSetPage(page);\n }\n }, {\n key: 'handlePrevPage',\n value: function handlePrevPage() {\n var page = this.props.page;\n\n var currentPage = page - 1;\n if (currentPage < 1) {\n this.handleSetPage(currentPage);\n return;\n }\n this.handleSetPage(currentPage - 1);\n }\n }, {\n key: 'compareModeAvailable',\n value: function compareModeAvailable() {\n return this.getVersions().length > 1;\n }\n }, {\n key: 'renderVersionDetail',\n value: function renderVersionDetail() {\n var _this2 = this;\n\n var _props4 = this.props,\n currentVersion = _props4.currentVersion,\n isPreviewable = _props4.isPreviewable,\n recordId = _props4.recordId,\n recordClass = _props4.recordClass,\n typeName = _props4.typeName,\n schemaUrl = _props4.schemaUrl,\n VersionDetailComponent = _props4.VersionDetailComponent,\n compare = _props4.compare,\n _props4$compare = _props4.compare,\n _props4$compare$versi = _props4$compare.versionFrom,\n versionFrom = _props4$compare$versi === undefined ? false : _props4$compare$versi,\n _props4$compare$versi2 = _props4$compare.versionTo,\n versionTo = _props4$compare$versi2 === undefined ? false : _props4$compare$versi2,\n previewState = _props4.previewState;\n\n var schemaVersionReplacements = {\n ':id': recordId,\n ':class': recordClass,\n ':date': '',\n ':version': ''\n };\n\n schemaVersionReplacements[':date'] = currentVersion.LastEdited;\n\n var schemaCompareReplacements = {\n ':id': recordId,\n ':class': recordClass,\n ':from': versionFrom.Version || 0,\n ':to': versionTo.Version || 0\n };\n var schemaSearch = compare ? /:id|:class|:from|:to/g : /:id|:class|:version|:date/g;\n var schemaReplacements = compare ? schemaCompareReplacements : schemaVersionReplacements;\n\n var version = compare ? versionFrom : currentVersion;\n var latestVersion = this.getLatestVersion();\n var props = {\n isLatestVersion: !compare && latestVersion && latestVersion.Version === version.Version,\n isPreviewable: isPreviewable,\n recordId: recordId,\n typeName: typeName,\n schemaUrl: schemaUrl.replace(schemaSearch, function (match) {\n return schemaReplacements[match];\n }),\n version: version,\n compare: compare,\n compareModeAvailable: this.compareModeAvailable(),\n previewState: previewState\n };\n\n return _react2.default.createElement(\n _reactResizeAware2.default,\n {\n className: this.getContainerClasses(),\n onResize: function onResize(_ref2) {\n var width = _ref2.width;\n return _this2.props.onResize(width);\n }\n },\n _react2.default.createElement(VersionDetailComponent, props)\n );\n }\n }, {\n key: 'renderPagination',\n value: function renderPagination() {\n var _props5 = this.props,\n limit = _props5.limit,\n page = _props5.page,\n versions = _props5.versions;\n\n\n if (!versions) {\n return null;\n }\n\n var totalVersions = versions.SnapshotHistory ? versions.SnapshotHistory.pageInfo.totalCount : 0;\n\n if (totalVersions <= limit) {\n return null;\n }\n\n var props = {\n setPage: this.handleSetPage,\n maxPage: Math.ceil(totalVersions / limit),\n next: this.handleNextPage,\n nextText: _i18n2.default._t('HistoryViewer.NEXT', 'Next'),\n previous: this.handlePrevPage,\n previousText: _i18n2.default._t('HistoryViewer.PREVIOUS', 'Previous'),\n\n currentPage: page - 1,\n useGriddleStyles: false\n };\n\n return _react2.default.createElement(\n 'div',\n { className: 'griddle-footer' },\n _react2.default.createElement(_griddleReact2.default.GridPagination, props)\n );\n }\n }, {\n key: 'renderComparisonSelectionList',\n value: function renderComparisonSelectionList() {\n var _props6 = this.props,\n versionFrom = _props6.compare.versionFrom,\n ListComponent = _props6.ListComponent;\n\n\n if (!versionFrom) {\n return null;\n }\n\n var selectionListClasses = (0, _classnames2.default)('history-viewer__table', 'history-viewer__table--comparison-selected');\n\n return _react2.default.createElement(ListComponent, {\n versions: [versionFrom],\n extraClass: selectionListClasses\n });\n }\n }, {\n key: 'renderVersionList',\n value: function renderVersionList() {\n var _props7 = this.props,\n isInGridField = _props7.isInGridField,\n ListComponent = _props7.ListComponent,\n CompareWarningComponent = _props7.CompareWarningComponent,\n compare = _props7.compare,\n hasVersionFrom = _props7.compare.versionFrom;\n\n return _react2.default.createElement(\n 'div',\n { className: this.getContainerClasses() },\n _react2.default.createElement(CompareWarningComponent, null),\n _react2.default.createElement(\n 'div',\n { className: isInGridField ? '' : 'panel panel--padded panel--scrollable' },\n this.renderComparisonSelectionList(),\n _react2.default.createElement(ListComponent, {\n versions: this.getVersions(),\n showHeader: !compare || compare && !hasVersionFrom,\n compareModeAvailable: this.compareModeAvailable()\n }),\n _react2.default.createElement(\n 'div',\n { className: 'history-viewer__pagination' },\n this.renderPagination()\n )\n )\n );\n }\n }, {\n key: 'renderCompareMode',\n value: function renderCompareMode() {\n var compare = this.props.compare;\n\n\n if (compare && compare.versionFrom && compare.versionTo) {\n return this.renderVersionDetail();\n }\n return this.renderVersionList();\n }\n }, {\n key: 'render',\n value: function render() {\n var _props8 = this.props,\n loading = _props8.loading,\n compare = _props8.compare,\n previewMode = _props8.previewMode;\n\n\n if (loading) {\n return _react2.default.createElement(_Loading2.default, null);\n }\n\n if (this.compareModeAvailable() && compare) {\n return this.renderCompareMode();\n }\n\n if (previewMode) {\n return this.renderVersionDetail();\n }\n\n return this.renderVersionList();\n }\n }]);\n\n return HistoryViewer;\n}(_react.Component);\n\nHistoryViewer.propTypes = {\n contextKey: _propTypes2.default.string,\n limit: _propTypes2.default.number,\n ListComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired,\n offset: _propTypes2.default.number,\n recordId: _propTypes2.default.number.isRequired,\n recordClass: _propTypes2.default.string.isRequired,\n typeName: _propTypes2.default.string.isRequired,\n currentVersion: _propTypes2.default.oneOfType([_propTypes2.default.bool, _versionType.versionType]),\n compare: _compareType.compareType,\n isInGridField: _propTypes2.default.bool,\n isPreviewable: _propTypes2.default.bool,\n VersionDetailComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired,\n CompareWarningComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired,\n versions: _propTypes2.default.shape({\n Versions: _propTypes2.default.shape({\n pageInfo: _propTypes2.default.shape({\n totalCount: _propTypes2.default.number\n }),\n edges: _propTypes2.default.arrayOf(_propTypes2.default.shape({\n node: _versionType.versionType\n }))\n })\n }),\n page: _propTypes2.default.number,\n schemaUrl: _propTypes2.default.string,\n\n previewState: _propTypes2.default.oneOf(['edit', 'preview', 'split']),\n actions: _propTypes2.default.object,\n onSelect: _propTypes2.default.func,\n onSetPage: _propTypes2.default.func,\n onResize: _propTypes2.default.func\n};\n\nHistoryViewer.defaultProps = {\n compare: {},\n contextKey: '',\n currentVersion: false,\n isInGridField: false,\n isPreviewable: false,\n typeName: '',\n schemaUrl: '',\n versions: {\n Versions: {\n pageInfo: {\n totalCount: 0\n },\n edges: []\n }\n }\n};\n\nfunction mapStateToProps(state) {\n var _state$versionedAdmin = state.versionedAdmin.historyViewer,\n currentPage = _state$versionedAdmin.currentPage,\n currentVersion = _state$versionedAdmin.currentVersion,\n previewMode = _state$versionedAdmin.previewMode,\n compare = _state$versionedAdmin.compare;\n var activeState = state.viewMode.activeState;\n\n\n return {\n page: currentPage,\n currentVersion: currentVersion,\n compare: compare,\n previewMode: previewMode,\n previewState: activeState\n };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onSelect: function onSelect(id) {\n dispatch((0, _HistoryViewerActions.showVersion)(id));\n dispatch((0, _HistoryViewerActions.clearMessages)());\n },\n onSetPage: function onSetPage(page) {\n dispatch((0, _HistoryViewerActions.setCurrentPage)(page));\n },\n onResize: function onResize(panelWidth) {\n dispatch(viewModeActions.enableOrDisableSplitMode(panelWidth));\n }\n };\n}\n\nexports.Component = HistoryViewer;\nexports.default = (0, _redux.compose)((0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps), _HistoryViewerConfig2.default, (0, _Injector.inject)(['SnapshotHistoryViewerVersionList', 'SnapshotHistoryViewerVersionDetail', 'SnapshotHistoryViewerCompareWarning'], function (ListComponent, VersionDetailComponent, CompareWarningComponent) {\n return {\n ListComponent: ListComponent,\n VersionDetailComponent: VersionDetailComponent,\n CompareWarningComponent: CompareWarningComponent\n };\n}, function (_ref3) {\n var contextKey = _ref3.contextKey;\n return 'VersionedAdmin.HistoryViewer.' + contextKey;\n}))(HistoryViewer);\n\n/***/ }),\n\n/***/ \"./client/src/components/HistoryViewer/HistoryViewerCompareWarning.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(0);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(1);\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _reactRedux = __webpack_require__(4);\n\nvar _i18n = __webpack_require__(3);\n\nvar _i18n2 = _interopRequireDefault(_i18n);\n\nvar _HistoryViewerActions = __webpack_require__(\"./client/src/state/historyviewer/HistoryViewerActions.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar HistoryViewerCompareWarning = function (_Component) {\n _inherits(HistoryViewerCompareWarning, _Component);\n\n function HistoryViewerCompareWarning(props) {\n _classCallCheck(this, HistoryViewerCompareWarning);\n\n var _this = _possibleConstructorReturn(this, (HistoryViewerCompareWarning.__proto__ || Object.getPrototypeOf(HistoryViewerCompareWarning)).call(this, props));\n\n _this.handleDismissCompare = _this.handleDismissCompare.bind(_this);\n return _this;\n }\n\n _createClass(HistoryViewerCompareWarning, [{\n key: 'handleDismissCompare',\n value: function handleDismissCompare() {\n this.props.onDismissCompare();\n }\n }, {\n key: 'render',\n value: function render() {\n if (!this.props.isCompare) {\n return null;\n }\n\n return _react2.default.createElement(\n 'div',\n { className: 'history-viewer__compare-notice alert alert-info' },\n _react2.default.createElement(\n 'span',\n { className: 'notice-message' },\n _react2.default.createElement(\n 'strong',\n null,\n _i18n2.default._t('HistoryViewer.COMPARE_MODE', 'Compare mode'),\n ': '\n ),\n _i18n2.default._t('HistoryViewer.SELECT_PROMPT', 'Select two versions')\n ),\n _react2.default.createElement(\n 'button',\n { className: 'btn dismiss-button font-icon-cancel', onClick: this.handleDismissCompare },\n _i18n2.default._t('HistoryViewer.EXIT', 'Exit')\n )\n );\n }\n }]);\n\n return HistoryViewerCompareWarning;\n}(_react.Component);\n\nHistoryViewerCompareWarning.propTypes = {\n isCompare: _propTypes2.default.bool.isRequired\n};\n\nfunction mapStateToProps(state) {\n var compare = state.versionedAdmin.historyViewer.compare;\n\n\n return {\n isCompare: !!compare\n };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onDismissCompare: function onDismissCompare() {\n dispatch((0, _HistoryViewerActions.setCompareMode)(false));\n }\n };\n}\n\nexports.default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(HistoryViewerCompareWarning);\n\n/***/ }),\n\n/***/ \"./client/src/components/HistoryViewer/HistoryViewerHeading.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Component = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _i18n = __webpack_require__(3);\n\nvar _i18n2 = _interopRequireDefault(_i18n);\n\nvar _react = __webpack_require__(0);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactstrap = __webpack_require__(10);\n\nvar _HistoryViewerActions = __webpack_require__(\"./client/src/state/historyviewer/HistoryViewerActions.js\");\n\nvar _redux = __webpack_require__(5);\n\nvar _reactRedux = __webpack_require__(4);\n\nvar _propTypes = __webpack_require__(1);\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar HistoryViewerHeading = function (_Component) {\n _inherits(HistoryViewerHeading, _Component);\n\n function HistoryViewerHeading(props) {\n _classCallCheck(this, HistoryViewerHeading);\n\n var _this = _possibleConstructorReturn(this, (HistoryViewerHeading.__proto__ || Object.getPrototypeOf(HistoryViewerHeading)).call(this, props));\n\n _this.toggle = _this.toggle.bind(_this);\n _this.handleCompareModeChange = _this.handleCompareModeChange.bind(_this);\n\n _this.state = {\n dropdownOpen: false\n };\n return _this;\n }\n\n _createClass(HistoryViewerHeading, [{\n key: 'toggle',\n value: function toggle() {\n this.setState(function (prevState) {\n return {\n dropdownOpen: !prevState.dropdownOpen\n };\n });\n }\n }, {\n key: 'handleCompareModeChange',\n value: function handleCompareModeChange() {\n var _props = this.props,\n compareModeSelected = _props.compareModeSelected,\n onCompareModeUnselect = _props.onCompareModeUnselect,\n onCompareModeSelect = _props.onCompareModeSelect;\n\n if (compareModeSelected) {\n onCompareModeUnselect();\n } else {\n onCompareModeSelect();\n }\n }\n }, {\n key: 'renderDropdown',\n value: function renderDropdown() {\n var _props2 = this.props,\n compareModeAvailable = _props2.compareModeAvailable,\n compareModeSelected = _props2.compareModeSelected;\n var dropdownOpen = this.state.dropdownOpen;\n\n\n if (!compareModeAvailable) {\n return null;\n }\n\n return _react2.default.createElement(\n _reactstrap.Dropdown,\n {\n isOpen: dropdownOpen,\n toggle: this.toggle,\n className: 'history-viewer__actions-dropdown'\n },\n _react2.default.createElement(_reactstrap.DropdownToggle, { className: 'font-icon-sliders' }),\n _react2.default.createElement(\n _reactstrap.DropdownMenu,\n { right: true },\n _react2.default.createElement(\n 'div',\n { className: 'form-check' },\n _react2.default.createElement('input', {\n id: 'history-viewer-compare-two',\n type: 'checkbox',\n className: 'no-change-track history-viewer-heading__compare-mode-checkbox',\n checked: compareModeSelected,\n onChange: this.handleCompareModeChange\n }),\n _react2.default.createElement(\n 'label',\n { className: 'form-check-label', htmlFor: 'history-viewer-compare-two' },\n _i18n2.default._t('HistoryViewerHeading.COMPARE_VERSIONS', 'Compare two versions')\n )\n )\n )\n );\n }\n }, {\n key: 'render',\n value: function render() {\n return _react2.default.createElement(\n 'li',\n { className: 'history-viewer__heading', role: 'row' },\n _react2.default.createElement(\n 'span',\n { className: 'history-viewer__version-state', role: 'columnheader' },\n _i18n2.default._t('HistoryViewer.Date', 'Date')\n ),\n _react2.default.createElement(\n 'span',\n { className: 'history-viewer__message', role: 'columnheader' },\n _i18n2.default._t('HistoryViewer.Activity', 'Activity')\n ),\n _react2.default.createElement(\n 'span',\n { className: 'history-viewer__author', role: 'columnheader' },\n _i18n2.default._t('HistoryViewer.Author', 'Author')\n ),\n _react2.default.createElement(\n 'span',\n { className: 'history-viewer__actions', role: 'columnheader' },\n this.renderDropdown()\n )\n );\n }\n }]);\n\n return HistoryViewerHeading;\n}(_react.Component);\n\nHistoryViewerHeading.propTypes = {\n compareModeAvailable: _propTypes2.default.bool,\n compareModeSelected: _propTypes2.default.bool,\n onCompareModeSelect: _propTypes2.default.func,\n onCompareModeUnselect: _propTypes2.default.func\n};\n\nHistoryViewerHeading.defaultProps = {\n compareModeAvailable: true\n};\n\nfunction mapStateToProps(state) {\n return {\n compareModeSelected: !!state.versionedAdmin.historyViewer.compare\n };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onCompareModeSelect: function onCompareModeSelect() {\n dispatch((0, _HistoryViewerActions.setCompareMode)(true));\n },\n onCompareModeUnselect: function onCompareModeUnselect() {\n dispatch((0, _HistoryViewerActions.setCompareMode)(false));\n }\n };\n}\n\nexports.Component = HistoryViewerHeading;\nexports.default = (0, _redux.compose)((0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps))(HistoryViewerHeading);\n\n/***/ }),\n\n/***/ \"./client/src/components/HistoryViewer/HistoryViewerSnapshot.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(0);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(1);\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _Injector = __webpack_require__(2);\n\nvar _i18n = __webpack_require__(3);\n\nvar _i18n2 = _interopRequireDefault(_i18n);\n\nvar _redux = __webpack_require__(5);\n\nvar _reactRedux = __webpack_require__(4);\n\nvar _HistoryViewerActions = __webpack_require__(\"./client/src/state/historyviewer/HistoryViewerActions.js\");\n\nvar _classnames = __webpack_require__(6);\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _versionType = __webpack_require__(\"./client/src/types/versionType.js\");\n\nvar _getDateFromVersion = __webpack_require__(\"./client/src/helpers/getDateFromVersion.js\");\n\nvar _getDateFromVersion2 = _interopRequireDefault(_getDateFromVersion);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar HistoryViewerSnapshot = function (_Component) {\n _inherits(HistoryViewerSnapshot, _Component);\n\n function HistoryViewerSnapshot(props) {\n _classCallCheck(this, HistoryViewerSnapshot);\n\n var _this = _possibleConstructorReturn(this, (HistoryViewerSnapshot.__proto__ || Object.getPrototypeOf(HistoryViewerSnapshot)).call(this, props));\n\n _this.handleClick = _this.handleClick.bind(_this);\n _this.handleKeyUp = _this.handleKeyUp.bind(_this);\n _this.handleClose = _this.handleClose.bind(_this);\n return _this;\n }\n\n _createClass(HistoryViewerSnapshot, [{\n key: 'getClassNames',\n value: function getClassNames() {\n var _props = this.props,\n extraClass = _props.extraClass,\n initial = _props.initial,\n isComparing = _props.isComparing,\n isActive = _props.isActive;\n\n var defaultClasses = {\n 'history-viewer__row': true,\n 'history-viewer__snapshot': true,\n 'history-viewer__row--current': isActive,\n 'history-viewer__snapshot--initial': initial,\n 'history-viewer__snapshot--muted': isComparing\n };\n return (0, _classnames2.default)(defaultClasses, extraClass);\n }\n }, {\n key: 'handleClick',\n value: function handleClick() {\n var _props2 = this.props,\n onSelect = _props2.onSelect,\n version = _props2.version,\n isActive = _props2.isActive;\n\n if (isActive) {\n return false;\n }\n onSelect(version);\n return false;\n }\n }, {\n key: 'handleClose',\n value: function handleClose(e) {\n e.stopPropagation();\n this.props.onSelect(false);\n return false;\n }\n }, {\n key: 'handleKeyUp',\n value: function handleKeyUp(event) {\n if (event.keyCode === 13) {\n this.handleClick();\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _props3 = this.props,\n version = _props3.version,\n StateComponent = _props3.StateComponent,\n FormActionComponent = _props3.FormActionComponent,\n isComparing = _props3.isComparing,\n isActive = _props3.isActive;\n var _version$Author = version.Author,\n FirstName = _version$Author.FirstName,\n Surname = _version$Author.Surname;\n\n var author = (FirstName || '') + ' ' + (Surname || '');\n var rowTitle = _i18n2.default._t('HistoryViewerSnapshot.GO_TO_SNAPSHOT', 'Go to snapshot at {date}');\n\n return _react2.default.createElement(\n 'li',\n { className: this.getClassNames(), role: 'row' },\n _react2.default.createElement(\n 'span',\n {\n className: 'history-viewer__version-link',\n role: 'button',\n title: _i18n2.default.inject(rowTitle, { date: version.LastEdited }),\n onClick: this.handleClick,\n onKeyUp: this.handleKeyUp,\n tabIndex: isComparing ? -1 : 0\n },\n _react2.default.createElement(\n 'span',\n { className: 'history-viewer__message', role: 'cell' },\n _react2.default.createElement(\n 'span',\n null,\n version.ActivityAgo\n ),\n ' ',\n _react2.default.createElement(\n 'small',\n { className: 'text-muted' },\n (0, _getDateFromVersion2.default)(version)\n )\n ),\n _react2.default.createElement(StateComponent, {\n version: version\n }),\n _react2.default.createElement(\n 'span',\n { className: 'history-viewer__author', role: 'cell' },\n author\n ),\n _react2.default.createElement(\n 'span',\n { className: 'history-viewer__actions', role: 'cell' },\n isActive && _react2.default.createElement(FormActionComponent, {\n onClick: this.handleClose,\n icon: 'cancel',\n\n attributes: {\n title: _i18n2.default._t('HistoryViewerVersion.CLOSE', 'Close')\n },\n title: null,\n buttonStyle: 'outline-light',\n extraClass: 'history-viewer__close-button'\n })\n )\n )\n );\n }\n }]);\n\n return HistoryViewerSnapshot;\n}(_react.Component);\n\nHistoryViewerSnapshot.propTypes = {\n isActive: _propTypes2.default.bool,\n version: _versionType.versionType,\n initial: _propTypes2.default.bool,\n isComparing: _propTypes2.default.bool\n};\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onSelect: function onSelect(selectedVersion) {\n var func = selectedVersion.IsFullVersion ? _HistoryViewerActions.showVersion : _HistoryViewerActions.showDate;\n dispatch(func(selectedVersion));\n dispatch((0, _HistoryViewerActions.clearMessages)());\n }\n };\n}\n\nexports.default = (0, _redux.compose)((0, _reactRedux.connect)(null, mapDispatchToProps), (0, _Injector.inject)(['FormAction', 'SnapshotHistoryViewerSnapshotState'], function (FormAction, HistoryViewerSnapshotState) {\n return {\n FormActionComponent: FormAction,\n StateComponent: HistoryViewerSnapshotState\n };\n}))(HistoryViewerSnapshot);\n\n/***/ }),\n\n/***/ \"./client/src/components/HistoryViewer/HistoryViewerSnapshotState.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Component = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _HistoryViewerVersionState = __webpack_require__(\"./client/src/components/HistoryViewer/HistoryViewerVersionState.js\");\n\nvar _Injector = __webpack_require__(2);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar HistoryViewerSnapshotState = function (_VersionedState) {\n _inherits(HistoryViewerSnapshotState, _VersionedState);\n\n function HistoryViewerSnapshotState() {\n _classCallCheck(this, HistoryViewerSnapshotState);\n\n return _possibleConstructorReturn(this, (HistoryViewerSnapshotState.__proto__ || Object.getPrototypeOf(HistoryViewerSnapshotState)).apply(this, arguments));\n }\n\n _createClass(HistoryViewerSnapshotState, [{\n key: 'translateType',\n value: function translateType(type) {\n var _window = window,\n i18n = _window.i18n;\n\n switch (type) {\n case 'MODIFIED':\n return i18n._t('HistoryViewerSnapshot.MODIFIED', 'Edited');\n case 'DELETED':\n return i18n._t('HistoryViewerSnapshot.DELETED', 'Archived');\n case 'CREATED':\n return i18n._t('HistoryViewerSnapshot.CREATED', 'Created');\n case 'ADDED':\n return i18n._t('HistoryViewerSnapshot.ADDED', 'Added');\n case 'REMOVED':\n return i18n._t('HistoryViewerSnapshot.REMOVED', 'Removed');\n case 'UNPUBLISHED':\n return i18n._t('HistoryViewerSnapshot.UNPUBLISHED', 'Unpublished');\n case 'PUBLISHED':\n return i18n._t('HistoryViewerSnapshot.PUBLISHED', 'Published');\n default:\n return '';\n }\n }\n }, {\n key: 'getPublishedState',\n value: function getPublishedState() {\n var _props$version = this.props.version,\n ActivityDescription = _props$version.ActivityDescription,\n ActivityType = _props$version.ActivityType;\n\n\n var prefix = this.translateType(ActivityType);\n var lines = ActivityDescription.split('\\n');\n if (lines.length > 1) {\n return lines.map(function (l, i) {\n return React.createElement(\n 'div',\n { key: i },\n l\n );\n });\n }\n return prefix + ' ' + ActivityDescription;\n }\n }, {\n key: 'getBadges',\n value: function getBadges() {\n return null;\n }\n }]);\n\n return HistoryViewerSnapshotState;\n}(_HistoryViewerVersionState.Component);\n\nexports.Component = HistoryViewerSnapshotState;\nexports.default = (0, _Injector.inject)(['Badge'], function (BadgeComponent) {\n return { BadgeComponent: BadgeComponent };\n})(HistoryViewerSnapshotState);\n\n/***/ }),\n\n/***/ \"./client/src/components/HistoryViewer/HistoryViewerToolbar.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Component = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(0);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(1);\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _redux = __webpack_require__(5);\n\nvar _reactRedux = __webpack_require__(4);\n\nvar _i18n = __webpack_require__(3);\n\nvar _i18n2 = _interopRequireDefault(_i18n);\n\nvar _Injector = __webpack_require__(2);\n\nvar _HistoryViewerActions = __webpack_require__(\"./client/src/state/historyviewer/HistoryViewerActions.js\");\n\nvar _reactstrap = __webpack_require__(10);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar HistoryViewerToolbar = function (_Component) {\n _inherits(HistoryViewerToolbar, _Component);\n\n function HistoryViewerToolbar(props) {\n _classCallCheck(this, HistoryViewerToolbar);\n\n var _this = _possibleConstructorReturn(this, (HistoryViewerToolbar.__proto__ || Object.getPrototypeOf(HistoryViewerToolbar)).call(this, props));\n\n _this.handleRevert = _this.handleRevert.bind(_this);\n _this.handleToggleRevertTooltip = _this.handleToggleRevertTooltip.bind(_this);\n\n _this.state = {\n isReverting: false,\n revertTooltipOpen: false,\n tooltipTimer: null\n };\n return _this;\n }\n\n _createClass(HistoryViewerToolbar, [{\n key: 'handleRevert',\n value: function handleRevert(rollback) {\n var _props = this.props,\n onAfterRevert = _props.onAfterRevert,\n recordId = _props.recordId,\n versionId = _props.versionId;\n\n\n this.setState({ isReverting: true });\n\n var handler = typeof onAfterRevert === 'function' ? onAfterRevert : function () {};\n return rollback({ variables: {\n id: recordId,\n toVersion: versionId\n } }).then(function () {\n return handler(versionId);\n });\n }\n }, {\n key: 'handleToggleRevertTooltip',\n value: function handleToggleRevertTooltip() {\n this.setState(function (state) {\n return {\n revertTooltipOpen: !state.revertTooltipOpen\n };\n });\n }\n }, {\n key: 'render',\n value: function render() {\n var _this2 = this;\n\n var _props2 = this.props,\n FormActionComponent = _props2.FormActionComponent,\n ViewModeComponent = _props2.ViewModeComponent,\n RollbackMutation = _props2.RollbackMutation,\n isLatestVersion = _props2.isLatestVersion,\n isPreviewable = _props2.isPreviewable,\n canRollback = _props2.canRollback,\n rollbackMessage = _props2.rollbackMessage,\n typeName = _props2.typeName;\n var _state = this.state,\n isReverting = _state.isReverting,\n revertTooltipOpen = _state.revertTooltipOpen;\n\n\n var revertButtonTitle = isReverting ? _i18n2.default._t('HistoryViewerToolbar.REVERT_IN_PROGRESS', 'Revert in progress...') : _i18n2.default._t('HistoryViewerToolbar.REVERT_UNAVAILABLE', 'Unavailable for the current version');\n\n return _react2.default.createElement(\n RollbackMutation,\n { typeName: typeName },\n function (rollback) {\n return _react2.default.createElement(\n 'div',\n { className: 'toolbar toolbar--south' },\n _react2.default.createElement(\n 'div',\n { className: 'btn-toolbar' },\n _react2.default.createElement(FormActionComponent, {\n id: 'HistoryRevertButton',\n onClick: function onClick() {\n return _this2.handleRevert(rollback);\n },\n icon: 'back-in-time',\n name: 'revert',\n attributes: {\n title: revertButtonTitle\n },\n data: {\n buttonStyle: 'warning'\n },\n disabled: isLatestVersion || isReverting || !canRollback,\n loading: isReverting,\n title: _i18n2.default._t('HistoryViewerToolbar.REVERT_TO_VERSION', 'Revert to this version')\n }),\n !canRollback && _react2.default.createElement(\n _reactstrap.Tooltip,\n {\n trigger: 'click hover focus',\n placement: 'top',\n isOpen: revertTooltipOpen,\n toggle: _this2.handleToggleRevertTooltip,\n target: 'HistoryRevertButton'\n },\n rollbackMessage\n ),\n isPreviewable && _react2.default.createElement(ViewModeComponent, { id: 'history-viewer-edit-mode', area: 'edit' })\n )\n );\n }\n );\n }\n }]);\n\n return HistoryViewerToolbar;\n}(_react.Component);\n\nHistoryViewerToolbar.propTypes = {\n actions: _propTypes2.default.shape({\n revertToVersion: _propTypes2.default.func.isRequired\n }),\n FormActionComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired,\n ViewModeComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired,\n isLatestVersion: _propTypes2.default.bool,\n isPreviewable: _propTypes2.default.bool,\n onAfterRevert: _propTypes2.default.func,\n recordId: _propTypes2.default.number.isRequired,\n typeName: _propTypes2.default.string.isRequired,\n versionId: _propTypes2.default.number.isRequired,\n canRollback: _propTypes2.default.bool,\n rollbackMessage: _propTypes2.default.string\n};\n\nHistoryViewerToolbar.defaultProps = {\n isLatestVersion: false,\n isPreviewable: false,\n canRollback: true\n};\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onAfterRevert: function onAfterRevert(versionId) {\n dispatch((0, _HistoryViewerActions.addMessage)(_i18n2.default.sprintf(_i18n2.default._t('HistoryViewerToolbar.REVERTED_MESSAGE', 'Successfully reverted to version %s'), versionId)));\n dispatch((0, _HistoryViewerActions.showList)());\n }\n };\n}\n\nexports.Component = HistoryViewerToolbar;\nexports.default = (0, _redux.compose)((0, _reactRedux.connect)(null, mapDispatchToProps), (0, _Injector.inject)(['FormAction', 'ViewModeToggle', 'SnapshotRollbackMutation'], function (FormActionComponent, ViewModeComponent, RollbackMutation) {\n return {\n FormActionComponent: FormActionComponent,\n ViewModeComponent: ViewModeComponent,\n RollbackMutation: RollbackMutation\n };\n}, function () {\n return 'VersionedAdmin.HistoryViewer.Toolbar';\n}))(HistoryViewerToolbar);\n\n/***/ }),\n\n/***/ \"./client/src/components/HistoryViewer/HistoryViewerVersion.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Component = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(0);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(1);\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _redux = __webpack_require__(5);\n\nvar _reactRedux = __webpack_require__(4);\n\nvar _Injector = __webpack_require__(2);\n\nvar _versionType = __webpack_require__(\"./client/src/types/versionType.js\");\n\nvar _compareType = __webpack_require__(\"./client/src/types/compareType.js\");\n\nvar _i18n = __webpack_require__(3);\n\nvar _i18n2 = _interopRequireDefault(_i18n);\n\nvar _classnames = __webpack_require__(6);\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _HistoryViewerActions = __webpack_require__(\"./client/src/state/historyviewer/HistoryViewerActions.js\");\n\nvar _getDateFromVersion = __webpack_require__(\"./client/src/helpers/getDateFromVersion.js\");\n\nvar _getDateFromVersion2 = _interopRequireDefault(_getDateFromVersion);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar HistoryViewerVersion = function (_Component) {\n _inherits(HistoryViewerVersion, _Component);\n\n function HistoryViewerVersion(props) {\n _classCallCheck(this, HistoryViewerVersion);\n\n var _this = _possibleConstructorReturn(this, (HistoryViewerVersion.__proto__ || Object.getPrototypeOf(HistoryViewerVersion)).call(this, props));\n\n _this.handleClick = _this.handleClick.bind(_this);\n _this.handleClose = _this.handleClose.bind(_this);\n _this.handleCompare = _this.handleCompare.bind(_this);\n _this.handleKeyUp = _this.handleKeyUp.bind(_this);\n return _this;\n }\n\n _createClass(HistoryViewerVersion, [{\n key: 'getAuthor',\n value: function getAuthor() {\n var Author = this.props.version.Author;\n\n\n return (Author.FirstName || '') + ' ' + (Author.Surname || '');\n }\n }, {\n key: 'getClassNames',\n value: function getClassNames() {\n var _props = this.props,\n extraClass = _props.extraClass,\n isActive = _props.isActive,\n compare = _props.compare,\n _props$compare = _props.compare,\n compareFrom = _props$compare.compareFrom,\n compareTo = _props$compare.compareTo;\n\n var defaultClasses = {\n 'history-viewer__row': true,\n 'history-viewer__row--current': isActive,\n 'history-viewer__row--comparison-selected': compare && !(compareFrom && compareTo)\n };\n return (0, _classnames2.default)(defaultClasses, extraClass);\n }\n }, {\n key: 'handleKeyUp',\n value: function handleKeyUp(event) {\n if (event.keyCode === 13) {\n this.handleClick();\n }\n }\n }, {\n key: 'handleClick',\n value: function handleClick() {\n var _props2 = this.props,\n onSelect = _props2.onSelect,\n version = _props2.version,\n isActive = _props2.isActive,\n compare = _props2.compare;\n\n if (isActive) {\n return false;\n }\n onSelect(version, compare);\n return false;\n }\n }, {\n key: 'handleCompare',\n value: function handleCompare() {\n var _props3 = this.props,\n onCompareMode = _props3.onCompareMode,\n version = _props3.version;\n\n onCompareMode(version);\n }\n }, {\n key: 'handleClose',\n value: function handleClose() {\n var _props4 = this.props,\n onSelect = _props4.onSelect,\n version = _props4.version,\n compare = _props4.compare,\n versionFrom = _props4.compare.versionFrom;\n\n if (versionFrom && versionFrom.Version === version.Version) {\n delete compare.versionFrom;\n }\n onSelect(0, compare);\n }\n }, {\n key: 'renderCompareButton',\n value: function renderCompareButton() {\n var _props5 = this.props,\n compareModeAvailable = _props5.compareModeAvailable,\n compare = _props5.compare,\n FormActionComponent = _props5.FormActionComponent;\n\n var translatedText = _i18n2.default._t('HistoryViewerVersion.COMPARE', 'Compare');\n\n if (!compareModeAvailable || compare) {\n return null;\n }\n\n return _react2.default.createElement(\n FormActionComponent,\n {\n onClick: this.handleCompare,\n title: translatedText,\n buttonStyle: 'outline-light',\n extraClass: 'history-viewer__compare-button'\n },\n translatedText\n );\n }\n }, {\n key: 'renderClearButton',\n value: function renderClearButton() {\n var _props6 = this.props,\n FormActionComponent = _props6.FormActionComponent,\n isActive = _props6.isActive;\n\n\n if (!isActive) {\n return null;\n }\n\n return _react2.default.createElement(FormActionComponent, {\n onClick: this.handleClose,\n icon: 'cancel',\n\n attributes: {\n title: _i18n2.default._t('HistoryViewerVersion.CLOSE', 'Close')\n },\n title: null,\n buttonStyle: 'outline-light',\n extraClass: 'history-viewer__close-button'\n });\n }\n }, {\n key: 'renderSelectedMessage',\n value: function renderSelectedMessage() {\n var isActive = this.props.isActive;\n\n\n if (!isActive) {\n return null;\n }\n\n return _react2.default.createElement(\n 'span',\n { className: 'history-viewer__selected-message' },\n _i18n2.default._t('HistoryViewerVersion.SELECTED', 'Already selected')\n );\n }\n }, {\n key: 'renderActions',\n value: function renderActions() {\n var _props7 = this.props,\n isActive = _props7.isActive,\n compare = _props7.compare;\n\n\n if (!isActive && !compare) {\n return _react2.default.createElement('span', { className: 'history-viewer__actions', role: 'cell' });\n }\n\n return _react2.default.createElement(\n 'span',\n { className: 'history-viewer__actions', role: 'cell' },\n this.renderCompareButton(),\n this.renderSelectedMessage(),\n this.renderClearButton()\n );\n }\n }, {\n key: 'render',\n value: function render() {\n var _props8 = this.props,\n version = _props8.version,\n isActive = _props8.isActive,\n StateComponent = _props8.StateComponent;\n\n var rowTitle = _i18n2.default._t('HistoryViewerVersion.GO_TO_VERSION', 'Go to version {version}');\n\n return _react2.default.createElement(\n 'li',\n { className: this.getClassNames(), role: 'row' },\n _react2.default.createElement(\n 'span',\n {\n className: 'history-viewer__version-link',\n role: 'button',\n title: _i18n2.default.inject(rowTitle, { version: version.Version }),\n onClick: this.handleClick,\n onKeyUp: this.handleKeyUp,\n tabIndex: 0\n },\n _react2.default.createElement(\n 'span',\n { className: 'history-viewer__message', role: 'cell' },\n _react2.default.createElement(\n 'span',\n null,\n version.ActivityAgo\n ),\n ' ',\n _react2.default.createElement(\n 'small',\n { className: 'text-muted' },\n (0, _getDateFromVersion2.default)(version)\n )\n ),\n _react2.default.createElement(StateComponent, {\n version: version,\n isActive: isActive\n }),\n _react2.default.createElement(\n 'span',\n { className: 'history-viewer__author', role: 'cell' },\n this.getAuthor()\n ),\n this.renderActions()\n )\n );\n }\n }]);\n\n return HistoryViewerVersion;\n}(_react.Component);\n\nHistoryViewerVersion.propTypes = {\n extraClass: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.array, _propTypes2.default.object]),\n version: _versionType.versionType,\n isActive: _propTypes2.default.bool,\n onSelect: _propTypes2.default.func,\n onCompareMode: _propTypes2.default.func,\n compare: _compareType.compareType,\n compareModeAvailable: _propTypes2.default.bool,\n StateComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired,\n FormActionComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired\n};\n\nHistoryViewerVersion.defaultProps = {\n isActive: false,\n version: _versionType.defaultVersion,\n compare: false,\n compareModeAvailable: true\n};\n\nexports.Component = HistoryViewerVersion;\n\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onSelect: function onSelect(selectedVersion, compare) {\n var versionFrom = compare.versionFrom;\n\n if (compare) {\n if (!versionFrom) {\n dispatch((0, _HistoryViewerActions.setCompareFrom)(selectedVersion));\n } else {\n dispatch((0, _HistoryViewerActions.setCompareTo)(selectedVersion));\n }\n } else {\n dispatch((0, _HistoryViewerActions.showVersion)(selectedVersion));\n dispatch((0, _HistoryViewerActions.clearMessages)());\n }\n },\n onCompareMode: function onCompareMode(version) {\n dispatch((0, _HistoryViewerActions.setCompareFrom)(version));\n dispatch((0, _HistoryViewerActions.setCompareMode)(true));\n }\n };\n}\n\nexports.default = (0, _redux.compose)((0, _reactRedux.connect)(null, mapDispatchToProps), (0, _Injector.inject)(['SnapshotHistoryViewerVersionState', 'FormAction'], function (StateComponent, FormActionComponent) {\n return {\n StateComponent: StateComponent,\n FormActionComponent: FormActionComponent\n };\n}, function (_ref) {\n var version = _ref.version;\n\n var context = 'VersionedAdmin.HistoryViewer.HistoryViewerVersion';\n if (version) {\n context += '.' + version.Version;\n }\n return context;\n}))(HistoryViewerVersion);\n\n/***/ }),\n\n/***/ \"./client/src/components/HistoryViewer/HistoryViewerVersionDetail.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Component = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(0);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = __webpack_require__(6);\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _FormBuilderLoader = __webpack_require__(14);\n\nvar _FormBuilderLoader2 = _interopRequireDefault(_FormBuilderLoader);\n\nvar _Injector = __webpack_require__(2);\n\nvar _versionType = __webpack_require__(\"./client/src/types/versionType.js\");\n\nvar _propTypes = __webpack_require__(1);\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _i18n = __webpack_require__(3);\n\nvar _i18n2 = _interopRequireDefault(_i18n);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar HistoryViewerVersionDetail = function (_PureComponent) {\n _inherits(HistoryViewerVersionDetail, _PureComponent);\n\n function HistoryViewerVersionDetail() {\n _classCallCheck(this, HistoryViewerVersionDetail);\n\n return _possibleConstructorReturn(this, (HistoryViewerVersionDetail.__proto__ || Object.getPrototypeOf(HistoryViewerVersionDetail)).apply(this, arguments));\n }\n\n _createClass(HistoryViewerVersionDetail, [{\n key: 'componentWillMount',\n value: function componentWillMount() {\n this.toggleToolbarClass(true);\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n if (nextProps.previewState !== this.props.previewState) {\n this.toggleToolbarClass(nextProps.previewState === 'split');\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.toggleToolbarClass(false);\n }\n }, {\n key: 'getListVersions',\n value: function getListVersions() {\n var _props = this.props,\n compare = _props.compare,\n version = _props.version;\n\n if (this.isCompareMode()) {\n return [compare.versionTo, compare.versionFrom];\n }\n return [version];\n }\n }, {\n key: 'isPreviewable',\n value: function isPreviewable() {\n var isPreviewable = this.props.isPreviewable;\n\n return isPreviewable && !this.isCompareMode();\n }\n }, {\n key: 'isCompareMode',\n value: function isCompareMode() {\n var compare = this.props.compare;\n\n return compare && compare.versionFrom && compare.versionTo;\n }\n }, {\n key: 'toggleToolbarClass',\n value: function toggleToolbarClass() {\n var add = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n var selector = document.querySelector('.CMSPageHistoryViewerController div:not(.cms-content-tools) .cms-content-header');\n var className = 'history-viewer__toolbar--condensed';\n\n if (selector && this.isPreviewable()) {\n if (add) {\n selector.classList.add(className);\n } else {\n selector.classList.remove(className);\n }\n }\n }\n }, {\n key: 'renderPreview',\n value: function renderPreview() {\n var _props2 = this.props,\n version = _props2.version,\n PreviewComponent = _props2.PreviewComponent,\n previewState = _props2.previewState;\n\n if (!this.isPreviewable() || previewState === 'edit') {\n return null;\n }\n\n return _react2.default.createElement(\n 'div',\n { className: 'history-viewer-preview flexbox-area-grow' },\n _react2.default.createElement(\n 'div',\n { className: 'history-viewer-preview__underlay' },\n _react2.default.createElement('div', { className: 'history-viewer-preview__spinner' }),\n _i18n2.default._t('HistoryViewerVersionDetail.LOADING_PREVIEW', 'Generating preview...')\n ),\n _react2.default.createElement(PreviewComponent, {\n className: 'history-viewer-preview__frame flexbox-area-grow',\n itemLinks: {\n preview: {\n Stage: {\n href: version.AbsoluteLink + '&archiveDate=' + version.LastEdited,\n type: 'text/html'\n }\n }\n },\n itemId: version.Version\n })\n );\n }\n }, {\n key: 'renderToolbar',\n value: function renderToolbar() {\n var _props3 = this.props,\n ToolbarComponent = _props3.ToolbarComponent,\n isLatestVersion = _props3.isLatestVersion,\n recordId = _props3.recordId,\n version = _props3.version,\n typeName = _props3.typeName;\n\n\n if (this.isCompareMode()) {\n return null;\n }\n\n var rollbackMessage = _i18n2.default._t('HistoryViewerVersionDetail.CANNOT_ROLLBACK_SNAPSHOTS', 'You can only revert to base versions');\n\n return _react2.default.createElement(ToolbarComponent, {\n identifier: 'HistoryViewer.VersionDetail.Toolbar',\n isLatestVersion: isLatestVersion,\n recordId: recordId,\n typeName: typeName,\n versionId: version.Version,\n isPreviewable: this.isPreviewable(),\n canRollback: version.IsFullVersion,\n rollbackMessage: rollbackMessage\n });\n }\n }, {\n key: 'renderDetails',\n value: function renderDetails() {\n var _props4 = this.props,\n compareModeAvailable = _props4.compareModeAvailable,\n ListComponent = _props4.ListComponent,\n schemaUrl = _props4.schemaUrl,\n CompareWarningComponent = _props4.CompareWarningComponent,\n previewState = _props4.previewState,\n version = _props4.version;\n\n if (this.isPreviewable() && previewState === 'preview') {\n return null;\n }\n\n var containerClasses = ['flexbox-area-grow', 'panel', 'panel--scrollable', 'panel--padded', 'panel--padded-side'];\n var extraListClasses = {\n 'history-viewer__table': true,\n 'history-viewer__table--current': true,\n 'history-viewer__table--compare': this.isCompareMode()\n };\n var formClasses = {\n 'history-viewer__version-detail': true,\n 'history-viewer__version-detail--compare': this.isCompareMode()\n };\n\n return _react2.default.createElement(\n 'div',\n { className: 'flexbox-area-grow fill-height' },\n _react2.default.createElement(\n 'div',\n { className: (0, _classnames2.default)(containerClasses) },\n _react2.default.createElement(ListComponent, {\n extraClass: (0, _classnames2.default)(extraListClasses),\n versions: this.getListVersions(),\n compareModeAvailable: compareModeAvailable\n }),\n _react2.default.createElement(\n 'div',\n { className: (0, _classnames2.default)(formClasses) },\n _react2.default.createElement(_FormBuilderLoader2.default, {\n identifier: 'HistoryViewer.VersionDetail.' + version.ID,\n schemaUrl: schemaUrl,\n refetchSchemaOnMount: false\n })\n )\n ),\n this.renderToolbar(),\n _react2.default.createElement(CompareWarningComponent, { fixed: true })\n );\n }\n }, {\n key: 'render',\n value: function render() {\n return _react2.default.createElement(\n 'div',\n { className: 'flexbox-area-grow fill-width' },\n this.renderDetails(),\n this.renderPreview()\n );\n }\n }]);\n\n return HistoryViewerVersionDetail;\n}(_react.PureComponent);\n\nHistoryViewerVersionDetail.propTypes = {\n isLatestVersion: _propTypes2.default.bool,\n isPreviewable: _propTypes2.default.bool,\n ListComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired,\n PreviewComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]),\n recordId: _propTypes2.default.number.isRequired,\n typeName: _propTypes2.default.string.isRequired,\n schemaUrl: _propTypes2.default.string.isRequired,\n ToolbarComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired,\n version: _versionType.versionType,\n compare: _propTypes2.default.oneOfType([_propTypes2.default.shape({\n versionFrom: _versionType.versionType,\n versionTo: _versionType.versionType\n }), _propTypes2.default.bool]),\n\n previewState: _propTypes2.default.oneOf(['edit', 'preview', 'split'])\n};\n\nHistoryViewerVersionDetail.defaultProps = {\n isLatestVersion: false,\n isPreviewable: false,\n compare: false\n};\n\nexports.Component = HistoryViewerVersionDetail;\nexports.default = (0, _Injector.inject)(['SnapshotHistoryViewerVersionList', 'SnapshotHistoryViewerToolbar', 'Preview', 'SnapshotHistoryViewerCompareWarning'], function (ListComponent, ToolbarComponent, PreviewComponent, CompareWarningComponent) {\n return {\n ListComponent: ListComponent,\n ToolbarComponent: ToolbarComponent,\n PreviewComponent: PreviewComponent,\n CompareWarningComponent: CompareWarningComponent\n };\n}, function (_ref, context) {\n var version = _ref.version;\n return context + '.HistoryViewerVersionDetail.' + version.Version;\n})(HistoryViewerVersionDetail);\n\n/***/ }),\n\n/***/ \"./client/src/components/HistoryViewer/HistoryViewerVersionList.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Component = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(0);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(1);\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _classnames = __webpack_require__(6);\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _i18n = __webpack_require__(3);\n\nvar _i18n2 = _interopRequireDefault(_i18n);\n\nvar _reactRedux = __webpack_require__(4);\n\nvar _redux = __webpack_require__(5);\n\nvar _Injector = __webpack_require__(2);\n\nvar _messageType = __webpack_require__(\"./client/src/types/messageType.js\");\n\nvar _versionType = __webpack_require__(\"./client/src/types/versionType.js\");\n\nvar _compareType = __webpack_require__(\"./client/src/types/compareType.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar HistoryViewerVersionList = function (_PureComponent) {\n _inherits(HistoryViewerVersionList, _PureComponent);\n\n function HistoryViewerVersionList() {\n _classCallCheck(this, HistoryViewerVersionList);\n\n return _possibleConstructorReturn(this, (HistoryViewerVersionList.__proto__ || Object.getPrototypeOf(HistoryViewerVersionList)).apply(this, arguments));\n }\n\n _createClass(HistoryViewerVersionList, [{\n key: 'getClassNames',\n value: function getClassNames() {\n var _props = this.props,\n extraClass = _props.extraClass,\n showHeader = _props.showHeader;\n\n\n return (0, _classnames2.default)(extraClass, {\n table: true,\n 'history-viewer__table--headerless': !showHeader\n });\n }\n }, {\n key: 'isVersionActive',\n value: function isVersionActive(version) {\n var _props2 = this.props,\n currentVersion = _props2.currentVersion,\n compare = _props2.compare,\n _props2$compare = _props2.compare,\n versionFrom = _props2$compare.versionFrom,\n versionTo = _props2$compare.versionTo;\n\n var isCurrent = currentVersion && currentVersion.ID === version.ID;\n var isCompareFrom = versionFrom && versionFrom.ID === version.ID;\n var isCompareTo = versionTo && versionTo.ID === version.ID;\n\n return !compare && isCurrent || isCompareFrom || isCompareTo;\n }\n }, {\n key: 'renderMessages',\n value: function renderMessages() {\n var _props3 = this.props,\n FormAlertComponent = _props3.FormAlertComponent,\n messages = _props3.messages;\n\n\n if (!messages.length) {\n return null;\n }\n\n return _react2.default.createElement(\n 'div',\n { className: 'history-viewer__messages' },\n messages.map(function (data) {\n return _react2.default.createElement(FormAlertComponent, {\n key: data.id,\n type: data.type,\n value: data.message,\n closeLabel: _i18n2.default._t('HistoryViewerVersionList.CLOSE', 'Close')\n });\n })\n );\n }\n }, {\n key: 'renderHeader',\n value: function renderHeader() {\n var _props4 = this.props,\n showHeader = _props4.showHeader,\n HeadingComponent = _props4.HeadingComponent,\n compareModeAvailable = _props4.compareModeAvailable;\n\n\n if (!showHeader) {\n return null;\n }\n\n var headingProps = {\n compareModeAvailable: compareModeAvailable\n };\n\n return _react2.default.createElement(HeadingComponent, headingProps);\n }\n }, {\n key: 'render',\n value: function render() {\n var _this2 = this;\n\n var _props5 = this.props,\n VersionComponent = _props5.VersionComponent,\n SnapshotComponent = _props5.SnapshotComponent,\n versions = _props5.versions,\n compareModeAvailable = _props5.compareModeAvailable,\n compare = _props5.compare;\n\n return _react2.default.createElement(\n 'div',\n { className: 'history-viewer__list' },\n _react2.default.createElement(\n 'ul',\n { className: this.getClassNames(), role: 'table' },\n this.renderHeader(),\n versions.map(function (version, index) {\n return version.IsFullVersion ? _react2.default.createElement(VersionComponent, {\n key: version.ID + '--' + version.LastEdited,\n isActive: _this2.isVersionActive(version),\n version: version,\n compare: compare,\n compareModeAvailable: compareModeAvailable\n }) : _react2.default.createElement(SnapshotComponent, {\n isComparing: !!compare,\n key: version.ID + '--' + version.LastEdited,\n isActive: _this2.isVersionActive(version),\n version: version,\n initial: index < 1\n });\n })\n )\n );\n }\n }]);\n\n return HistoryViewerVersionList;\n}(_react.PureComponent);\n\nHistoryViewerVersionList.propTypes = {\n extraClass: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.array, _propTypes2.default.object]),\n showHeader: _propTypes2.default.bool,\n FormAlertComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired,\n HeadingComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired,\n messages: _propTypes2.default.arrayOf(_messageType.messageType),\n VersionComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired,\n versions: _propTypes2.default.arrayOf(_versionType.versionType),\n compare: _compareType.compareType,\n compareModeAvailable: _propTypes2.default.bool\n};\n\nHistoryViewerVersionList.defaultProps = {\n compareModeAvailable: true,\n extraClass: 'history-viewer__table',\n messages: [],\n showHeader: true,\n versions: []\n};\n\nfunction mapStateToProps(state) {\n var _state$versionedAdmin = state.versionedAdmin.historyViewer,\n messages = _state$versionedAdmin.messages,\n compare = _state$versionedAdmin.compare,\n currentVersion = _state$versionedAdmin.currentVersion;\n\n return {\n messages: messages,\n compare: compare,\n currentVersion: currentVersion\n };\n}\n\nexports.Component = HistoryViewerVersionList;\nexports.default = (0, _redux.compose)((0, _reactRedux.connect)(mapStateToProps), (0, _Injector.inject)(['FormAlert', 'SnapshotHistoryViewerHeading', 'SnapshotHistoryViewerVersion', 'SnapshotHistoryViewerSnapshot'], function (FormAlert, HistoryViewerHeading, HistoryViewerVersion, HistoryViewerSnapshot) {\n return {\n FormAlertComponent: FormAlert,\n HeadingComponent: HistoryViewerHeading,\n VersionComponent: HistoryViewerVersion,\n SnapshotComponent: HistoryViewerSnapshot\n };\n}, function () {\n return 'VersionedAdmin.HistoryViewer.HistoryViewerVersionList';\n}))(HistoryViewerVersionList);\n\n/***/ }),\n\n/***/ \"./client/src/components/HistoryViewer/HistoryViewerVersionState.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Component = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(0);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = __webpack_require__(6);\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _i18n = __webpack_require__(3);\n\nvar _i18n2 = _interopRequireDefault(_i18n);\n\nvar _versionType = __webpack_require__(\"./client/src/types/versionType.js\");\n\nvar _Injector = __webpack_require__(2);\n\nvar _propTypes = __webpack_require__(1);\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar HistoryViewerVersionState = function (_Component) {\n _inherits(HistoryViewerVersionState, _Component);\n\n function HistoryViewerVersionState() {\n _classCallCheck(this, HistoryViewerVersionState);\n\n return _possibleConstructorReturn(this, (HistoryViewerVersionState.__proto__ || Object.getPrototypeOf(HistoryViewerVersionState)).apply(this, arguments));\n }\n\n _createClass(HistoryViewerVersionState, [{\n key: 'getClassNames',\n value: function getClassNames() {\n var extraClass = this.props.extraClass;\n\n return (0, _classnames2.default)('history-viewer__version-state', extraClass);\n }\n }, {\n key: 'getPublishedState',\n value: function getPublishedState() {\n var version = this.props.version;\n\n if (version.ActivityType === 'PUBLISHED') {\n return _i18n2.default._t('HistoryViewer.Published', 'Published');\n }\n if (version.ActivityType === 'UNPUBLISHED') {\n return _i18n2.default._t('HistoryViewer.Unpublished', 'Unpublished');\n }\n return _i18n2.default._t('HistoryViewer.Saved', 'Saved');\n }\n }, {\n key: 'getBadges',\n value: function getBadges() {\n var _props = this.props,\n version = _props.version,\n isActive = _props.isActive,\n BadgeComponent = _props.BadgeComponent;\n\n\n if (version.IsLiveSnapshot) {\n return _react2.default.createElement(BadgeComponent, {\n status: 'success',\n message: _i18n2.default._t('HistoryViewer.BadgeLive', 'Live'),\n className: '',\n inverted: isActive\n });\n }\n\n return '';\n }\n }, {\n key: 'render',\n value: function render() {\n return _react2.default.createElement(\n 'span',\n { className: this.getClassNames(), role: 'cell' },\n this.getPublishedState(),\n ' ',\n ' ',\n this.getBadges()\n );\n }\n }]);\n\n return HistoryViewerVersionState;\n}(_react.Component);\n\nHistoryViewerVersionState.propTypes = {\n version: _versionType.versionType,\n extraClass: _propTypes2.default.string,\n isActive: _propTypes2.default.bool,\n BadgeComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired\n};\n\nHistoryViewerVersionState.defaultProps = {\n version: _versionType.defaultVersion,\n extraClass: '',\n isActive: false\n};\n\nexports.Component = HistoryViewerVersionState;\nexports.default = (0, _Injector.inject)(['Badge'], function (BadgeComponent) {\n return { BadgeComponent: BadgeComponent };\n}, function (_ref) {\n var version = _ref.version;\n return 'HistoryViewer.HistoryViewerVersionState.' + version.Version;\n})(HistoryViewerVersionState);\n\n/***/ }),\n\n/***/ \"./client/src/components/HistoryViewer/RollbackMutation.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = __webpack_require__(0);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactApollo = __webpack_require__(7);\n\nvar _createRollbackMutation = __webpack_require__(\"./client/src/graphql/createRollbackMutation.js\");\n\nvar _createRollbackMutation2 = _interopRequireDefault(_createRollbackMutation);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar RollbackMutation = function RollbackMutation(_ref) {\n var typeName = _ref.typeName,\n children = _ref.children;\n\n var ROLLBACK = (0, _react.useMemo)(function () {\n return (0, _createRollbackMutation2.default)(typeName);\n }, [typeName]);\n return _react2.default.createElement(\n _reactApollo.Mutation,\n { mutation: ROLLBACK, refetchQueries: ['ReadSnapshots' + typeName] },\n children\n );\n};\n\nexports.default = RollbackMutation;\n\n/***/ }),\n\n/***/ \"./client/src/components/HistoryViewer/SnapshotViewerContainer.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = __webpack_require__(0);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(1);\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _reactApollo = __webpack_require__(7);\n\nvar _Injector = __webpack_require__(2);\n\nvar _createSnapshotsQuery = __webpack_require__(\"./client/src/graphql/createSnapshotsQuery.js\");\n\nvar _createSnapshotsQuery2 = _interopRequireDefault(_createSnapshotsQuery);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SnapshotViewerContainer = function SnapshotViewerContainer(_ref) {\n var _ref$data = _ref.data,\n typeName = _ref$data.typeName,\n recordId = _ref$data.recordId,\n limit = _ref$data.limit,\n page = _ref$data.page,\n recordClass = _ref$data.recordClass,\n isPreviewable = _ref$data.isPreviewable,\n _ref$data$actions = _ref$data.actions,\n actions = _ref$data$actions === undefined ? { versions: {} } : _ref$data$actions,\n SnapshotViewerComponent = _ref.SnapshotViewerComponent;\n\n var QUERY = (0, _react.useMemo)(function () {\n return (0, _createSnapshotsQuery2.default)(typeName, isPreviewable);\n }, [typeName, isPreviewable]);\n\n var variables = {\n limit: limit,\n offset: ((page || 1) - 1) * limit,\n page_id: recordId\n };\n return _react2.default.createElement(\n _reactApollo.Query,\n { query: QUERY, variables: variables, fetchPolicy: 'network-only' },\n function (_ref2) {\n var loading = _ref2.loading,\n error = _ref2.error,\n data = _ref2.data,\n refetch = _ref2.refetch;\n\n var readOne = null;\n if (data) {\n readOne = data['readOne' + typeName];\n }\n var versions = readOne || {};\n\n var errors = error && error.graphQLErrors && error.graphQLErrors.map(function (graphQLError) {\n return graphQLError.message;\n });\n\n var props = {\n loading: loading,\n versions: versions,\n graphQLErrors: errors,\n actions: _extends({}, actions, {\n versions: _extends({}, versions, {\n goToPage: function goToPage(page) {\n refetch({\n offset: ((page || 1) - 1) * limit,\n limit: limit,\n page_id: recordId\n });\n }\n })\n }),\n recordId: recordId,\n recordClass: recordClass,\n typeName: typeName,\n limit: limit,\n page: page\n };\n\n return _react2.default.createElement(SnapshotViewerComponent, props);\n }\n );\n};\n\nSnapshotViewerContainer.propTypes = {\n data: _propTypes2.default.shape({\n typeName: _propTypes2.default.string.isRequired,\n recordId: _propTypes2.default.number.isRequired,\n limit: _propTypes2.default.number,\n page: _propTypes2.default.number,\n actions: _propTypes2.default.object\n })\n};\n\nexports.default = (0, _Injector.inject)(['SnapshotViewer'], function (SnapshotViewerComponent) {\n return {\n SnapshotViewerComponent: SnapshotViewerComponent\n };\n}, function (_ref3) {\n var contextKey = _ref3.contextKey;\n return 'VersionedAdmin.HistoryViewer.' + contextKey;\n})(SnapshotViewerContainer);\n\n/***/ }),\n\n/***/ \"./client/src/containers/HistoryViewer/HistoryViewerConfig.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(0);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Config = __webpack_require__(13);\n\nvar _Config2 = _interopRequireDefault(_Config);\n\nvar _Injector = __webpack_require__(2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar historyViewerConfig = function historyViewerConfig(HistoryViewer) {\n var HistoryViewerConfigProvider = function (_React$Component) {\n _inherits(HistoryViewerConfigProvider, _React$Component);\n\n function HistoryViewerConfigProvider() {\n _classCallCheck(this, HistoryViewerConfigProvider);\n\n return _possibleConstructorReturn(this, (HistoryViewerConfigProvider.__proto__ || Object.getPrototypeOf(HistoryViewerConfigProvider)).apply(this, arguments));\n }\n\n _createClass(HistoryViewerConfigProvider, [{\n key: 'getConfig',\n value: function getConfig() {\n var sectionKey = 'SilverStripe\\\\VersionedAdmin\\\\Controllers\\\\HistoryViewerController';\n return _Config2.default.getSection(sectionKey);\n }\n }, {\n key: 'getSchemaUrlDetails',\n value: function getSchemaUrlDetails() {\n var compare = this.props.compare;\n\n if (compare) {\n return {\n formName: 'compareForm',\n queryParts: ['RecordVersionFrom=:from', 'RecordVersionTo=:to']\n };\n }\n return {\n formName: 'versionForm',\n queryParts: ['RecordVersion=:version', 'RecordDate=:date']\n };\n }\n }, {\n key: 'getSchemaUrl',\n value: function getSchemaUrl() {\n var config = this.getConfig();\n\n var _getSchemaUrlDetails = this.getSchemaUrlDetails(),\n formName = _getSchemaUrlDetails.formName,\n queryParts = _getSchemaUrlDetails.queryParts;\n\n var schemaUrlBase = config.form[formName].schemaUrl + '/:id';\n var schemaUrlQuery = queryParts.concat('RecordClass=:class&RecordID=:id').join('&');\n return schemaUrlBase + '?' + schemaUrlQuery;\n }\n }, {\n key: 'render',\n value: function render() {\n var props = _extends({}, this.props, {\n config: this.getConfig(),\n HistoryViewer: HistoryViewer,\n schemaUrl: this.getSchemaUrl()\n });\n\n return _react2.default.createElement(HistoryViewer, props);\n }\n }]);\n\n return HistoryViewerConfigProvider;\n }(_react2.default.Component);\n\n return (0, _Injector.inject)(['SnapshotHistoryViewer'])(HistoryViewerConfigProvider);\n};\n\nexports.default = historyViewerConfig;\n\n/***/ }),\n\n/***/ \"./client/src/graphql/createRollbackMutation.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _templateObject = _taggedTemplateLiteral(['\\n mutation rollback', '($id:ID!, $toVersion:Int!) {\\n rollback', '(\\n ID: $id\\n ToVersion: $toVersion\\n ) {\\n ID\\n ClassName\\n }\\n }\\n '], ['\\n mutation rollback', '($id:ID!, $toVersion:Int!) {\\n rollback', '(\\n ID: $id\\n ToVersion: $toVersion\\n ) {\\n ID\\n ClassName\\n }\\n }\\n ']);\n\nvar _reactApollo = __webpack_require__(7);\n\nvar _graphqlTag = __webpack_require__(8);\n\nvar _graphqlTag2 = _interopRequireDefault(_graphqlTag);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }\n\nvar createRollbakMutation = function createRollbakMutation(typeName) {\n return (0, _graphqlTag2.default)(_templateObject, typeName, typeName);\n};\n\nexports.default = createRollbakMutation;\n\n/***/ }),\n\n/***/ \"./client/src/graphql/createSnapshotsQuery.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _templateObject = _taggedTemplateLiteral(['\\n query ReadSnapshots', ' ($page_id: ID!, $limit: Int!, $offset: Int!) {\\n readOne', '(\\n ID: $page_id\\n ) {\\n ID\\n ', '\\n SnapshotHistory (limit: $limit, offset: $offset) {\\n pageInfo {\\n totalCount\\n }\\n edges {\\n node {\\n ID\\n LastEdited\\n ActivityDescription\\n ActivityType\\n ActivityAgo\\n IsFullVersion\\n IsLiveSnapshot\\n BaseVersion\\n Message\\n Author {\\n FirstName\\n Surname\\n }\\n OriginVersion {\\n Version\\n ', '\\n Author {\\n FirstName\\n Surname\\n }\\n\\n Published\\n Publisher {\\n FirstName\\n Surname\\n }\\n LatestDraftVersion\\n }\\n }\\n }\\n }\\n }\\n }\\n\\n '], ['\\n query ReadSnapshots', ' ($page_id: ID!, $limit: Int!, $offset: Int!) {\\n readOne', '(\\n ID: $page_id\\n ) {\\n ID\\n ', '\\n SnapshotHistory (limit: $limit, offset: $offset) {\\n pageInfo {\\n totalCount\\n }\\n edges {\\n node {\\n ID\\n LastEdited\\n ActivityDescription\\n ActivityType\\n ActivityAgo\\n IsFullVersion\\n IsLiveSnapshot\\n BaseVersion\\n Message\\n Author {\\n FirstName\\n Surname\\n }\\n OriginVersion {\\n Version\\n ', '\\n Author {\\n FirstName\\n Surname\\n }\\n\\n Published\\n Publisher {\\n FirstName\\n Surname\\n }\\n LatestDraftVersion\\n }\\n }\\n }\\n }\\n }\\n }\\n\\n ']);\n\nvar _graphqlTag = __webpack_require__(8);\n\nvar _graphqlTag2 = _interopRequireDefault(_graphqlTag);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }\n\nvar createSnapshotsQuery = function createSnapshotsQuery(typeName, isPreviewable) {\n return (0, _graphqlTag2.default)(_templateObject, typeName, typeName, isPreviewable ? 'AbsoluteLink' : '', isPreviewable ? 'AbsoluteLink' : '');\n};\n\nexports.default = createSnapshotsQuery;\n\n/***/ }),\n\n/***/ \"./client/src/helpers/getDateFromVersion.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _i18n = __webpack_require__(3);\n\nvar _i18n2 = _interopRequireDefault(_i18n);\n\nvar _moment = __webpack_require__(16);\n\nvar _moment2 = _interopRequireDefault(_moment);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar getDateFromVersion = function getDateFromVersion(version) {\n _moment2.default.locale(_i18n2.default.detectLocale());\n return (0, _moment2.default)(version.LastEdited).format('L LT');\n};\n\nexports.default = getDateFromVersion;\n\n/***/ }),\n\n/***/ \"./client/src/legacy/ArchiveAdmin/ArchiveAdmin.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _jquery = __webpack_require__(12);\n\nvar _jquery2 = _interopRequireDefault(_jquery);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n_jquery2.default.entwine('ss', function ($) {\n $('.ArchiveAdmin__action--restore').entwine({\n onmatch: function onmatch() {\n $(this).attr('readonly', false);\n $(this).attr('disabled', false);\n }\n });\n\n $('.ArchiveAdmin .other-model-selector select').entwine({\n onchange: function onchange(e) {\n e.preventDefault();\n\n var targetClassName = $(this).val();\n var othersArchiveUrl = $(this).data('others-archive-url');\n if (targetClassName) {\n targetClassName = targetClassName.replace(/\\\\/g, '-');\n var url = othersArchiveUrl + targetClassName;\n\n $('.cms-container').loadPanel(url, '', { pjax: 'CurrentForm' });\n }\n }\n });\n});\n\n/***/ }),\n\n/***/ \"./client/src/legacy/HistoryViewer/HistoryViewerEntwine.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _jquery = __webpack_require__(12);\n\nvar _jquery2 = _interopRequireDefault(_jquery);\n\nvar _react = __webpack_require__(0);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = __webpack_require__(15);\n\nvar _reactDom2 = _interopRequireDefault(_reactDom);\n\nvar _Injector = __webpack_require__(2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n_jquery2.default.entwine('ss', function ($) {\n $('.js-injector-boot .snapshot-history-viewer__container').entwine({\n onmatch: function onmatch() {\n var cmsContent = this.closest('.cms-content').attr('id');\n var context = cmsContent ? { context: cmsContent } : {};\n var HistoryViewerComponent = (0, _Injector.loadComponent)('SnapshotViewerContainer', context);\n var schemaData = this.data('schema');\n var props = {\n data: schemaData.data,\n\n isInGridField: schemaData.data.isInGridField || !this.hasClass('history-viewer--standalone')\n };\n\n _reactDom2.default.render(_react2.default.createElement(HistoryViewerComponent, props), this[0]);\n },\n onunmatch: function onunmatch() {\n _reactDom2.default.unmountComponentAtNode(this[0]);\n }\n });\n\n $('.history-viewer__version-detail .nav-link').entwine({\n onclick: function onclick(e) {\n e.preventDefault();\n this._super(e);\n }\n });\n\n $('.tab.tab--history-viewer[aria-hidden=false]').entwine({\n onmatch: function onmatch() {\n $('.toolbar--south.cms-content-actions').hide();\n },\n onunmatch: function onunmatch() {\n $('.toolbar--south.cms-content-actions').show();\n }\n });\n $('.tab.tab--history-viewer .history-viewer__version-detail').entwine({\n onmatch: function onmatch() {\n this.parent().css('padding-bottom', '3rem').next('.toolbar--south').css({\n position: 'absolute',\n bottom: 0,\n left: 0,\n right: 0\n });\n }\n });\n});\n\n/***/ }),\n\n/***/ \"./client/src/state/historyviewer/HistoryViewerActionTypes.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nexports.default = ['SHOW_VERSION', 'SHOW_DATE', 'SHOW_LIST', 'SET_CURRENT_PAGE', 'ADD_MESSAGE', 'CLEAR_MESSAGES', 'SET_COMPARE_MODE', 'SET_COMPARE_FROM', 'SET_COMPARE_TO'].reduce(function (obj, item) {\n return Object.assign(obj, _defineProperty({}, item, 'HISTORY_VIEWER.' + item));\n}, {});\n\n/***/ }),\n\n/***/ \"./client/src/state/historyviewer/HistoryViewerActions.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.showVersion = showVersion;\nexports.showDate = showDate;\nexports.showList = showList;\nexports.setCurrentPage = setCurrentPage;\nexports.addMessage = addMessage;\nexports.clearMessages = clearMessages;\nexports.setCompareMode = setCompareMode;\nexports.setCompareFrom = setCompareFrom;\nexports.setCompareTo = setCompareTo;\n\nvar _HistoryViewerActionTypes = __webpack_require__(\"./client/src/state/historyviewer/HistoryViewerActionTypes.js\");\n\nvar _HistoryViewerActionTypes2 = _interopRequireDefault(_HistoryViewerActionTypes);\n\nvar _v = __webpack_require__(\"./node_modules/uuid/v1.js\");\n\nvar _v2 = _interopRequireDefault(_v);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction showVersion(version) {\n return {\n type: _HistoryViewerActionTypes2.default.SHOW_VERSION,\n payload: { version: version }\n };\n}\n\nfunction showDate(version) {\n return {\n type: _HistoryViewerActionTypes2.default.SHOW_DATE,\n payload: { version: version }\n };\n}\n\nfunction showList() {\n return {\n type: _HistoryViewerActionTypes2.default.SHOW_LIST\n };\n}\n\nfunction setCurrentPage(page) {\n return {\n type: _HistoryViewerActionTypes2.default.SET_CURRENT_PAGE,\n payload: { page: page }\n };\n}\n\nfunction addMessage(message) {\n var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'success';\n\n return {\n type: _HistoryViewerActionTypes2.default.ADD_MESSAGE,\n payload: { id: (0, _v2.default)(), message: message, type: type }\n };\n}\n\nfunction clearMessages() {\n return {\n type: _HistoryViewerActionTypes2.default.CLEAR_MESSAGES\n };\n}\n\nfunction setCompareMode(enabled) {\n return {\n type: _HistoryViewerActionTypes2.default.SET_COMPARE_MODE,\n payload: { enabled: enabled }\n };\n}\n\nfunction setCompareFrom(version) {\n return {\n type: _HistoryViewerActionTypes2.default.SET_COMPARE_FROM,\n payload: { version: version }\n };\n}\n\nfunction setCompareTo(version) {\n return {\n type: _HistoryViewerActionTypes2.default.SET_COMPARE_TO,\n payload: { version: version }\n };\n}\n\n/***/ }),\n\n/***/ \"./client/src/state/historyviewer/HistoryViewerReducer.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nexports.default = historyViewerReducer;\n\nvar _HistoryViewerActionTypes = __webpack_require__(\"./client/src/state/historyviewer/HistoryViewerActionTypes.js\");\n\nvar _HistoryViewerActionTypes2 = _interopRequireDefault(_HistoryViewerActionTypes);\n\nvar _compareType = __webpack_require__(\"./client/src/types/compareType.js\");\n\nvar _HistoryViewer = __webpack_require__(\"./client/src/components/HistoryViewer/HistoryViewer.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nvar initialState = {\n currentPage: 1,\n previewMode: false,\n currentVersion: false,\n compare: _compareType.defaultCompare,\n loading: false,\n messages: []\n};\n\nfunction historyViewerReducer() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;\n\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n type = _ref.type,\n payload = _ref.payload;\n\n switch (type) {\n case _HistoryViewerActionTypes2.default.SET_CURRENT_PAGE:\n {\n return _extends({}, state, {\n currentPage: payload.page\n });\n }\n\n case _HistoryViewerActionTypes2.default.SHOW_VERSION:\n {\n var version = payload.version;\n\n return _extends({}, state, {\n previewMode: version && _HistoryViewer.VERSION_MODE_VERSION,\n currentVersion: version\n });\n }\n\n case _HistoryViewerActionTypes2.default.SHOW_DATE:\n {\n var _version = payload.version;\n\n return _extends({}, state, {\n previewMode: _version && _HistoryViewer.VERSION_MODE_DATE,\n currentVersion: _version\n });\n }\n\n case _HistoryViewerActionTypes2.default.SHOW_LIST:\n {\n return _extends({}, state, {\n currentVersion: false,\n currentDate: false,\n previewMode: false,\n currentPage: 0\n });\n }\n\n case _HistoryViewerActionTypes2.default.ADD_MESSAGE:\n {\n return _extends({}, state, {\n messages: [payload].concat(_toConsumableArray(state.messages))\n });\n }\n\n case _HistoryViewerActionTypes2.default.CLEAR_MESSAGES:\n {\n return _extends({}, state, {\n messages: []\n });\n }\n\n case _HistoryViewerActionTypes2.default.SET_COMPARE_MODE:\n {\n var initialCompare = _extends({\n versionFrom: false,\n versionTo: false\n }, state.compare);\n\n return _extends({}, state, {\n compare: payload.enabled ? initialCompare : false,\n previewMode: payload.enabled ? state.previewMode : false\n });\n }\n\n case _HistoryViewerActionTypes2.default.SET_COMPARE_FROM:\n {\n var _state$compare = state.compare,\n versionFrom = _state$compare.versionFrom,\n versionTo = _state$compare.versionTo;\n\n versionFrom = payload.version || false;\n\n if (!versionFrom) {\n versionFrom = versionTo;\n versionTo = false;\n }\n\n return _extends({}, state, {\n currentVersion: versionFrom,\n compare: { versionFrom: versionFrom, versionTo: versionTo }\n });\n }\n\n case _HistoryViewerActionTypes2.default.SET_COMPARE_TO:\n {\n var _state$compare2 = state.compare,\n _versionFrom = _state$compare2.versionFrom,\n _versionTo = _state$compare2.versionTo;\n\n _versionTo = payload.version || false;\n\n if (_versionTo && _versionFrom && _versionTo.Version < _versionFrom.Version) {\n _versionFrom = _versionTo;\n _versionTo = state.compare.versionFrom;\n }\n\n return _extends({}, state, {\n currentVersion: _versionFrom,\n compare: { versionFrom: _versionFrom, versionTo: _versionTo }\n });\n }\n\n default:\n return state;\n }\n}\n\n/***/ }),\n\n/***/ \"./client/src/types/compareType.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.defaultCompare = exports.compareType = undefined;\n\nvar _propTypes = __webpack_require__(1);\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _versionType = __webpack_require__(\"./client/src/types/versionType.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar compareType = _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.shape({\n versionFrom: _versionType.versionType,\n versionTo: _versionType.versionType\n})]);\n\nvar defaultCompare = false;\n\nexports.compareType = compareType;\nexports.defaultCompare = defaultCompare;\n\n/***/ }),\n\n/***/ \"./client/src/types/messageType.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.messageType = undefined;\n\nvar _propTypes = __webpack_require__(1);\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar messageType = _propTypes2.default.shape({\n id: _propTypes2.default.string,\n message: _propTypes2.default.string,\n type: _propTypes2.default.oneOf(['error', 'info', 'success', 'warning'])\n});\n\nexports.messageType = messageType;\n\n/***/ }),\n\n/***/ \"./client/src/types/versionType.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.defaultVersion = exports.versionType = undefined;\n\nvar _propTypes = __webpack_require__(1);\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar memberShape = _propTypes2.default.shape({\n FirstName: _propTypes2.default.string,\n Surname: _propTypes2.default.string\n});\n\nvar versionType = _propTypes2.default.shape({\n Version: _propTypes2.default.number,\n AbsoluteLink: _propTypes2.default.string,\n LastEdited: _propTypes2.default.string,\n Published: _propTypes2.default.boolean,\n LiveVersion: _propTypes2.default.boolean,\n LatestDraftVersion: _propTypes2.default.boolean,\n Message: _propTypes2.default.string,\n Publisher: memberShape,\n Author: memberShape\n});\n\nvar defaultVersion = {\n Version: 0,\n AbsoluteLink: '',\n LastEdited: '',\n Published: false,\n LiveVersion: false,\n LatestDraftVersion: false,\n Message: '',\n Publisher: {\n FirstName: '',\n Surname: ''\n },\n Author: {\n FirstName: '',\n Surname: ''\n }\n};\n\nexports.versionType = versionType;\nexports.defaultVersion = defaultVersion;\n\n/***/ }),\n\n/***/ \"./node_modules/babel-loader/lib/index.js?{\\\"presets\\\":[[\\\"env\\\",{\\\"modules\\\":false}],\\\"react\\\"],\\\"plugins\\\":[\\\"transform-object-rest-spread\\\"],\\\"comments\\\":false,\\\"cacheDirectory\\\":true}!./client/src/components/HistoryViewer/HistoryViewer.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Component = exports.VERSION_MODE_DATE = exports.VERSION_MODE_VERSION = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(0);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _redux = __webpack_require__(5);\n\nvar _reactRedux = __webpack_require__(4);\n\nvar _griddleReact = __webpack_require__(\"./node_modules/griddle-react/modules/griddle.jsx.js\");\n\nvar _griddleReact2 = _interopRequireDefault(_griddleReact);\n\nvar _HistoryViewerConfig = __webpack_require__(\"./client/src/containers/HistoryViewer/HistoryViewerConfig.js\");\n\nvar _HistoryViewerConfig2 = _interopRequireDefault(_HistoryViewerConfig);\n\nvar _i18n = __webpack_require__(3);\n\nvar _i18n2 = _interopRequireDefault(_i18n);\n\nvar _Injector = __webpack_require__(2);\n\nvar _Loading = __webpack_require__(9);\n\nvar _Loading2 = _interopRequireDefault(_Loading);\n\nvar _HistoryViewerActions = __webpack_require__(\"./client/src/state/historyviewer/HistoryViewerActions.js\");\n\nvar _versionType = __webpack_require__(\"./client/src/types/versionType.js\");\n\nvar _compareType = __webpack_require__(\"./client/src/types/compareType.js\");\n\nvar _classnames = __webpack_require__(6);\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _reactResizeAware = __webpack_require__(\"./node_modules/react-resize-aware/dist/index.js\");\n\nvar _reactResizeAware2 = _interopRequireDefault(_reactResizeAware);\n\nvar _ViewModeActions = __webpack_require__(11);\n\nvar viewModeActions = _interopRequireWildcard(_ViewModeActions);\n\nvar _propTypes = __webpack_require__(1);\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar VERSION_MODE_VERSION = 'VERSION';\nvar VERSION_MODE_DATE = 'DATE';\n\nexports.VERSION_MODE_VERSION = VERSION_MODE_VERSION;\nexports.VERSION_MODE_DATE = VERSION_MODE_DATE;\n\nvar HistoryViewer = function (_Component) {\n _inherits(HistoryViewer, _Component);\n\n function HistoryViewer(props) {\n _classCallCheck(this, HistoryViewer);\n\n var _this = _possibleConstructorReturn(this, (HistoryViewer.__proto__ || Object.getPrototypeOf(HistoryViewer)).call(this, props));\n\n _this.handleSetPage = _this.handleSetPage.bind(_this);\n _this.handleNextPage = _this.handleNextPage.bind(_this);\n _this.handlePrevPage = _this.handlePrevPage.bind(_this);\n return _this;\n }\n\n _createClass(HistoryViewer, [{\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n var prevPage = prevProps.page;\n var _props = this.props,\n currentPage = _props.page,\n versions = _props.actions.versions;\n\n\n if (prevPage !== currentPage && typeof versions.goToPage === 'function') {\n versions.goToPage(currentPage);\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n var onSelect = this.props.onSelect;\n\n if (typeof onSelect === 'function') {\n onSelect(false);\n }\n }\n }, {\n key: 'getVersions',\n value: function getVersions() {\n var versions = this.props.versions;\n\n var edges = versions && versions.SnapshotHistory && versions.SnapshotHistory.edges ? versions.SnapshotHistory.edges : [];\n return edges.map(function (_ref) {\n var node = _ref.node;\n\n return _extends({}, node, node.OriginVersion, {\n Author: _extends({}, node.Author),\n AbsoluteLink: node.IsFullVersion && node.OriginVersion ? node.OriginVersion.AbsoluteLink : versions.AbsoluteLink,\n Version: node.IsFullVersion && node.OriginVersion ? node.OriginVersion.Version : node.BaseVersion\n });\n });\n }\n }, {\n key: 'getContainerClasses',\n value: function getContainerClasses() {\n var _props2 = this.props,\n compare = _props2.compare,\n isInGridField = _props2.isInGridField;\n\n return (0, _classnames2.default)('history-viewer', 'fill-height', {\n 'history-viewer__compare-mode': compare,\n 'history-viewer--no-margins': isInGridField && !this.isListView()\n });\n }\n }, {\n key: 'getLatestVersion',\n value: function getLatestVersion() {\n var currentVersion = this.props.currentVersion;\n\n if (currentVersion && currentVersion.LatestDraftVersion === true) {\n return currentVersion;\n }\n\n var latestDraftVersion = this.getVersions().filter(function (version) {\n return version.LatestDraftVersion === true;\n });\n\n if (latestDraftVersion.length) {\n return latestDraftVersion[0];\n }\n\n return null;\n }\n }, {\n key: 'isListView',\n value: function isListView() {\n var _props3 = this.props,\n compare = _props3.compare,\n currentVersion = _props3.currentVersion;\n\n if (!currentVersion) {\n return true;\n }\n\n if (!compare) {\n return false;\n }\n\n if (compare.versionFrom && !compare.versionTo) {\n return true;\n }\n\n return false;\n }\n }, {\n key: 'handleSetPage',\n value: function handleSetPage(page) {\n var onSetPage = this.props.onSetPage;\n\n if (typeof onSetPage === 'function') {\n onSetPage(page + 1);\n }\n }\n }, {\n key: 'handleNextPage',\n value: function handleNextPage() {\n var page = this.props.page;\n\n this.handleSetPage(page);\n }\n }, {\n key: 'handlePrevPage',\n value: function handlePrevPage() {\n var page = this.props.page;\n\n var currentPage = page - 1;\n if (currentPage < 1) {\n this.handleSetPage(currentPage);\n return;\n }\n this.handleSetPage(currentPage - 1);\n }\n }, {\n key: 'compareModeAvailable',\n value: function compareModeAvailable() {\n return this.getVersions().length > 1;\n }\n }, {\n key: 'renderVersionDetail',\n value: function renderVersionDetail() {\n var _this2 = this;\n\n var _props4 = this.props,\n currentVersion = _props4.currentVersion,\n isPreviewable = _props4.isPreviewable,\n recordId = _props4.recordId,\n recordClass = _props4.recordClass,\n typeName = _props4.typeName,\n schemaUrl = _props4.schemaUrl,\n VersionDetailComponent = _props4.VersionDetailComponent,\n compare = _props4.compare,\n _props4$compare = _props4.compare,\n _props4$compare$versi = _props4$compare.versionFrom,\n versionFrom = _props4$compare$versi === undefined ? false : _props4$compare$versi,\n _props4$compare$versi2 = _props4$compare.versionTo,\n versionTo = _props4$compare$versi2 === undefined ? false : _props4$compare$versi2,\n previewState = _props4.previewState;\n\n var schemaVersionReplacements = {\n ':id': recordId,\n ':class': recordClass,\n ':date': '',\n ':version': ''\n };\n\n schemaVersionReplacements[':date'] = currentVersion.LastEdited;\n\n var schemaCompareReplacements = {\n ':id': recordId,\n ':class': recordClass,\n ':from': versionFrom.Version || 0,\n ':to': versionTo.Version || 0\n };\n var schemaSearch = compare ? /:id|:class|:from|:to/g : /:id|:class|:version|:date/g;\n var schemaReplacements = compare ? schemaCompareReplacements : schemaVersionReplacements;\n\n var version = compare ? versionFrom : currentVersion;\n var latestVersion = this.getLatestVersion();\n var props = {\n isLatestVersion: !compare && latestVersion && latestVersion.Version === version.Version,\n isPreviewable: isPreviewable,\n recordId: recordId,\n typeName: typeName,\n schemaUrl: schemaUrl.replace(schemaSearch, function (match) {\n return schemaReplacements[match];\n }),\n version: version,\n compare: compare,\n compareModeAvailable: this.compareModeAvailable(),\n previewState: previewState\n };\n\n return _react2.default.createElement(\n _reactResizeAware2.default,\n {\n className: this.getContainerClasses(),\n onResize: function onResize(_ref2) {\n var width = _ref2.width;\n return _this2.props.onResize(width);\n }\n },\n _react2.default.createElement(VersionDetailComponent, props)\n );\n }\n }, {\n key: 'renderPagination',\n value: function renderPagination() {\n var _props5 = this.props,\n limit = _props5.limit,\n page = _props5.page,\n versions = _props5.versions;\n\n\n if (!versions) {\n return null;\n }\n\n var totalVersions = versions.SnapshotHistory ? versions.SnapshotHistory.pageInfo.totalCount : 0;\n\n if (totalVersions <= limit) {\n return null;\n }\n\n var props = {\n setPage: this.handleSetPage,\n maxPage: Math.ceil(totalVersions / limit),\n next: this.handleNextPage,\n nextText: _i18n2.default._t('HistoryViewer.NEXT', 'Next'),\n previous: this.handlePrevPage,\n previousText: _i18n2.default._t('HistoryViewer.PREVIOUS', 'Previous'),\n\n currentPage: page - 1,\n useGriddleStyles: false\n };\n\n return _react2.default.createElement(\n 'div',\n { className: 'griddle-footer' },\n _react2.default.createElement(_griddleReact2.default.GridPagination, props)\n );\n }\n }, {\n key: 'renderComparisonSelectionList',\n value: function renderComparisonSelectionList() {\n var _props6 = this.props,\n versionFrom = _props6.compare.versionFrom,\n ListComponent = _props6.ListComponent;\n\n\n if (!versionFrom) {\n return null;\n }\n\n var selectionListClasses = (0, _classnames2.default)('history-viewer__table', 'history-viewer__table--comparison-selected');\n\n return _react2.default.createElement(ListComponent, {\n versions: [versionFrom],\n extraClass: selectionListClasses\n });\n }\n }, {\n key: 'renderVersionList',\n value: function renderVersionList() {\n var _props7 = this.props,\n isInGridField = _props7.isInGridField,\n ListComponent = _props7.ListComponent,\n CompareWarningComponent = _props7.CompareWarningComponent,\n compare = _props7.compare,\n hasVersionFrom = _props7.compare.versionFrom;\n\n return _react2.default.createElement(\n 'div',\n { className: this.getContainerClasses() },\n _react2.default.createElement(CompareWarningComponent, null),\n _react2.default.createElement(\n 'div',\n { className: isInGridField ? '' : 'panel panel--padded panel--scrollable' },\n this.renderComparisonSelectionList(),\n _react2.default.createElement(ListComponent, {\n versions: this.getVersions(),\n showHeader: !compare || compare && !hasVersionFrom,\n compareModeAvailable: this.compareModeAvailable()\n }),\n _react2.default.createElement(\n 'div',\n { className: 'history-viewer__pagination' },\n this.renderPagination()\n )\n )\n );\n }\n }, {\n key: 'renderCompareMode',\n value: function renderCompareMode() {\n var compare = this.props.compare;\n\n\n if (compare && compare.versionFrom && compare.versionTo) {\n return this.renderVersionDetail();\n }\n return this.renderVersionList();\n }\n }, {\n key: 'render',\n value: function render() {\n var _props8 = this.props,\n loading = _props8.loading,\n compare = _props8.compare,\n previewMode = _props8.previewMode;\n\n\n if (loading) {\n return _react2.default.createElement(_Loading2.default, null);\n }\n\n if (this.compareModeAvailable() && compare) {\n return this.renderCompareMode();\n }\n\n if (previewMode) {\n return this.renderVersionDetail();\n }\n\n return this.renderVersionList();\n }\n }]);\n\n return HistoryViewer;\n}(_react.Component);\n\nHistoryViewer.propTypes = {\n contextKey: _propTypes2.default.string,\n limit: _propTypes2.default.number,\n ListComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired,\n offset: _propTypes2.default.number,\n recordId: _propTypes2.default.number.isRequired,\n recordClass: _propTypes2.default.string.isRequired,\n typeName: _propTypes2.default.string.isRequired,\n currentVersion: _propTypes2.default.oneOfType([_propTypes2.default.bool, _versionType.versionType]),\n compare: _compareType.compareType,\n isInGridField: _propTypes2.default.bool,\n isPreviewable: _propTypes2.default.bool,\n VersionDetailComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired,\n CompareWarningComponent: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]).isRequired,\n versions: _propTypes2.default.shape({\n Versions: _propTypes2.default.shape({\n pageInfo: _propTypes2.default.shape({\n totalCount: _propTypes2.default.number\n }),\n edges: _propTypes2.default.arrayOf(_propTypes2.default.shape({\n node: _versionType.versionType\n }))\n })\n }),\n page: _propTypes2.default.number,\n schemaUrl: _propTypes2.default.string,\n\n previewState: _propTypes2.default.oneOf(['edit', 'preview', 'split']),\n actions: _propTypes2.default.object,\n onSelect: _propTypes2.default.func,\n onSetPage: _propTypes2.default.func,\n onResize: _propTypes2.default.func\n};\n\nHistoryViewer.defaultProps = {\n compare: {},\n contextKey: '',\n currentVersion: false,\n isInGridField: false,\n isPreviewable: false,\n typeName: '',\n schemaUrl: '',\n versions: {\n Versions: {\n pageInfo: {\n totalCount: 0\n },\n edges: []\n }\n }\n};\n\nfunction mapStateToProps(state) {\n var _state$versionedAdmin = state.versionedAdmin.historyViewer,\n currentPage = _state$versionedAdmin.currentPage,\n currentVersion = _state$versionedAdmin.currentVersion,\n previewMode = _state$versionedAdmin.previewMode,\n compare = _state$versionedAdmin.compare;\n var activeState = state.viewMode.activeState;\n\n\n return {\n page: currentPage,\n currentVersion: currentVersion,\n compare: compare,\n previewMode: previewMode,\n previewState: activeState\n };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onSelect: function onSelect(id) {\n dispatch((0, _HistoryViewerActions.showVersion)(id));\n dispatch((0, _HistoryViewerActions.clearMessages)());\n },\n onSetPage: function onSetPage(page) {\n dispatch((0, _HistoryViewerActions.setCurrentPage)(page));\n },\n onResize: function onResize(panelWidth) {\n dispatch(viewModeActions.enableOrDisableSplitMode(panelWidth));\n }\n };\n}\n\nexports.Component = HistoryViewer;\nexports.default = (0, _redux.compose)((0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps), _HistoryViewerConfig2.default, (0, _Injector.inject)(['SnapshotHistoryViewerVersionList', 'SnapshotHistoryViewerVersionDetail', 'SnapshotHistoryViewerCompareWarning'], function (ListComponent, VersionDetailComponent, CompareWarningComponent) {\n return {\n ListComponent: ListComponent,\n VersionDetailComponent: VersionDetailComponent,\n CompareWarningComponent: CompareWarningComponent\n };\n}, function (_ref3) {\n var contextKey = _ref3.contextKey;\n return 'VersionedAdmin.HistoryViewer.' + contextKey;\n}))(HistoryViewer);\n\n/***/ }),\n\n/***/ \"./node_modules/babel-loader/lib/index.js?{\\\"presets\\\":[[\\\"env\\\",{\\\"modules\\\":false}],\\\"react\\\"],\\\"plugins\\\":[\\\"transform-object-rest-spread\\\"],\\\"comments\\\":false,\\\"cacheDirectory\\\":true}!./client/src/types/versionType.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.defaultVersion = exports.versionType = undefined;\n\nvar _propTypes = __webpack_require__(1);\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar memberShape = _propTypes2.default.shape({\n FirstName: _propTypes2.default.string,\n Surname: _propTypes2.default.string\n});\n\nvar versionType = _propTypes2.default.shape({\n Version: _propTypes2.default.number,\n AbsoluteLink: _propTypes2.default.string,\n LastEdited: _propTypes2.default.string,\n Published: _propTypes2.default.boolean,\n LiveVersion: _propTypes2.default.boolean,\n LatestDraftVersion: _propTypes2.default.boolean,\n Message: _propTypes2.default.string,\n Publisher: memberShape,\n Author: memberShape\n});\n\nvar defaultVersion = {\n Version: 0,\n AbsoluteLink: '',\n LastEdited: '',\n Published: false,\n LiveVersion: false,\n LatestDraftVersion: false,\n Message: '',\n Publisher: {\n FirstName: '',\n Surname: ''\n },\n Author: {\n FirstName: '',\n Surname: ''\n }\n};\n\nexports.versionType = versionType;\nexports.defaultVersion = defaultVersion;\n\n/***/ }),\n\n/***/ \"./node_modules/create-react-class/factory.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n\n\nvar _assign = __webpack_require__(\"./node_modules/object-assign/index.js\");\n\nvar emptyObject = __webpack_require__(\"./node_modules/fbjs/lib/emptyObject.js\");\nvar _invariant = __webpack_require__(\"./node_modules/fbjs/lib/invariant.js\");\n\nif (true) {\n var warning = __webpack_require__(\"./node_modules/fbjs/lib/warning.js\");\n}\n\nvar MIXINS_KEY = 'mixins';\n\n// Helper function to allow the creation of anonymous functions which do not\n// have .name set to the name of the variable being assigned to.\nfunction identity(fn) {\n return fn;\n}\n\nvar ReactPropTypeLocationNames;\nif (true) {\n ReactPropTypeLocationNames = {\n prop: 'prop',\n context: 'context',\n childContext: 'child context'\n };\n} else {\n ReactPropTypeLocationNames = {};\n}\n\nfunction factory(ReactComponent, isValidElement, ReactNoopUpdateQueue) {\n /**\n * Policies that describe methods in `ReactClassInterface`.\n */\n\n var injectedMixins = [];\n\n /**\n * Composite components are higher-level components that compose other composite\n * or host components.\n *\n * To create a new type of `ReactClass`, pass a specification of\n * your new class to `React.createClass`. The only requirement of your class\n * specification is that you implement a `render` method.\n *\n * var MyComponent = React.createClass({\n * render: function() {\n * return
Hello World
;\n * }\n * });\n *\n * The class specification supports a specific protocol of methods that have\n * special meaning (e.g. `render`). See `ReactClassInterface` for\n * more the comprehensive protocol. Any other properties and methods in the\n * class specification will be available on the prototype.\n *\n * @interface ReactClassInterface\n * @internal\n */\n var ReactClassInterface = {\n /**\n * An array of Mixin objects to include when defining your component.\n *\n * @type {array}\n * @optional\n */\n mixins: 'DEFINE_MANY',\n\n /**\n * An object containing properties and methods that should be defined on\n * the component's constructor instead of its prototype (static methods).\n *\n * @type {object}\n * @optional\n */\n statics: 'DEFINE_MANY',\n\n /**\n * Definition of prop types for this component.\n *\n * @type {object}\n * @optional\n */\n propTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types for this component.\n *\n * @type {object}\n * @optional\n */\n contextTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types this component sets for its children.\n *\n * @type {object}\n * @optional\n */\n childContextTypes: 'DEFINE_MANY',\n\n // ==== Definition methods ====\n\n /**\n * Invoked when the component is mounted. Values in the mapping will be set on\n * `this.props` if that prop is not specified (i.e. using an `in` check).\n *\n * This method is invoked before `getInitialState` and therefore cannot rely\n * on `this.state` or use `this.setState`.\n *\n * @return {object}\n * @optional\n */\n getDefaultProps: 'DEFINE_MANY_MERGED',\n\n /**\n * Invoked once before the component is mounted. The return value will be used\n * as the initial value of `this.state`.\n *\n * getInitialState: function() {\n * return {\n * isOn: false,\n * fooBaz: new BazFoo()\n * }\n * }\n *\n * @return {object}\n * @optional\n */\n getInitialState: 'DEFINE_MANY_MERGED',\n\n /**\n * @return {object}\n * @optional\n */\n getChildContext: 'DEFINE_MANY_MERGED',\n\n /**\n * Uses props from `this.props` and state from `this.state` to render the\n * structure of the component.\n *\n * No guarantees are made about when or how often this method is invoked, so\n * it must not have side effects.\n *\n * render: function() {\n * var name = this.props.name;\n * return
Hello, {name}!
;\n * }\n *\n * @return {ReactComponent}\n * @required\n */\n render: 'DEFINE_ONCE',\n\n // ==== Delegate methods ====\n\n /**\n * Invoked when the component is initially created and about to be mounted.\n * This may have side effects, but any external subscriptions or data created\n * by this method must be cleaned up in `componentWillUnmount`.\n *\n * @optional\n */\n componentWillMount: 'DEFINE_MANY',\n\n /**\n * Invoked when the component has been mounted and has a DOM representation.\n * However, there is no guarantee that the DOM node is in the document.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been mounted (initialized and rendered) for the first time.\n *\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidMount: 'DEFINE_MANY',\n\n /**\n * Invoked before the component receives new props.\n *\n * Use this as an opportunity to react to a prop transition by updating the\n * state using `this.setState`. Current props are accessed via `this.props`.\n *\n * componentWillReceiveProps: function(nextProps, nextContext) {\n * this.setState({\n * likesIncreasing: nextProps.likeCount > this.props.likeCount\n * });\n * }\n *\n * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop\n * transition may cause a state change, but the opposite is not true. If you\n * need it, you are probably looking for `componentWillUpdate`.\n *\n * @param {object} nextProps\n * @optional\n */\n componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Invoked while deciding if the component should be updated as a result of\n * receiving new props, state and/or context.\n *\n * Use this as an opportunity to `return false` when you're certain that the\n * transition to the new props/state/context will not require a component\n * update.\n *\n * shouldComponentUpdate: function(nextProps, nextState, nextContext) {\n * return !equal(nextProps, this.props) ||\n * !equal(nextState, this.state) ||\n * !equal(nextContext, this.context);\n * }\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @return {boolean} True if the component should update.\n * @optional\n */\n shouldComponentUpdate: 'DEFINE_ONCE',\n\n /**\n * Invoked when the component is about to update due to a transition from\n * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState`\n * and `nextContext`.\n *\n * Use this as an opportunity to perform preparation before an update occurs.\n *\n * NOTE: You **cannot** use `this.setState()` in this method.\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @param {ReactReconcileTransaction} transaction\n * @optional\n */\n componentWillUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component's DOM representation has been updated.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been updated.\n *\n * @param {object} prevProps\n * @param {?object} prevState\n * @param {?object} prevContext\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component is about to be removed from its parent and have\n * its DOM representation destroyed.\n *\n * Use this as an opportunity to deallocate any external resources.\n *\n * NOTE: There is no `componentDidUnmount` since your component will have been\n * destroyed by that point.\n *\n * @optional\n */\n componentWillUnmount: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillMount`.\n *\n * @optional\n */\n UNSAFE_componentWillMount: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillReceiveProps`.\n *\n * @optional\n */\n UNSAFE_componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillUpdate`.\n *\n * @optional\n */\n UNSAFE_componentWillUpdate: 'DEFINE_MANY',\n\n // ==== Advanced methods ====\n\n /**\n * Updates the component's currently mounted DOM representation.\n *\n * By default, this implements React's rendering and reconciliation algorithm.\n * Sophisticated clients may wish to override this.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n * @overridable\n */\n updateComponent: 'OVERRIDE_BASE'\n };\n\n /**\n * Similar to ReactClassInterface but for static methods.\n */\n var ReactClassStaticInterface = {\n /**\n * This method is invoked after a component is instantiated and when it\n * receives new props. Return an object to update state in response to\n * prop changes. Return null to indicate no change to state.\n *\n * If an object is returned, its keys will be merged into the existing state.\n *\n * @return {object || null}\n * @optional\n */\n getDerivedStateFromProps: 'DEFINE_MANY_MERGED'\n };\n\n /**\n * Mapping from class specification keys to special processing functions.\n *\n * Although these are declared like instance properties in the specification\n * when defining classes using `React.createClass`, they are actually static\n * and are accessible on the constructor instead of the prototype. Despite\n * being static, they must be defined outside of the \"statics\" key under\n * which all other static methods are defined.\n */\n var RESERVED_SPEC_KEYS = {\n displayName: function(Constructor, displayName) {\n Constructor.displayName = displayName;\n },\n mixins: function(Constructor, mixins) {\n if (mixins) {\n for (var i = 0; i < mixins.length; i++) {\n mixSpecIntoComponent(Constructor, mixins[i]);\n }\n }\n },\n childContextTypes: function(Constructor, childContextTypes) {\n if (true) {\n validateTypeDef(Constructor, childContextTypes, 'childContext');\n }\n Constructor.childContextTypes = _assign(\n {},\n Constructor.childContextTypes,\n childContextTypes\n );\n },\n contextTypes: function(Constructor, contextTypes) {\n if (true) {\n validateTypeDef(Constructor, contextTypes, 'context');\n }\n Constructor.contextTypes = _assign(\n {},\n Constructor.contextTypes,\n contextTypes\n );\n },\n /**\n * Special case getDefaultProps which should move into statics but requires\n * automatic merging.\n */\n getDefaultProps: function(Constructor, getDefaultProps) {\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps = createMergedResultFunction(\n Constructor.getDefaultProps,\n getDefaultProps\n );\n } else {\n Constructor.getDefaultProps = getDefaultProps;\n }\n },\n propTypes: function(Constructor, propTypes) {\n if (true) {\n validateTypeDef(Constructor, propTypes, 'prop');\n }\n Constructor.propTypes = _assign({}, Constructor.propTypes, propTypes);\n },\n statics: function(Constructor, statics) {\n mixStaticSpecIntoComponent(Constructor, statics);\n },\n autobind: function() {}\n };\n\n function validateTypeDef(Constructor, typeDef, location) {\n for (var propName in typeDef) {\n if (typeDef.hasOwnProperty(propName)) {\n // use a warning instead of an _invariant so components\n // don't show up in prod but only in __DEV__\n if (true) {\n warning(\n typeof typeDef[propName] === 'function',\n '%s: %s type `%s` is invalid; it must be a function, usually from ' +\n 'React.PropTypes.',\n Constructor.displayName || 'ReactClass',\n ReactPropTypeLocationNames[location],\n propName\n );\n }\n }\n }\n }\n\n function validateMethodOverride(isAlreadyDefined, name) {\n var specPolicy = ReactClassInterface.hasOwnProperty(name)\n ? ReactClassInterface[name]\n : null;\n\n // Disallow overriding of base class methods unless explicitly allowed.\n if (ReactClassMixin.hasOwnProperty(name)) {\n _invariant(\n specPolicy === 'OVERRIDE_BASE',\n 'ReactClassInterface: You are attempting to override ' +\n '`%s` from your class specification. Ensure that your method names ' +\n 'do not overlap with React methods.',\n name\n );\n }\n\n // Disallow defining methods more than once unless explicitly allowed.\n if (isAlreadyDefined) {\n _invariant(\n specPolicy === 'DEFINE_MANY' || specPolicy === 'DEFINE_MANY_MERGED',\n 'ReactClassInterface: You are attempting to define ' +\n '`%s` on your component more than once. This conflict may be due ' +\n 'to a mixin.',\n name\n );\n }\n }\n\n /**\n * Mixin helper which handles policy validation and reserved\n * specification keys when building React classes.\n */\n function mixSpecIntoComponent(Constructor, spec) {\n if (!spec) {\n if (true) {\n var typeofSpec = typeof spec;\n var isMixinValid = typeofSpec === 'object' && spec !== null;\n\n if (true) {\n warning(\n isMixinValid,\n \"%s: You're attempting to include a mixin that is either null \" +\n 'or not an object. Check the mixins included by the component, ' +\n 'as well as any mixins they include themselves. ' +\n 'Expected object but got %s.',\n Constructor.displayName || 'ReactClass',\n spec === null ? null : typeofSpec\n );\n }\n }\n\n return;\n }\n\n _invariant(\n typeof spec !== 'function',\n \"ReactClass: You're attempting to \" +\n 'use a component class or function as a mixin. Instead, just use a ' +\n 'regular object.'\n );\n _invariant(\n !isValidElement(spec),\n \"ReactClass: You're attempting to \" +\n 'use a component as a mixin. Instead, just use a regular object.'\n );\n\n var proto = Constructor.prototype;\n var autoBindPairs = proto.__reactAutoBindPairs;\n\n // By handling mixins before any other properties, we ensure the same\n // chaining order is applied to methods with DEFINE_MANY policy, whether\n // mixins are listed before or after these methods in the spec.\n if (spec.hasOwnProperty(MIXINS_KEY)) {\n RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins);\n }\n\n for (var name in spec) {\n if (!spec.hasOwnProperty(name)) {\n continue;\n }\n\n if (name === MIXINS_KEY) {\n // We have already handled mixins in a special case above.\n continue;\n }\n\n var property = spec[name];\n var isAlreadyDefined = proto.hasOwnProperty(name);\n validateMethodOverride(isAlreadyDefined, name);\n\n if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {\n RESERVED_SPEC_KEYS[name](Constructor, property);\n } else {\n // Setup methods on prototype:\n // The following member methods should not be automatically bound:\n // 1. Expected ReactClass methods (in the \"interface\").\n // 2. Overridden methods (that were mixed in).\n var isReactClassMethod = ReactClassInterface.hasOwnProperty(name);\n var isFunction = typeof property === 'function';\n var shouldAutoBind =\n isFunction &&\n !isReactClassMethod &&\n !isAlreadyDefined &&\n spec.autobind !== false;\n\n if (shouldAutoBind) {\n autoBindPairs.push(name, property);\n proto[name] = property;\n } else {\n if (isAlreadyDefined) {\n var specPolicy = ReactClassInterface[name];\n\n // These cases should already be caught by validateMethodOverride.\n _invariant(\n isReactClassMethod &&\n (specPolicy === 'DEFINE_MANY_MERGED' ||\n specPolicy === 'DEFINE_MANY'),\n 'ReactClass: Unexpected spec policy %s for key %s ' +\n 'when mixing in component specs.',\n specPolicy,\n name\n );\n\n // For methods which are defined more than once, call the existing\n // methods before calling the new property, merging if appropriate.\n if (specPolicy === 'DEFINE_MANY_MERGED') {\n proto[name] = createMergedResultFunction(proto[name], property);\n } else if (specPolicy === 'DEFINE_MANY') {\n proto[name] = createChainedFunction(proto[name], property);\n }\n } else {\n proto[name] = property;\n if (true) {\n // Add verbose displayName to the function, which helps when looking\n // at profiling tools.\n if (typeof property === 'function' && spec.displayName) {\n proto[name].displayName = spec.displayName + '_' + name;\n }\n }\n }\n }\n }\n }\n }\n\n function mixStaticSpecIntoComponent(Constructor, statics) {\n if (!statics) {\n return;\n }\n\n for (var name in statics) {\n var property = statics[name];\n if (!statics.hasOwnProperty(name)) {\n continue;\n }\n\n var isReserved = name in RESERVED_SPEC_KEYS;\n _invariant(\n !isReserved,\n 'ReactClass: You are attempting to define a reserved ' +\n 'property, `%s`, that shouldn\\'t be on the \"statics\" key. Define it ' +\n 'as an instance property instead; it will still be accessible on the ' +\n 'constructor.',\n name\n );\n\n var isAlreadyDefined = name in Constructor;\n if (isAlreadyDefined) {\n var specPolicy = ReactClassStaticInterface.hasOwnProperty(name)\n ? ReactClassStaticInterface[name]\n : null;\n\n _invariant(\n specPolicy === 'DEFINE_MANY_MERGED',\n 'ReactClass: You are attempting to define ' +\n '`%s` on your component more than once. This conflict may be ' +\n 'due to a mixin.',\n name\n );\n\n Constructor[name] = createMergedResultFunction(Constructor[name], property);\n\n return;\n }\n\n Constructor[name] = property;\n }\n }\n\n /**\n * Merge two objects, but throw if both contain the same key.\n *\n * @param {object} one The first object, which is mutated.\n * @param {object} two The second object\n * @return {object} one after it has been mutated to contain everything in two.\n */\n function mergeIntoWithNoDuplicateKeys(one, two) {\n _invariant(\n one && two && typeof one === 'object' && typeof two === 'object',\n 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.'\n );\n\n for (var key in two) {\n if (two.hasOwnProperty(key)) {\n _invariant(\n one[key] === undefined,\n 'mergeIntoWithNoDuplicateKeys(): ' +\n 'Tried to merge two objects with the same key: `%s`. This conflict ' +\n 'may be due to a mixin; in particular, this may be caused by two ' +\n 'getInitialState() or getDefaultProps() methods returning objects ' +\n 'with clashing keys.',\n key\n );\n one[key] = two[key];\n }\n }\n return one;\n }\n\n /**\n * Creates a function that invokes two functions and merges their return values.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\n function createMergedResultFunction(one, two) {\n return function mergedResult() {\n var a = one.apply(this, arguments);\n var b = two.apply(this, arguments);\n if (a == null) {\n return b;\n } else if (b == null) {\n return a;\n }\n var c = {};\n mergeIntoWithNoDuplicateKeys(c, a);\n mergeIntoWithNoDuplicateKeys(c, b);\n return c;\n };\n }\n\n /**\n * Creates a function that invokes two functions and ignores their return vales.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\n function createChainedFunction(one, two) {\n return function chainedFunction() {\n one.apply(this, arguments);\n two.apply(this, arguments);\n };\n }\n\n /**\n * Binds a method to the component.\n *\n * @param {object} component Component whose method is going to be bound.\n * @param {function} method Method to be bound.\n * @return {function} The bound method.\n */\n function bindAutoBindMethod(component, method) {\n var boundMethod = method.bind(component);\n if (true) {\n boundMethod.__reactBoundContext = component;\n boundMethod.__reactBoundMethod = method;\n boundMethod.__reactBoundArguments = null;\n var componentName = component.constructor.displayName;\n var _bind = boundMethod.bind;\n boundMethod.bind = function(newThis) {\n for (\n var _len = arguments.length,\n args = Array(_len > 1 ? _len - 1 : 0),\n _key = 1;\n _key < _len;\n _key++\n ) {\n args[_key - 1] = arguments[_key];\n }\n\n // User is trying to bind() an autobound method; we effectively will\n // ignore the value of \"this\" that the user is trying to use, so\n // let's warn.\n if (newThis !== component && newThis !== null) {\n if (true) {\n warning(\n false,\n 'bind(): React component methods may only be bound to the ' +\n 'component instance. See %s',\n componentName\n );\n }\n } else if (!args.length) {\n if (true) {\n warning(\n false,\n 'bind(): You are binding a component method to the component. ' +\n 'React does this for you automatically in a high-performance ' +\n 'way, so you can safely remove this call. See %s',\n componentName\n );\n }\n return boundMethod;\n }\n var reboundMethod = _bind.apply(boundMethod, arguments);\n reboundMethod.__reactBoundContext = component;\n reboundMethod.__reactBoundMethod = method;\n reboundMethod.__reactBoundArguments = args;\n return reboundMethod;\n };\n }\n return boundMethod;\n }\n\n /**\n * Binds all auto-bound methods in a component.\n *\n * @param {object} component Component whose method is going to be bound.\n */\n function bindAutoBindMethods(component) {\n var pairs = component.__reactAutoBindPairs;\n for (var i = 0; i < pairs.length; i += 2) {\n var autoBindKey = pairs[i];\n var method = pairs[i + 1];\n component[autoBindKey] = bindAutoBindMethod(component, method);\n }\n }\n\n var IsMountedPreMixin = {\n componentDidMount: function() {\n this.__isMounted = true;\n }\n };\n\n var IsMountedPostMixin = {\n componentWillUnmount: function() {\n this.__isMounted = false;\n }\n };\n\n /**\n * Add more to the ReactClass base class. These are all legacy features and\n * therefore not already part of the modern ReactComponent.\n */\n var ReactClassMixin = {\n /**\n * TODO: This will be deprecated because state should always keep a consistent\n * type signature and the only use case for this, is to avoid that.\n */\n replaceState: function(newState, callback) {\n this.updater.enqueueReplaceState(this, newState, callback);\n },\n\n /**\n * Checks whether or not this composite component is mounted.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function() {\n if (true) {\n warning(\n this.__didWarnIsMounted,\n '%s: isMounted is deprecated. Instead, make sure to clean up ' +\n 'subscriptions and pending requests in componentWillUnmount to ' +\n 'prevent memory leaks.',\n (this.constructor && this.constructor.displayName) ||\n this.name ||\n 'Component'\n );\n this.__didWarnIsMounted = true;\n }\n return !!this.__isMounted;\n }\n };\n\n var ReactClassComponent = function() {};\n _assign(\n ReactClassComponent.prototype,\n ReactComponent.prototype,\n ReactClassMixin\n );\n\n /**\n * Creates a composite component class given a class specification.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createclass\n *\n * @param {object} spec Class specification (which must define `render`).\n * @return {function} Component constructor function.\n * @public\n */\n function createClass(spec) {\n // To keep our warnings more understandable, we'll use a little hack here to\n // ensure that Constructor.name !== 'Constructor'. This makes sure we don't\n // unnecessarily identify a class without displayName as 'Constructor'.\n var Constructor = identity(function(props, context, updater) {\n // This constructor gets overridden by mocks. The argument is used\n // by mocks to assert on what gets mounted.\n\n if (true) {\n warning(\n this instanceof Constructor,\n 'Something is calling a React component directly. Use a factory or ' +\n 'JSX instead. See: https://fb.me/react-legacyfactory'\n );\n }\n\n // Wire up auto-binding\n if (this.__reactAutoBindPairs.length) {\n bindAutoBindMethods(this);\n }\n\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n\n this.state = null;\n\n // ReactClasses doesn't have constructors. Instead, they use the\n // getInitialState and componentWillMount methods for initialization.\n\n var initialState = this.getInitialState ? this.getInitialState() : null;\n if (true) {\n // We allow auto-mocks to proceed as if they're returning null.\n if (\n initialState === undefined &&\n this.getInitialState._isMockFunction\n ) {\n // This is probably bad practice. Consider warning here and\n // deprecating this convenience.\n initialState = null;\n }\n }\n _invariant(\n typeof initialState === 'object' && !Array.isArray(initialState),\n '%s.getInitialState(): must return an object or null',\n Constructor.displayName || 'ReactCompositeComponent'\n );\n\n this.state = initialState;\n });\n Constructor.prototype = new ReactClassComponent();\n Constructor.prototype.constructor = Constructor;\n Constructor.prototype.__reactAutoBindPairs = [];\n\n injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor));\n\n mixSpecIntoComponent(Constructor, IsMountedPreMixin);\n mixSpecIntoComponent(Constructor, spec);\n mixSpecIntoComponent(Constructor, IsMountedPostMixin);\n\n // Initialize the defaultProps property after all mixins have been merged.\n if (Constructor.getDefaultProps) {\n Constructor.defaultProps = Constructor.getDefaultProps();\n }\n\n if (true) {\n // This is a tag to indicate that the use of these method names is ok,\n // since it's used with createClass. If it's not, then it's likely a\n // mistake so we'll warn you to use the static property, property\n // initializer or constructor respectively.\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps.isReactClassApproved = {};\n }\n if (Constructor.prototype.getInitialState) {\n Constructor.prototype.getInitialState.isReactClassApproved = {};\n }\n }\n\n _invariant(\n Constructor.prototype.render,\n 'createClass(...): Class specification must implement a `render` method.'\n );\n\n if (true) {\n warning(\n !Constructor.prototype.componentShouldUpdate,\n '%s has a method called ' +\n 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' +\n 'The name is phrased as a question because the function is ' +\n 'expected to return a value.',\n spec.displayName || 'A component'\n );\n warning(\n !Constructor.prototype.componentWillRecieveProps,\n '%s has a method called ' +\n 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?',\n spec.displayName || 'A component'\n );\n warning(\n !Constructor.prototype.UNSAFE_componentWillRecieveProps,\n '%s has a method called UNSAFE_componentWillRecieveProps(). ' +\n 'Did you mean UNSAFE_componentWillReceiveProps()?',\n spec.displayName || 'A component'\n );\n }\n\n // Reduce time spent doing lookups by setting these on the prototype.\n for (var methodName in ReactClassInterface) {\n if (!Constructor.prototype[methodName]) {\n Constructor.prototype[methodName] = null;\n }\n }\n\n return Constructor;\n }\n\n return createClass;\n}\n\nmodule.exports = factory;\n\n\n/***/ }),\n\n/***/ \"./node_modules/create-react-class/index.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n\n\nvar React = __webpack_require__(0);\nvar factory = __webpack_require__(\"./node_modules/create-react-class/factory.js\");\n\nif (typeof React === 'undefined') {\n throw Error(\n 'create-react-class could not find the React object. If you are using script tags, ' +\n 'make sure that React is being loaded before create-react-class.'\n );\n}\n\n// Hack to grab NoopUpdateQueue from isomorphic React\nvar ReactNoopUpdateQueue = new React.Component().updater;\n\nmodule.exports = factory(\n React.Component,\n React.isValidElement,\n ReactNoopUpdateQueue\n);\n\n\n/***/ }),\n\n/***/ \"./node_modules/expose-loader/index.js?SnapshotsViewer!./client/src/components/HistoryViewer/HistoryViewer.js-exposed\":\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(global) {module.exports = global[\"SnapshotsViewer\"] = __webpack_require__(\"./node_modules/babel-loader/lib/index.js?{\\\"presets\\\":[[\\\"env\\\",{\\\"modules\\\":false}],\\\"react\\\"],\\\"plugins\\\":[\\\"transform-object-rest-spread\\\"],\\\"comments\\\":false,\\\"cacheDirectory\\\":true}!./client/src/components/HistoryViewer/HistoryViewer.js\");\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(\"./node_modules/webpack/buildin/global.js\")))\n\n/***/ }),\n\n/***/ \"./node_modules/expose-loader/index.js?versionType!./client/src/types/versionType.js-exposed\":\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(global) {module.exports = global[\"versionType\"] = __webpack_require__(\"./node_modules/babel-loader/lib/index.js?{\\\"presets\\\":[[\\\"env\\\",{\\\"modules\\\":false}],\\\"react\\\"],\\\"plugins\\\":[\\\"transform-object-rest-spread\\\"],\\\"comments\\\":false,\\\"cacheDirectory\\\":true}!./client/src/types/versionType.js\");\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(\"./node_modules/webpack/buildin/global.js\")))\n\n/***/ }),\n\n/***/ \"./node_modules/fbjs/lib/emptyFunction.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\nfunction makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n}\n\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\nvar emptyFunction = function emptyFunction() {};\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\nemptyFunction.thatReturnsThis = function () {\n return this;\n};\nemptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n};\n\nmodule.exports = emptyFunction;\n\n/***/ }),\n\n/***/ \"./node_modules/fbjs/lib/emptyObject.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n\n\nvar emptyObject = {};\n\nif (true) {\n Object.freeze(emptyObject);\n}\n\nmodule.exports = emptyObject;\n\n/***/ }),\n\n/***/ \"./node_modules/fbjs/lib/invariant.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar validateFormat = function validateFormat(format) {};\n\nif (true) {\n validateFormat = function validateFormat(format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n}\n\nfunction invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n}\n\nmodule.exports = invariant;\n\n/***/ }),\n\n/***/ \"./node_modules/fbjs/lib/warning.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n\n\nvar emptyFunction = __webpack_require__(\"./node_modules/fbjs/lib/emptyFunction.js\");\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar warning = emptyFunction;\n\nif (true) {\n var printWarning = function printWarning(format) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n\n warning = function warning(condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (format.indexOf('Failed Composite propType: ') === 0) {\n return; // Ignore CompositeComponent proptype check.\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(undefined, [format].concat(args));\n }\n };\n}\n\nmodule.exports = warning;\n\n/***/ }),\n\n/***/ \"./node_modules/griddle-react/modules/columnProperties.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\nvar map = __webpack_require__(\"./node_modules/lodash/map.js\");\nvar filter = __webpack_require__(\"./node_modules/lodash/filter.js\");\nvar find = __webpack_require__(\"./node_modules/lodash/find.js\");\nvar sortBy = __webpack_require__(\"./node_modules/lodash/sortBy.js\");\nvar difference = __webpack_require__(\"./node_modules/lodash/difference.js\");\n\nvar ColumnProperties = (function () {\n function ColumnProperties() {\n var allColumns = arguments.length <= 0 || arguments[0] === undefined ? [] : arguments[0];\n var filteredColumns = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1];\n var childrenColumnName = arguments.length <= 2 || arguments[2] === undefined ? \"children\" : arguments[2];\n var columnMetadata = arguments.length <= 3 || arguments[3] === undefined ? [] : arguments[3];\n var metadataColumns = arguments.length <= 4 || arguments[4] === undefined ? [] : arguments[4];\n\n _classCallCheck(this, ColumnProperties);\n\n this.allColumns = allColumns;\n this.filteredColumns = filteredColumns;\n this.childrenColumnName = childrenColumnName;\n this.columnMetadata = columnMetadata;\n this.metadataColumns = metadataColumns;\n }\n\n _createClass(ColumnProperties, [{\n key: 'getMetadataColumns',\n value: function getMetadataColumns() {\n var meta = map(filter(this.columnMetadata, { visible: false }), function (item) {\n return item.columnName;\n });\n if (meta.indexOf(this.childrenColumnName) < 0) {\n meta.push(this.childrenColumnName);\n }\n return meta.concat(this.metadataColumns);\n }\n }, {\n key: 'getVisibleColumnCount',\n value: function getVisibleColumnCount() {\n return this.getColumns().length;\n }\n }, {\n key: 'getColumnMetadataByName',\n value: function getColumnMetadataByName(name) {\n return find(this.columnMetadata, { columnName: name });\n }\n }, {\n key: 'hasColumnMetadata',\n value: function hasColumnMetadata() {\n return this.columnMetadata !== null && this.columnMetadata.length > 0;\n }\n }, {\n key: 'getMetadataColumnProperty',\n value: function getMetadataColumnProperty(columnName, propertyName, defaultValue) {\n var meta = this.getColumnMetadataByName(columnName);\n\n //send back the default value if meta isn't there\n if (typeof meta === \"undefined\" || meta === null) return defaultValue;\n\n return meta.hasOwnProperty(propertyName) ? meta[propertyName] : defaultValue;\n }\n }, {\n key: 'orderColumns',\n value: function orderColumns(cols) {\n var _this = this;\n\n var ORDER_MAX = 100;\n\n var orderedColumns = sortBy(cols, function (item) {\n var metaItem = find(_this.columnMetadata, { columnName: item });\n\n if (typeof metaItem === 'undefined' || metaItem === null || isNaN(metaItem.order)) {\n return ORDER_MAX;\n }\n\n return metaItem.order;\n });\n\n return orderedColumns;\n }\n }, {\n key: 'getColumns',\n value: function getColumns() {\n //if we didn't set default or filter\n var filteredColumns = this.filteredColumns.length === 0 ? this.allColumns : this.filteredColumns;\n\n filteredColumns = difference(filteredColumns, this.metadataColumns);\n\n filteredColumns = this.orderColumns(filteredColumns);\n\n return filteredColumns;\n }\n }]);\n\n return ColumnProperties;\n})();\n\nmodule.exports = ColumnProperties;\n\n\n/***/ }),\n\n/***/ \"./node_modules/griddle-react/modules/customFilterContainer.jsx.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n\n\nvar React = __webpack_require__(0);\nvar createReactClass = __webpack_require__(\"./node_modules/create-react-class/index.js\");\n\nvar CustomFilterContainer = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"placeholderText\": \"\"\n };\n },\n render: function render() {\n var that = this;\n\n if (typeof that.props.customFilterComponent !== 'function') {\n console.log(\"Couldn't find valid template.\");\n return React.createElement('div', null);\n }\n\n return React.createElement(that.props.customFilterComponent, {\n changeFilter: this.props.changeFilter,\n results: this.props.results,\n currentResults: this.props.currentResults,\n placeholderText: this.props.placeholderText });\n }\n});\n\nmodule.exports = CustomFilterContainer;\n\n\n/***/ }),\n\n/***/ \"./node_modules/griddle-react/modules/customPaginationContainer.jsx.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/*\r\n Griddle - Simple Grid Component for React\r\n https://github.com/DynamicTyped/Griddle\r\n Copyright (c) 2014 Ryan Lanciaux | DynamicTyped\r\n\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }return target;\n};\n\nvar React = __webpack_require__(0);\nvar createReactClass = __webpack_require__(\"./node_modules/create-react-class/index.js\");\n\nvar CustomPaginationContainer = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"maxPage\": 0,\n \"nextText\": \"\",\n \"previousText\": \"\",\n \"currentPage\": 0,\n \"customPagerComponent\": {},\n \"customPagerComponentOptions\": {}\n };\n },\n render: function render() {\n var that = this;\n\n if (typeof that.props.customPagerComponent !== 'function') {\n console.log(\"Couldn't find valid template.\");\n return React.createElement('div', null);\n }\n\n return React.createElement(that.props.customPagerComponent, _extends({}, this.props.customPagerComponentOptions, { maxPage: this.props.maxPage, nextText: this.props.nextText, previousText: this.props.previousText, currentPage: this.props.currentPage, setPage: this.props.setPage, previous: this.props.previous, next: this.props.next }));\n }\n});\n\nmodule.exports = CustomPaginationContainer;\n\n\n/***/ }),\n\n/***/ \"./node_modules/griddle-react/modules/customRowComponentContainer.jsx.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/*\r\n Griddle - Simple Grid Component for React\r\n https://github.com/DynamicTyped/Griddle\r\n Copyright (c) 2014 Ryan Lanciaux | DynamicTyped\r\n\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n\n\nvar React = __webpack_require__(0);\nvar createReactClass = __webpack_require__(\"./node_modules/create-react-class/index.js\");\n\nvar CustomRowComponentContainer = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"data\": [],\n \"metadataColumns\": [],\n \"className\": \"\",\n \"customComponent\": {},\n \"globalData\": {}\n };\n },\n render: function render() {\n var that = this;\n\n if (typeof that.props.customComponent !== 'function') {\n console.log(\"Couldn't find valid template.\");\n return React.createElement('div', { className: this.props.className });\n }\n\n var nodes = this.props.data.map(function (row, index) {\n return React.createElement(that.props.customComponent, { data: row, metadataColumns: that.props.metadataColumns, key: index, globalData: that.props.globalData });\n });\n\n var footer = this.props.showPager && this.props.pagingContent;\n return React.createElement('div', { className: this.props.className, style: this.props.style }, nodes);\n }\n});\n\nmodule.exports = CustomRowComponentContainer;\n\n\n/***/ }),\n\n/***/ \"./node_modules/griddle-react/modules/deep.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar forEach = __webpack_require__(\"./node_modules/lodash/forEach.js\");\nvar isObject = __webpack_require__(\"./node_modules/lodash/isObject.js\");\nvar isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\");\nvar isFunction = __webpack_require__(\"./node_modules/lodash/isFunction.js\");\nvar isPlainObject = __webpack_require__(\"./node_modules/lodash/isPlainObject.js\");\nvar forOwn = __webpack_require__(\"./node_modules/lodash/forOwn.js\");\n\n// Credits: https://github.com/documentcloud/underscore-contrib\n// Sub module: underscore.object.selectors\n// License: MIT (https://github.com/documentcloud/underscore-contrib/blob/master/LICENSE)\n// https://github.com/documentcloud/underscore-contrib/blob/master/underscore.object.selectors.js\n\n// Will take a path like 'element[0][1].subElement[\"Hey!.What?\"][\"[hey]\"]'\n// and return [\"element\", \"0\", \"1\", \"subElement\", \"Hey!.What?\", \"[hey]\"]\nfunction keysFromPath(path) {\n // from http://codereview.stackexchange.com/a/63010/8176\n /**\r\n * Repeatedly capture either:\r\n * - a bracketed expression, discarding optional matching quotes inside, or\r\n * - an unbracketed expression, delimited by a dot or a bracket.\r\n */\n var re = /\\[(\"|')(.+)\\1\\]|([^.\\[\\]]+)/g;\n\n var elements = [];\n var result;\n while ((result = re.exec(path)) !== null) {\n elements.push(result[2] || result[3]);\n }\n return elements;\n}\n\n// Gets the value at any depth in a nested object based on the\n// path described by the keys given. Keys may be given as an array\n// or as a dot-separated string.\nfunction getPath(obj, ks) {\n if (typeof ks == \"string\") {\n if (obj[ks] !== undefined) {\n return obj[ks];\n }\n ks = keysFromPath(ks);\n }\n\n var i = -1,\n length = ks.length;\n\n // If the obj is null or undefined we have to break as\n // a TypeError will result trying to access any property\n // Otherwise keep incrementally access the next property in\n // ks until complete\n while (++i < length && obj != null) {\n obj = obj[ks[i]];\n }\n return i === length ? obj : void 0;\n}\n\n// Based on the origin underscore _.pick function\n// Credit: https://github.com/jashkenas/underscore/blob/master/underscore.js\nfunction powerPick(object, keys) {\n var result = {},\n obj = object,\n iteratee;\n iteratee = function (key, obj) {\n return key in obj;\n };\n\n obj = Object(obj);\n\n for (var i = 0, length = keys.length; i < length; i++) {\n var key = keys[i];\n if (iteratee(key, obj)) result[key] = getPath(obj, key);\n }\n\n return result;\n}\n\n// Gets all the keys for a flattened object structure.\n// Doesn't flatten arrays.\n// Input:\n// {\n// a: {\n// x: 1,\n// y: 2\n// },\n// b: [3, 4],\n// c: 5\n// }\n// Output:\n// [\n// \"a.x\",\n// \"a.y\",\n// \"b\",\n// \"c\"\n// ]\nfunction getKeys(obj, prefix) {\n var keys = [];\n\n forEach(obj, function (value, key) {\n var fullKey = prefix ? prefix + \".\" + key : key;\n if (isObject(value) && !isArray(value) && !isFunction(value) && !(value instanceof Date)) {\n keys = keys.concat(getKeys(value, fullKey));\n } else {\n keys.push(fullKey);\n }\n });\n\n return keys;\n}\n\n// Recursivly traverse plain objects and arrays calling `fn` on each\n// non-object/non-array leaf node.\nfunction iterObject(thing, fn) {\n if (isArray(thing)) {\n forEach(thing, function (item) {\n iterObject(item, fn);\n });\n } else if (isPlainObject(thing)) {\n forOwn(thing, function (item) {\n iterObject(item, fn);\n });\n } else {\n fn(thing);\n }\n}\n\n// Recursivly traverse plain objects and arrays and build a list of all\n// non-object/non-array leaf nodes.\n//\n// Input:\n// { \"array\": [1, \"two\", {\"tree\": 3}], \"string\": \"a string\" }\n//\n// Output:\n// [1, 'two', 3, 'a string']\n//\nfunction getObjectValues(thing) {\n var results = [];\n iterObject(thing, function (value) {\n results.push(value);\n });\n return results;\n}\n\nmodule.exports = {\n pick: powerPick,\n getAt: getPath,\n keys: getKeys,\n getObjectValues: getObjectValues\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/griddle-react/modules/gridFilter.jsx.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n\n\nvar React = __webpack_require__(0);\nvar createReactClass = __webpack_require__(\"./node_modules/create-react-class/index.js\");\n\nvar GridFilter = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"placeholderText\": \"\"\n };\n },\n handleChange: function handleChange(event) {\n this.props.changeFilter(event.target.value);\n },\n render: function render() {\n return React.createElement('div', { className: 'filter-container' }, React.createElement('input', { type: 'text', name: 'filter', placeholder: this.props.placeholderText, className: 'form-control', onChange: this.handleChange }));\n }\n});\n\nmodule.exports = GridFilter;\n\n\n/***/ }),\n\n/***/ \"./node_modules/griddle-react/modules/gridNoData.jsx.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n\n\nvar React = __webpack_require__(0);\nvar createReactClass = __webpack_require__(\"./node_modules/create-react-class/index.js\");\n\nvar GridNoData = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"noDataMessage\": \"No Data\"\n };\n },\n render: function render() {\n var that = this;\n\n return React.createElement('div', null, this.props.noDataMessage);\n }\n});\n\nmodule.exports = GridNoData;\n\n\n/***/ }),\n\n/***/ \"./node_modules/griddle-react/modules/gridPagination.jsx.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n\n\nvar React = __webpack_require__(0);\nvar createReactClass = __webpack_require__(\"./node_modules/create-react-class/index.js\");\nvar assign = __webpack_require__(\"./node_modules/lodash/assign.js\");\n\n//needs props maxPage, currentPage, nextFunction, prevFunction\nvar GridPagination = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"maxPage\": 0,\n \"nextText\": \"\",\n \"previousText\": \"\",\n \"currentPage\": 0,\n \"useGriddleStyles\": true,\n \"nextClassName\": \"griddle-next\",\n \"previousClassName\": \"griddle-previous\",\n \"nextIconComponent\": null,\n \"previousIconComponent\": null\n };\n },\n pageChange: function pageChange(event) {\n this.props.setPage(parseInt(event.target.value, 10) - 1);\n },\n render: function render() {\n var previous = \"\";\n var next = \"\";\n\n if (this.props.currentPage > 0) {\n previous = React.createElement('button', { type: 'button', onClick: this.props.previous, style: this.props.useGriddleStyles ? { \"color\": \"#222\", border: \"none\", background: \"none\", margin: \"0 0 0 10px\" } : null }, this.props.previousIconComponent, this.props.previousText);\n }\n\n if (this.props.currentPage !== this.props.maxPage - 1) {\n next = React.createElement('button', { type: 'button', onClick: this.props.next, style: this.props.useGriddleStyles ? { \"color\": \"#222\", border: \"none\", background: \"none\", margin: \"0 10px 0 0\" } : null }, this.props.nextText, this.props.nextIconComponent);\n }\n\n var leftStyle = null;\n var middleStyle = null;\n var rightStyle = null;\n\n if (this.props.useGriddleStyles === true) {\n var baseStyle = {\n \"float\": \"left\",\n minHeight: \"1px\",\n marginTop: \"5px\"\n };\n\n rightStyle = assign({ textAlign: \"right\", width: \"34%\" }, baseStyle);\n middleStyle = assign({ textAlign: \"center\", width: \"33%\" }, baseStyle);\n leftStyle = assign({ width: \"33%\" }, baseStyle);\n }\n\n var options = [];\n\n for (var i = 1; i <= this.props.maxPage; i++) {\n options.push(React.createElement('option', { value: i, key: i }, i));\n }\n\n return React.createElement('div', { style: this.props.useGriddleStyles ? { minHeight: \"35px\" } : null }, React.createElement('div', { className: this.props.previousClassName, style: leftStyle }, previous), React.createElement('div', { className: 'griddle-page', style: middleStyle }, React.createElement('select', { value: this.props.currentPage + 1, onChange: this.pageChange }, options), ' / ', this.props.maxPage), React.createElement('div', { className: this.props.nextClassName, style: rightStyle }, next));\n }\n});\n\nmodule.exports = GridPagination;\n\n\n/***/ }),\n\n/***/ \"./node_modules/griddle-react/modules/gridRow.jsx.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n\n\nvar React = __webpack_require__(0);\nvar createReactClass = __webpack_require__(\"./node_modules/create-react-class/index.js\");\nvar ColumnProperties = __webpack_require__(\"./node_modules/griddle-react/modules/columnProperties.js\");\nvar deep = __webpack_require__(\"./node_modules/griddle-react/modules/deep.js\");\nvar isFunction = __webpack_require__(\"./node_modules/lodash/isFunction.js\");\nvar zipObject = __webpack_require__(\"./node_modules/lodash/zipObject.js\");\nvar assign = __webpack_require__(\"./node_modules/lodash/assign.js\");\nvar defaults = __webpack_require__(\"./node_modules/lodash/defaults.js\");\nvar toPairs = __webpack_require__(\"./node_modules/lodash/toPairs.js\");\nvar without = __webpack_require__(\"./node_modules/lodash/without.js\");\n\nvar GridRow = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"isChildRow\": false,\n \"showChildren\": false,\n \"data\": {},\n \"columnSettings\": null,\n \"rowSettings\": null,\n \"hasChildren\": false,\n \"useGriddleStyles\": true,\n \"useGriddleIcons\": true,\n \"isSubGriddle\": false,\n \"paddingHeight\": null,\n \"rowHeight\": null,\n \"parentRowCollapsedClassName\": \"parent-row\",\n \"parentRowExpandedClassName\": \"parent-row expanded\",\n \"parentRowCollapsedComponent\": \"â–¶\",\n \"parentRowExpandedComponent\": \"â–¼\",\n \"onRowClick\": null,\n \"multipleSelectionSettings\": null,\n \"onRowMouseEnter\": null,\n \"onRowMouseLeave\": null,\n \"onRowWillMount\": null,\n \"onRowWillUnmount\": null\n };\n },\n componentWillMount: function componentWillMount() {\n if (this.props.onRowWillMount !== null && isFunction(this.props.onRowWillMount)) {\n this.props.onRowWillMount(this);\n }\n },\n componentWillUnmount: function componentWillUnmount() {\n if (this.props.onRowWillUnmount !== null && isFunction(this.props.onRowWillUnmount)) {\n this.props.onRowWillUnmount(this);\n }\n },\n handleClick: function handleClick(e) {\n if (this.props.onRowClick !== null && isFunction(this.props.onRowClick)) {\n this.props.onRowClick(this, e);\n } else if (this.props.hasChildren) {\n this.props.toggleChildren();\n }\n },\n handleMouseEnter: function handleMouseEnter(e) {\n if (this.props.onRowMouseEnter !== null && isFunction(this.props.onRowMouseEnter)) {\n this.props.onRowMouseEnter(this, e);\n }\n },\n handleMouseLeave: function handleMouseLeave(e) {\n if (this.props.onRowMouseLeave !== null && isFunction(this.props.onRowMouseLeave)) {\n this.props.onRowMouseLeave(this, e);\n }\n },\n handleSelectionChange: function handleSelectionChange(e) {\n //hack to get around warning that's not super useful in this case\n return;\n },\n handleSelectClick: function handleSelectClick(e) {\n if (this.props.multipleSelectionSettings.isMultipleSelection) {\n if (e.target.type === \"checkbox\") {\n this.props.multipleSelectionSettings.toggleSelectRow(this.props.data, this.refs.selected.checked);\n } else {\n this.props.multipleSelectionSettings.toggleSelectRow(this.props.data, !this.refs.selected.checked);\n }\n }\n },\n verifyProps: function verifyProps() {\n if (this.props.columnSettings === null) {\n console.error(\"gridRow: The columnSettings prop is null and it shouldn't be\");\n }\n },\n formatData: function formatData(data) {\n if (typeof data === 'boolean') {\n return String(data);\n }\n return data;\n },\n render: function render() {\n var _this = this;\n\n this.verifyProps();\n var that = this;\n var columnStyles = null;\n\n if (this.props.useGriddleStyles) {\n columnStyles = {\n margin: \"0px\",\n padding: that.props.paddingHeight + \"px 5px \" + that.props.paddingHeight + \"px 5px\",\n height: that.props.rowHeight ? this.props.rowHeight - that.props.paddingHeight * 2 + \"px\" : null,\n backgroundColor: \"#FFF\",\n borderTopColor: \"#DDD\",\n color: \"#222\"\n };\n }\n\n var columns = this.props.columnSettings.getColumns();\n\n // make sure that all the columns we need have default empty values\n // otherwise they will get clipped\n var defaultValues = zipObject(columns, []);\n\n // creates a 'view' on top the data so we will not alter the original data but will allow us to add default values to missing columns\n var dataView = assign({}, this.props.data);\n\n defaults(dataView, defaultValues);\n var data = toPairs(deep.pick(dataView, without(columns, 'children')));\n var nodes = data.map(function (col, index) {\n var returnValue = null;\n var meta = _this.props.columnSettings.getColumnMetadataByName(col[0]);\n\n //todo: Make this not as ridiculous looking\n var firstColAppend = index === 0 && _this.props.hasChildren && _this.props.showChildren === false && _this.props.useGriddleIcons ? React.createElement('span', { style: _this.props.useGriddleStyles ? { fontSize: \"10px\", marginRight: \"5px\" } : null }, _this.props.parentRowCollapsedComponent) : index === 0 && _this.props.hasChildren && _this.props.showChildren && _this.props.useGriddleIcons ? React.createElement('span', { style: _this.props.useGriddleStyles ? { fontSize: \"10px\" } : null }, _this.props.parentRowExpandedComponent) : \"\";\n\n if (index === 0 && _this.props.isChildRow && _this.props.useGriddleStyles) {\n columnStyles = assign(columnStyles, { paddingLeft: 10 });\n }\n\n if (_this.props.columnSettings.hasColumnMetadata() && typeof meta !== 'undefined' && meta !== null) {\n if (typeof meta.customComponent !== 'undefined' && meta.customComponent !== null) {\n var customComponent = React.createElement(meta.customComponent, { data: col[1], rowData: dataView, metadata: meta });\n returnValue = React.createElement('td', { onClick: _this.handleClick, onMouseEnter: _this.handleMouseEnter, onMouseLeave: _this.handleMouseLeave, className: meta.cssClassName, key: index, style: columnStyles }, customComponent);\n } else {\n returnValue = React.createElement('td', { onClick: _this.handleClick, onMouseEnter: _this.handleMouseEnter, onMouseLeave: _this.handleMouseLeave, className: meta.cssClassName, key: index, style: columnStyles }, firstColAppend, _this.formatData(col[1]));\n }\n }\n\n return returnValue || React.createElement('td', { onClick: _this.handleClick, onMouseEnter: _this.handleMouseEnter, onMouseLeave: _this.handleMouseLeave, key: index, style: columnStyles }, firstColAppend, col[1]);\n });\n\n // Don't compete with onRowClick, but if no onRowClick function then\n // clicking on the row should trigger select\n var trOnClick, tdOnClick;\n if (this.props.onRowClick !== null && isFunction(this.props.onRowClick)) {\n trOnClick = null;\n tdOnClick = this.handleSelectClick;\n } else {\n if (this.props.multipleSelectionSettings && this.props.multipleSelectionSettings.isMultipleSelection) {\n trOnClick = this.handleSelectClick;\n tdOnClick = null;\n } else {\n trOnClick = null;\n tdOnClick = null;\n }\n }\n\n if (nodes && this.props.multipleSelectionSettings && this.props.multipleSelectionSettings.isMultipleSelection) {\n var selectedRowIds = this.props.multipleSelectionSettings.getSelectedRowIds();\n\n nodes.unshift(React.createElement('td', {\n key: 'selection',\n style: columnStyles,\n className: 'griddle-select griddle-select-cell',\n onClick: tdOnClick\n }, React.createElement('input', {\n type: 'checkbox',\n checked: this.props.multipleSelectionSettings.getIsRowChecked(dataView),\n onChange: this.handleSelectionChange,\n ref: 'selected'\n })));\n }\n\n //Get the row from the row settings.\n var className = that.props.rowSettings && that.props.rowSettings.getBodyRowMetadataClass(that.props.data) || \"standard-row\";\n\n if (that.props.isChildRow) {\n className = \"child-row\";\n } else if (that.props.hasChildren) {\n className = that.props.showChildren ? this.props.parentRowExpandedClassName : this.props.parentRowCollapsedClassName;\n }\n\n return React.createElement('tr', { onClick: trOnClick, className: className }, nodes);\n }\n});\n\nmodule.exports = GridRow;\n\n\n/***/ }),\n\n/***/ \"./node_modules/griddle-react/modules/gridRowContainer.jsx.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n\n\nvar React = __webpack_require__(0);\nvar createReactClass = __webpack_require__(\"./node_modules/create-react-class/index.js\");\nvar ColumnProperties = __webpack_require__(\"./node_modules/griddle-react/modules/columnProperties.js\");\nvar pick = __webpack_require__(\"./node_modules/lodash/pick.js\");\n\nvar GridRowContainer = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"useGriddleStyles\": true,\n \"useGriddleIcons\": true,\n \"isSubGriddle\": false,\n \"columnSettings\": null,\n \"rowSettings\": null,\n \"paddingHeight\": null,\n \"rowHeight\": null,\n \"parentRowCollapsedClassName\": \"parent-row\",\n \"parentRowExpandedClassName\": \"parent-row expanded\",\n \"parentRowCollapsedComponent\": \"â–¶\",\n \"parentRowExpandedComponent\": \"â–¼\",\n \"onRowClick\": null,\n \"onRowMouseEnter\": null,\n \"onRowMouseLeave\": null,\n \"onRowWillMount\": null,\n \"onRowWillUnmount\": null,\n \"multipleSelectionSettings\": null\n };\n },\n getInitialState: function getInitialState() {\n return {\n \"data\": {},\n \"showChildren\": false\n };\n },\n componentWillReceiveProps: function componentWillReceiveProps() {\n this.setShowChildren(false);\n },\n toggleChildren: function toggleChildren() {\n this.setShowChildren(this.state.showChildren === false);\n },\n setShowChildren: function setShowChildren(visible) {\n this.setState({\n showChildren: visible\n });\n },\n verifyProps: function verifyProps() {\n if (this.props.columnSettings === null) {\n console.error(\"gridRowContainer: The columnSettings prop is null and it shouldn't be\");\n }\n },\n render: function render() {\n this.verifyProps();\n var that = this;\n if (typeof this.props.data === \"undefined\") {\n return React.createElement('tbody', null);\n }\n var arr = [];\n\n var columns = this.props.columnSettings.getColumns();\n\n arr.push(React.createElement(this.props.rowSettings.rowComponent, {\n useGriddleStyles: this.props.useGriddleStyles,\n isSubGriddle: this.props.isSubGriddle,\n data: this.props.rowSettings.isCustom ? pick(this.props.data, columns) : this.props.data,\n rowData: this.props.rowSettings.isCustom ? this.props.data : null,\n columnSettings: this.props.columnSettings,\n rowSettings: this.props.rowSettings,\n hasChildren: that.props.hasChildren,\n toggleChildren: that.toggleChildren,\n showChildren: that.state.showChildren,\n key: that.props.uniqueId + '_base_row',\n useGriddleIcons: that.props.useGriddleIcons,\n parentRowExpandedClassName: this.props.parentRowExpandedClassName,\n parentRowCollapsedClassName: this.props.parentRowCollapsedClassName,\n parentRowExpandedComponent: this.props.parentRowExpandedComponent,\n parentRowCollapsedComponent: this.props.parentRowCollapsedComponent,\n paddingHeight: that.props.paddingHeight,\n rowHeight: that.props.rowHeight,\n onRowClick: that.props.onRowClick,\n onRowMouseEnter: that.props.onRowMouseEnter,\n onRowMouseLeave: that.props.onRowMouseLeave,\n multipleSelectionSettings: this.props.multipleSelectionSettings,\n onRowWillMount: that.props.onRowWillMount,\n onRowWillUnmount: that.props.onRowWillUnmount }));\n\n var children = null;\n\n if (that.state.showChildren) {\n children = that.props.hasChildren && this.props.data[\"children\"].map(function (row, index) {\n var key = that.props.rowSettings.getRowKey(row, index);\n\n if (typeof row[\"children\"] !== \"undefined\") {\n var Griddle = that.constructor.Griddle;\n return React.createElement('tr', { key: key, style: { paddingLeft: 5 } }, React.createElement('td', { colSpan: that.props.columnSettings.getVisibleColumnCount(), className: 'griddle-parent', style: that.props.useGriddleStyles ? { border: \"none\", \"padding\": \"0 0 0 5px\" } : null }, React.createElement(Griddle, {\n rowMetadata: { key: 'id' },\n isSubGriddle: true,\n results: [row],\n columns: that.props.columnSettings.getColumns(),\n tableClassName: that.props.tableClassName,\n parentRowExpandedClassName: that.props.parentRowExpandedClassName,\n parentRowCollapsedClassName: that.props.parentRowCollapsedClassName,\n showTableHeading: false,\n showPager: false,\n columnMetadata: that.props.columnSettings.columnMetadata,\n parentRowExpandedComponent: that.props.parentRowExpandedComponent,\n parentRowCollapsedComponent: that.props.parentRowCollapsedComponent,\n paddingHeight: that.props.paddingHeight,\n rowHeight: that.props.rowHeight\n })));\n }\n\n return React.createElement(that.props.rowSettings.rowComponent, {\n useGriddleStyles: that.props.useGriddleStyles,\n isSubGriddle: that.props.isSubGriddle,\n data: row,\n columnSettings: that.props.columnSettings,\n isChildRow: true,\n columnMetadata: that.props.columnSettings.columnMetadata,\n key: key\n });\n });\n }\n\n return that.props.hasChildren === false ? arr[0] : React.createElement('tbody', null, that.state.showChildren ? arr.concat(children) : arr);\n }\n});\n\nmodule.exports = GridRowContainer;\n\n\n/***/ }),\n\n/***/ \"./node_modules/griddle-react/modules/gridSettings.jsx.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n\n\nvar React = __webpack_require__(0);\nvar createReactClass = __webpack_require__(\"./node_modules/create-react-class/index.js\");\nvar includes = __webpack_require__(\"./node_modules/lodash/includes.js\");\nvar without = __webpack_require__(\"./node_modules/lodash/without.js\");\nvar find = __webpack_require__(\"./node_modules/lodash/find.js\");\n\nvar GridSettings = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"columns\": [],\n \"columnMetadata\": [],\n \"selectedColumns\": [],\n \"settingsText\": \"\",\n \"maxRowsText\": \"\",\n \"resultsPerPage\": 0,\n \"enableToggleCustom\": false,\n \"useCustomComponent\": false,\n \"useGriddleStyles\": true,\n \"toggleCustomComponent\": function toggleCustomComponent() {}\n };\n },\n setPageSize: function setPageSize(event) {\n var value = parseInt(event.target.value, 10);\n this.props.setPageSize(value);\n },\n handleChange: function handleChange(event) {\n var columnName = event.target.dataset ? event.target.dataset.name : event.target.getAttribute('data-name');\n if (event.target.checked === true && includes(this.props.selectedColumns, columnName) === false) {\n this.props.selectedColumns.push(columnName);\n this.props.setColumns(this.props.selectedColumns);\n } else {\n /* redraw with the selected columns minus the one just unchecked */\n this.props.setColumns(without(this.props.selectedColumns, columnName));\n }\n },\n render: function render() {\n var that = this;\n\n var nodes = [];\n //don't show column selector if we're on a custom component\n if (that.props.useCustomComponent === false) {\n nodes = this.props.columns.map(function (col, index) {\n var checked = includes(that.props.selectedColumns, col);\n //check column metadata -- if this one is locked make it disabled and don't put an onChange event\n var meta = find(that.props.columnMetadata, { columnName: col });\n var displayName = col;\n\n if (typeof meta !== \"undefined\" && typeof meta.displayName !== \"undefined\" && meta.displayName != null) {\n displayName = meta.displayName;\n }\n\n if (typeof meta !== \"undefined\" && meta != null && meta.locked) {\n return React.createElement('div', { className: 'column checkbox' }, React.createElement('label', null, React.createElement('input', { type: 'checkbox', disabled: true, name: 'check', checked: checked, 'data-name': col }), displayName));\n } else if (typeof meta !== \"undefined\" && meta != null && typeof meta.visible !== \"undefined\" && meta.visible === false) {\n return null;\n }\n return React.createElement('div', { className: 'griddle-column-selection checkbox', key: col, style: that.props.useGriddleStyles ? { \"float\": \"left\", width: \"20%\" } : null }, React.createElement('label', null, React.createElement('input', { type: 'checkbox', name: 'check', onChange: that.handleChange, checked: checked, 'data-name': col }), displayName));\n });\n }\n\n var toggleCustom = that.props.enableToggleCustom ? React.createElement('div', { className: 'form-group' }, React.createElement('label', { htmlFor: 'maxRows' }, React.createElement('input', { type: 'checkbox', checked: this.props.useCustomComponent, onChange: this.props.toggleCustomComponent }), ' ', this.props.enableCustomFormatText)) : \"\";\n\n var setPageSize = this.props.showSetPageSize ? React.createElement('div', null, React.createElement('label', { htmlFor: 'maxRows' }, this.props.maxRowsText, ':', React.createElement('select', { onChange: this.setPageSize, value: this.props.resultsPerPage }, React.createElement('option', { value: '5' }, '5'), React.createElement('option', { value: '10' }, '10'), React.createElement('option', { value: '25' }, '25'), React.createElement('option', { value: '50' }, '50'), React.createElement('option', { value: '100' }, '100')))) : \"\";\n\n return React.createElement('div', { className: 'griddle-settings', style: this.props.useGriddleStyles ? { backgroundColor: \"#FFF\", border: \"1px solid #DDD\", color: \"#222\", padding: \"10px\", marginBottom: \"10px\" } : null }, React.createElement('h6', null, this.props.settingsText), React.createElement('div', { className: 'griddle-columns', style: this.props.useGriddleStyles ? { clear: \"both\", display: \"table\", width: \"100%\", borderBottom: \"1px solid #EDEDED\", marginBottom: \"10px\" } : null }, nodes), setPageSize, toggleCustom);\n }\n});\n\nmodule.exports = GridSettings;\n\n\n/***/ }),\n\n/***/ \"./node_modules/griddle-react/modules/gridTable.jsx.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n\n\nvar React = __webpack_require__(0);\nvar createReactClass = __webpack_require__(\"./node_modules/create-react-class/index.js\");\nvar GridTitle = __webpack_require__(\"./node_modules/griddle-react/modules/gridTitle.jsx.js\");\nvar GridRowContainer = __webpack_require__(\"./node_modules/griddle-react/modules/gridRowContainer.jsx.js\");\nvar ColumnProperties = __webpack_require__(\"./node_modules/griddle-react/modules/columnProperties.js\");\nvar RowProperties = __webpack_require__(\"./node_modules/griddle-react/modules/rowProperties.js\");\n\nvar GridTable = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"data\": [],\n \"columnSettings\": null,\n \"rowSettings\": null,\n \"sortSettings\": null,\n \"multipleSelectionSettings\": null,\n \"className\": \"\",\n \"enableInfiniteScroll\": false,\n \"nextPage\": null,\n \"hasMorePages\": false,\n \"useFixedHeader\": false,\n \"useFixedLayout\": true,\n \"paddingHeight\": null,\n \"rowHeight\": null,\n \"filterByColumn\": null,\n \"infiniteScrollLoadTreshold\": null,\n \"bodyHeight\": null,\n \"useGriddleStyles\": true,\n \"useGriddleIcons\": true,\n \"isSubGriddle\": false,\n \"parentRowCollapsedClassName\": \"parent-row\",\n \"parentRowExpandedClassName\": \"parent-row expanded\",\n \"parentRowCollapsedComponent\": \"â–¶\",\n \"parentRowExpandedComponent\": \"â–¼\",\n \"externalLoadingComponent\": null,\n \"externalIsLoading\": false,\n \"onRowClick\": null,\n \"onRowMouseEnter\": null,\n \"onRowMouseLeave\": null,\n \"onRowWillMount\": null,\n \"onRowWillUnmount\": null\n };\n },\n getInitialState: function getInitialState() {\n return {\n scrollTop: 0,\n scrollHeight: this.props.bodyHeight,\n clientHeight: this.props.bodyHeight\n };\n },\n componentDidMount: function componentDidMount() {\n // After the initial render, see if we need to load additional pages.\n this.gridScroll();\n },\n componentDidUpdate: function componentDidUpdate(prevProps, prevState) {\n // After the subsequent renders, see if we need to load additional pages.\n this.gridScroll();\n },\n gridScroll: function gridScroll() {\n if (this.props.enableInfiniteScroll && !this.props.externalIsLoading) {\n // If the scroll height is greater than the current amount of rows displayed, update the page.\n var scrollable = this.refs.scrollable;\n var scrollTop = scrollable.scrollTop;\n var scrollHeight = scrollable.scrollHeight;\n var clientHeight = scrollable.clientHeight;\n\n // If the scroll position changed and the difference is greater than a row height\n if (this.props.rowHeight !== null && this.state.scrollTop !== scrollTop && Math.abs(this.state.scrollTop - scrollTop) >= this.getAdjustedRowHeight()) {\n var newState = {\n scrollTop: scrollTop,\n scrollHeight: scrollHeight,\n clientHeight: clientHeight\n };\n\n // Set the state to the new state\n this.setState(newState);\n }\n\n // Determine the diff by subtracting the amount scrolled by the total height, taking into consideratoin\n // the spacer's height.\n var scrollHeightDiff = scrollHeight - (scrollTop + clientHeight) - this.props.infiniteScrollLoadTreshold;\n\n // Make sure that we load results a little before reaching the bottom.\n var compareHeight = scrollHeightDiff * 0.6;\n\n if (compareHeight <= this.props.infiniteScrollLoadTreshold) {\n this.props.nextPage();\n }\n }\n },\n verifyProps: function verifyProps() {\n if (this.props.columnSettings === null) {\n console.error(\"gridTable: The columnSettings prop is null and it shouldn't be\");\n }\n if (this.props.rowSettings === null) {\n console.error(\"gridTable: The rowSettings prop is null and it shouldn't be\");\n }\n },\n getAdjustedRowHeight: function getAdjustedRowHeight() {\n return this.props.rowHeight + this.props.paddingHeight * 2; // account for padding.\n },\n getNodeContent: function getNodeContent() {\n this.verifyProps();\n var that = this;\n\n //figure out if we need to wrap the group in one tbody or many\n var anyHasChildren = false;\n\n // If the data is still being loaded, don't build the nodes unless this is an infinite scroll table.\n if (!this.props.externalIsLoading || this.props.enableInfiniteScroll) {\n var nodeData = that.props.data;\n var aboveSpacerRow = null;\n var belowSpacerRow = null;\n var usingDefault = false;\n\n // If we have a row height specified, only render what's going to be visible.\n if (this.props.enableInfiniteScroll && this.props.rowHeight !== null && this.refs.scrollable !== undefined) {\n var adjustedHeight = that.getAdjustedRowHeight();\n var visibleRecordCount = Math.ceil(that.state.clientHeight / adjustedHeight);\n\n // Inspired by : http://jsfiddle.net/vjeux/KbWJ2/9/\n var displayStart = Math.max(0, Math.floor(that.state.scrollTop / adjustedHeight) - visibleRecordCount * 0.25);\n var displayEnd = Math.min(displayStart + visibleRecordCount * 1.25, this.props.data.length - 1);\n\n // Split the amount of nodes.\n nodeData = nodeData.slice(displayStart, displayEnd + 1);\n\n // Set the above and below nodes.\n var aboveSpacerRowStyle = { height: displayStart * adjustedHeight + \"px\" };\n aboveSpacerRow = React.createElement('tr', { key: 'above-' + aboveSpacerRowStyle.height, style: aboveSpacerRowStyle });\n var belowSpacerRowStyle = { height: (this.props.data.length - displayEnd) * adjustedHeight + \"px\" };\n belowSpacerRow = React.createElement('tr', { key: 'below-' + belowSpacerRowStyle.height, style: belowSpacerRowStyle });\n }\n\n var nodes = nodeData.map(function (row, index) {\n var hasChildren = typeof row[\"children\"] !== \"undefined\" && row[\"children\"].length > 0;\n var uniqueId = that.props.rowSettings.getRowKey(row, index);\n\n //at least one item in the group has children.\n if (hasChildren) {\n anyHasChildren = hasChildren;\n }\n\n return React.createElement(GridRowContainer, {\n useGriddleStyles: that.props.useGriddleStyles,\n isSubGriddle: that.props.isSubGriddle,\n parentRowExpandedClassName: that.props.parentRowExpandedClassName,\n parentRowCollapsedClassName: that.props.parentRowCollapsedClassName,\n parentRowExpandedComponent: that.props.parentRowExpandedComponent,\n parentRowCollapsedComponent: that.props.parentRowCollapsedComponent,\n data: row,\n key: uniqueId + '-container',\n uniqueId: uniqueId,\n columnSettings: that.props.columnSettings,\n rowSettings: that.props.rowSettings,\n paddingHeight: that.props.paddingHeight,\n multipleSelectionSettings: that.props.multipleSelectionSettings,\n rowHeight: that.props.rowHeight,\n hasChildren: hasChildren,\n tableClassName: that.props.className,\n onRowClick: that.props.onRowClick,\n onRowMouseEnter: that.props.onRowMouseEnter,\n onRowMouseLeave: that.props.onRowMouseLeave,\n onRowWillMount: that.props.onRowWillMount,\n onRowWillUnmount: that.props.onRowWillUnmount\n });\n });\n\n // no data section\n if (this.props.showNoData) {\n var colSpan = this.props.columnSettings.getVisibleColumnCount();\n nodes.push(React.createElement('tr', { key: 'no-data-section' }, React.createElement('td', { colSpan: colSpan }, this.props.noDataSection)));\n }\n\n // Add the spacer rows for nodes we're not rendering.\n if (aboveSpacerRow) {\n nodes.unshift(aboveSpacerRow);\n }\n if (belowSpacerRow) {\n nodes.push(belowSpacerRow);\n }\n\n // Send back the nodes.\n return {\n nodes: nodes,\n anyHasChildren: anyHasChildren\n };\n } else {\n return null;\n }\n },\n render: function render() {\n var that = this;\n var nodes = [];\n\n // for if we need to wrap the group in one tbody or many\n var anyHasChildren = false;\n\n // Grab the nodes to render\n var nodeContent = this.getNodeContent();\n if (nodeContent) {\n nodes = nodeContent.nodes;\n anyHasChildren = nodeContent.anyHasChildren;\n }\n\n var gridStyle = null;\n var loadingContent = null;\n var tableStyle = {\n width: \"100%\"\n };\n\n if (this.props.useFixedLayout) {\n tableStyle.tableLayout = \"fixed\";\n }\n\n if (this.props.enableInfiniteScroll) {\n // If we're enabling infinite scrolling, we'll want to include the max height of the grid body + allow scrolling.\n gridStyle = {\n \"position\": \"relative\",\n \"overflowY\": \"scroll\",\n \"height\": this.props.bodyHeight + \"px\",\n \"width\": \"100%\"\n };\n }\n\n // If we're currently loading, populate the loading content\n if (this.props.externalIsLoading) {\n var defaultLoadingStyle = null;\n var defaultColSpan = null;\n\n if (this.props.useGriddleStyles) {\n defaultLoadingStyle = {\n textAlign: \"center\",\n paddingBottom: \"40px\"\n };\n }\n\n defaultColSpan = this.props.columnSettings.getVisibleColumnCount();\n\n var loadingComponent = this.props.externalLoadingComponent ? React.createElement(this.props.externalLoadingComponent, null) : React.createElement('div', null, 'Loading...');\n\n loadingContent = React.createElement('tbody', null, React.createElement('tr', null, React.createElement('td', { style: defaultLoadingStyle, colSpan: defaultColSpan }, loadingComponent)));\n }\n\n //construct the table heading component\n var tableHeading = this.props.showTableHeading ? React.createElement(GridTitle, { useGriddleStyles: this.props.useGriddleStyles, useGriddleIcons: this.props.useGriddleIcons,\n sortSettings: this.props.sortSettings,\n multipleSelectionSettings: this.props.multipleSelectionSettings,\n columnSettings: this.props.columnSettings,\n filterByColumn: this.props.filterByColumn,\n rowSettings: this.props.rowSettings }) : undefined;\n\n //check to see if any of the rows have children... if they don't wrap everything in a tbody so the browser doesn't auto do this\n if (!anyHasChildren) {\n nodes = React.createElement('tbody', null, nodes);\n }\n\n var pagingContent = React.createElement('tbody', null);\n if (this.props.showPager) {\n var pagingStyles = this.props.useGriddleStyles ? {\n padding: \"0px\",\n backgroundColor: \"#EDEDED\",\n border: \"0px\",\n color: \"#222\",\n height: this.props.showNoData ? \"20px\" : null\n } : null;\n pagingContent = React.createElement('tbody', null, React.createElement('tr', null, React.createElement('td', { colSpan: this.props.multipleSelectionSettings.isMultipleSelection ? this.props.columnSettings.getVisibleColumnCount() + 1 : this.props.columnSettings.getVisibleColumnCount(), style: pagingStyles, className: 'footer-container' }, !this.props.showNoData ? this.props.pagingContent : null)));\n }\n\n // If we have a fixed header, split into two tables.\n if (this.props.useFixedHeader) {\n if (this.props.useGriddleStyles) {\n tableStyle.tableLayout = \"fixed\";\n }\n\n return React.createElement('div', null, React.createElement('table', { className: this.props.className, style: this.props.useGriddleStyles && tableStyle || null }, tableHeading), React.createElement('div', { ref: 'scrollable', onScroll: this.gridScroll, style: gridStyle }, React.createElement('table', { className: this.props.className, style: this.props.useGriddleStyles && tableStyle || null }, nodes, loadingContent, pagingContent)));\n }\n\n return React.createElement('div', { ref: 'scrollable', onScroll: this.gridScroll, style: gridStyle }, React.createElement('table', { className: this.props.className, style: this.props.useGriddleStyles && tableStyle || null }, tableHeading, nodes, loadingContent, pagingContent));\n }\n});\n\nmodule.exports = GridTable;\n\n\n/***/ }),\n\n/***/ \"./node_modules/griddle-react/modules/gridTitle.jsx.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n */\n\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }return target;\n};\n\nvar React = __webpack_require__(0);\nvar createReactClass = __webpack_require__(\"./node_modules/create-react-class/index.js\");\nvar ColumnProperties = __webpack_require__(\"./node_modules/griddle-react/modules/columnProperties.js\");\nvar assign = __webpack_require__(\"./node_modules/lodash/assign.js\");\n\nvar DefaultHeaderComponent = createReactClass({\n render: function render() {\n return React.createElement('span', null, this.props.displayName);\n }\n});\n\nvar GridTitle = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"columnSettings\": null,\n \"filterByColumn\": function filterByColumn() {},\n \"rowSettings\": null,\n \"sortSettings\": null,\n \"multipleSelectionSettings\": null,\n \"headerStyle\": null,\n \"useGriddleStyles\": true,\n \"useGriddleIcons\": true,\n \"headerStyles\": {}\n };\n },\n componentWillMount: function componentWillMount() {\n this.verifyProps();\n },\n sort: function sort(column) {\n var that = this;\n return function (event) {\n that.props.sortSettings.changeSort(column);\n };\n },\n toggleSelectAll: function toggleSelectAll(event) {\n this.props.multipleSelectionSettings.toggleSelectAll();\n },\n handleSelectionChange: function handleSelectionChange(event) {\n //hack to get around warning message that's not helpful in this case\n return;\n },\n verifyProps: function verifyProps() {\n if (this.props.columnSettings === null) {\n console.error(\"gridTitle: The columnSettings prop is null and it shouldn't be\");\n }\n\n if (this.props.sortSettings === null) {\n console.error(\"gridTitle: The sortSettings prop is null and it shouldn't be\");\n }\n },\n render: function render() {\n this.verifyProps();\n var that = this;\n var titleStyles = {};\n\n var nodes = this.props.columnSettings.getColumns().map(function (col, index) {\n var defaultTitleStyles = {};\n var columnSort = \"\";\n var columnIsSortable = that.props.columnSettings.getMetadataColumnProperty(col, \"sortable\", true);\n var sortComponent = columnIsSortable ? that.props.sortSettings.sortDefaultComponent : null;\n\n if (that.props.sortSettings.sortColumn == col && that.props.sortSettings.sortDirection === 'asc') {\n columnSort = that.props.sortSettings.sortAscendingClassName;\n sortComponent = that.props.useGriddleIcons && that.props.sortSettings.sortAscendingComponent;\n } else if (that.props.sortSettings.sortColumn == col && that.props.sortSettings.sortDirection === 'desc') {\n columnSort += that.props.sortSettings.sortDescendingClassName;\n sortComponent = that.props.useGriddleIcons && that.props.sortSettings.sortDescendingComponent;\n }\n\n var meta = that.props.columnSettings.getColumnMetadataByName(col);\n var displayName = that.props.columnSettings.getMetadataColumnProperty(col, \"displayName\", col);\n var HeaderComponent = that.props.columnSettings.getMetadataColumnProperty(col, \"customHeaderComponent\", DefaultHeaderComponent);\n var headerProps = that.props.columnSettings.getMetadataColumnProperty(col, \"customHeaderComponentProps\", {});\n\n columnSort = meta == null ? columnSort : (columnSort && columnSort + \" \" || columnSort) + that.props.columnSettings.getMetadataColumnProperty(col, \"cssClassName\", \"\");\n\n if (that.props.useGriddleStyles) {\n defaultTitleStyles = {\n backgroundColor: \"#EDEDEF\",\n border: \"0px\",\n borderBottom: \"1px solid #DDD\",\n color: \"#222\",\n padding: \"5px\",\n cursor: columnIsSortable ? \"pointer\" : \"default\"\n };\n }\n titleStyles = meta && meta.titleStyles ? assign({}, defaultTitleStyles, meta.titleStyles) : assign({}, defaultTitleStyles);\n\n var ComponentClass = displayName ? 'th' : 'td';\n return React.createElement(ComponentClass, { onClick: columnIsSortable ? that.sort(col) : null, 'data-title': col, className: columnSort, key: col,\n style: titleStyles }, React.createElement(HeaderComponent, _extends({ columnName: col, displayName: displayName,\n filterByColumn: that.props.filterByColumn }, headerProps)), sortComponent);\n });\n\n if (nodes && this.props.multipleSelectionSettings.isMultipleSelection) {\n nodes.unshift(React.createElement('th', { key: 'selection', onClick: this.toggleSelectAll, style: titleStyles, className: 'griddle-select griddle-select-title' }, React.createElement('input', {\n type: 'checkbox',\n checked: this.props.multipleSelectionSettings.getIsSelectAllChecked(),\n onChange: this.handleSelectionChange\n })));\n }\n\n //Get the row from the row settings.\n var className = that.props.rowSettings && that.props.rowSettings.getHeaderRowMetadataClass() || null;\n\n return React.createElement('thead', null, React.createElement('tr', {\n className: className,\n style: this.props.headerStyles }, nodes));\n }\n});\n\nmodule.exports = GridTitle;\n\n\n/***/ }),\n\n/***/ \"./node_modules/griddle-react/modules/griddle.jsx.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/*\r\n Griddle - Simple Grid Component for React\r\n https://github.com/DynamicTyped/Griddle\r\n Copyright (c) 2014 Ryan Lanciaux | DynamicTyped\r\n\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }return target;\n};\n\nvar React = __webpack_require__(0);\nvar PropTypes = __webpack_require__(1);\nvar createReactClass = __webpack_require__(\"./node_modules/create-react-class/index.js\");\nvar GridTable = __webpack_require__(\"./node_modules/griddle-react/modules/gridTable.jsx.js\");\nvar GridFilter = __webpack_require__(\"./node_modules/griddle-react/modules/gridFilter.jsx.js\");\nvar GridPagination = __webpack_require__(\"./node_modules/griddle-react/modules/gridPagination.jsx.js\");\nvar GridSettings = __webpack_require__(\"./node_modules/griddle-react/modules/gridSettings.jsx.js\");\nvar GridNoData = __webpack_require__(\"./node_modules/griddle-react/modules/gridNoData.jsx.js\");\nvar GridRow = __webpack_require__(\"./node_modules/griddle-react/modules/gridRow.jsx.js\");\nvar GridRowContainer = __webpack_require__(\"./node_modules/griddle-react/modules/gridRowContainer.jsx.js\");\nvar CustomRowComponentContainer = __webpack_require__(\"./node_modules/griddle-react/modules/customRowComponentContainer.jsx.js\");\nvar CustomPaginationContainer = __webpack_require__(\"./node_modules/griddle-react/modules/customPaginationContainer.jsx.js\");\nvar CustomFilterContainer = __webpack_require__(\"./node_modules/griddle-react/modules/customFilterContainer.jsx.js\");\nvar ColumnProperties = __webpack_require__(\"./node_modules/griddle-react/modules/columnProperties.js\");\nvar RowProperties = __webpack_require__(\"./node_modules/griddle-react/modules/rowProperties.js\");\nvar deep = __webpack_require__(\"./node_modules/griddle-react/modules/deep.js\");\n\nvar drop = __webpack_require__(\"./node_modules/lodash/drop.js\");\nvar dropRight = __webpack_require__(\"./node_modules/lodash/dropRight.js\");\nvar find = __webpack_require__(\"./node_modules/lodash/find.js\");\nvar first = __webpack_require__(\"./node_modules/lodash/take.js\");\nvar forEach = __webpack_require__(\"./node_modules/lodash/forEach.js\");\nvar initial = __webpack_require__(\"./node_modules/lodash/initial.js\");\nvar intersection = __webpack_require__(\"./node_modules/lodash/intersection.js\");\nvar isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\");\nvar isEmpty = __webpack_require__(\"./node_modules/lodash/isEmpty.js\");\nvar isNull = __webpack_require__(\"./node_modules/lodash/isNull.js\");\nvar isUndefined = __webpack_require__(\"./node_modules/lodash/isUndefined.js\");\nvar omit = __webpack_require__(\"./node_modules/lodash/omit.js\");\nvar map = __webpack_require__(\"./node_modules/lodash/map.js\");\nvar extend = __webpack_require__(\"./node_modules/lodash/assign.js\");\nvar _filter = __webpack_require__(\"./node_modules/lodash/filter.js\");\n\nvar _orderBy = __webpack_require__(\"./node_modules/lodash/orderBy.js\");\nvar _property = __webpack_require__(\"./node_modules/lodash/property.js\");\nvar _get = __webpack_require__(\"./node_modules/lodash/get.js\");\nvar _some = __webpack_require__(\"./node_modules/lodash/some.js\");\n\nvar Griddle = createReactClass({\n statics: {\n GridTable: GridTable,\n GridFilter: GridFilter,\n GridPagination: GridPagination,\n GridSettings: GridSettings,\n GridRow: GridRow\n },\n columnSettings: null,\n rowSettings: null,\n getDefaultProps: function getDefaultProps() {\n return {\n \"columns\": [],\n \"gridMetadata\": null,\n \"columnMetadata\": [],\n \"rowMetadata\": null,\n \"results\": [], // Used if all results are already loaded.\n \"initialSort\": \"\",\n \"gridClassName\": \"\",\n \"tableClassName\": \"\",\n \"customRowComponentClassName\": \"\",\n \"settingsText\": \"Settings\",\n \"filterPlaceholderText\": \"Filter Results\",\n \"nextText\": \"Next\",\n \"previousText\": \"Previous\",\n \"maxRowsText\": \"Rows per page\",\n \"enableCustomFormatText\": \"Enable Custom Formatting\",\n //this column will determine which column holds subgrid data\n //it will be passed through with the data object but will not be rendered\n \"childrenColumnName\": \"children\",\n //Any column in this list will be treated as metadata and will be passed through with the data but won't be rendered\n \"metadataColumns\": [],\n \"showFilter\": false,\n \"showSettings\": false,\n \"useCustomRowComponent\": false,\n \"useCustomGridComponent\": false,\n \"useCustomPagerComponent\": false,\n \"useCustomFilterer\": false,\n \"useCustomFilterComponent\": false,\n \"useGriddleStyles\": true,\n \"useGriddleIcons\": true,\n \"customRowComponent\": null,\n \"customGridComponent\": null,\n \"customPagerComponent\": {},\n \"customFilterComponent\": null,\n \"customFilterer\": null,\n \"globalData\": null,\n \"enableToggleCustom\": false,\n \"noDataMessage\": \"There is no data to display.\",\n \"noDataClassName\": \"griddle-nodata\",\n \"customNoDataComponent\": null,\n \"customNoDataComponentProps\": null,\n \"allowEmptyGrid\": false,\n \"showTableHeading\": true,\n \"showPager\": true,\n \"useFixedHeader\": false,\n \"useExternal\": false,\n \"externalSetPage\": null,\n \"externalChangeSort\": null,\n \"externalSetFilter\": null,\n \"externalSetPageSize\": null,\n \"externalMaxPage\": null,\n \"externalCurrentPage\": null,\n \"externalSortColumn\": null,\n \"externalSortAscending\": true,\n \"externalLoadingComponent\": null,\n \"externalIsLoading\": false,\n \"enableInfiniteScroll\": false,\n \"bodyHeight\": null,\n \"paddingHeight\": 5,\n \"rowHeight\": 25,\n \"infiniteScrollLoadTreshold\": 50,\n \"useFixedLayout\": true,\n \"isSubGriddle\": false,\n \"enableSort\": true,\n \"onRowClick\": null,\n \"onRowMouseEnter\": null,\n \"onRowMouseLeave\": null,\n \"onRowWillMount\": null,\n \"onRowWillUnmount\": null,\n /* css class names */\n \"sortAscendingClassName\": \"sort-ascending\",\n \"sortDescendingClassName\": \"sort-descending\",\n \"parentRowCollapsedClassName\": \"parent-row\",\n \"parentRowExpandedClassName\": \"parent-row expanded\",\n \"settingsToggleClassName\": \"settings\",\n \"nextClassName\": \"griddle-next\",\n \"previousClassName\": \"griddle-previous\",\n \"headerStyles\": {},\n /* icon components */\n \"sortAscendingComponent\": \" â–²\",\n \"sortDescendingComponent\": \" â–¼\",\n \"sortDefaultComponent\": null,\n \"parentRowCollapsedComponent\": \"â–¶\",\n \"parentRowExpandedComponent\": \"â–¼\",\n \"settingsIconComponent\": \"\",\n \"nextIconComponent\": \"\",\n \"previousIconComponent\": \"\",\n \"isMultipleSelection\": false, //currently does not support subgrids\n \"selectedRowIds\": [],\n \"uniqueIdentifier\": \"id\",\n \"onSelectionChange\": null,\n \"columnFilterFunc\": null\n };\n },\n propTypes: {\n isMultipleSelection: PropTypes.bool,\n selectedRowIds: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.arrayOf(PropTypes.string)]),\n uniqueIdentifier: PropTypes.string,\n onSelectionChange: PropTypes.func,\n columnFilterFunc: PropTypes.func\n },\n defaultFilter: function defaultFilter(results, filter) {\n var that = this;\n return _filter(results, function (item) {\n var arr = deep.keys(item);\n for (var i = 0; i < arr.length; i++) {\n var isFilterable = that.columnSettings.getMetadataColumnProperty(arr[i], \"filterable\", true);\n if (isFilterable && (deep.getAt(item, arr[i]) || \"\").toString().toLowerCase().indexOf(filter.toLowerCase()) >= 0) {\n return true;\n }\n }\n return false;\n });\n },\n\n defaultColumnFilter: function defaultColumnFilter(columnName, value, filter) {\n var filters = map(isArray(filter) ? filter : [filter], function (filter) {\n return (filter || '').toLowerCase();\n });\n return _some(deep.getObjectValues(value), function (value) {\n value = value.toString().toLowerCase();\n return _some(filters, function (filter) {\n return value.indexOf(filter) >= 0;\n });\n });\n },\n\n filterByColumnFilters: function filterByColumnFilters(columnFilters) {\n var filterFunction = this.props.columnFilterFunc || this.defaultColumnFilter;\n var filteredResults = Object.keys(columnFilters).reduce(function (previous, current) {\n return _filter(previous, function (item) {\n var value = deep.getAt(item, current || \"\");\n var filter = columnFilters[current];\n return filterFunction(current || '', value, filter);\n });\n }, this.props.results);\n\n var newState = {\n columnFilters: columnFilters\n };\n\n if (columnFilters) {\n newState.filteredResults = filteredResults;\n newState.maxPage = this.getMaxPage(newState.filteredResults);\n } else if (this.state.filter) {\n newState.filteredResults = this.props.useCustomFilterer ? this.props.customFilterer(this.props.results, filter) : this.defaultFilter(this.props.results, filter);\n } else {\n newState.filteredResults = null;\n }\n\n this.setState(newState);\n },\n\n filterByColumn: function filterByColumn(filter, column) {\n var columnFilters = this.state.columnFilters;\n\n //if filter is \"\" remove it from the columnFilters object\n if (columnFilters.hasOwnProperty(column) && !filter) {\n columnFilters = omit(columnFilters, column);\n } else {\n var newObject = {};\n newObject[column] = filter;\n columnFilters = extend({}, columnFilters, newObject);\n }\n\n this.filterByColumnFilters(columnFilters);\n },\n\n /* if we have a filter display the max page and results accordingly */\n setFilter: function setFilter(filter) {\n var updatedResults = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n\n if (this.props.useExternal) {\n this.props.externalSetFilter(filter);\n return;\n }\n\n var that = this,\n updatedState = {\n page: 0,\n filter: filter\n };\n\n // Obtain the state results.\n updatedState.filteredResults = this.props.useCustomFilterer ? this.props.customFilterer(updatedResults || this.props.results, filter) : this.defaultFilter(updatedResults || this.props.results, filter);\n\n // Update the max page.\n updatedState.maxPage = that.getMaxPage(updatedState.filteredResults);\n\n //if filter is null or undefined reset the filter.\n if (isUndefined(filter) || isNull(filter) || isEmpty(filter)) {\n updatedState.filter = filter;\n updatedState.filteredResults = null;\n }\n\n // Set the state.\n that.setState(updatedState);\n\n this._resetSelectedRows();\n },\n setPageSize: function setPageSize(size) {\n if (this.props.useExternal) {\n this.setState({\n resultsPerPage: size\n });\n this.props.externalSetPageSize(size);\n return;\n }\n //make this better.\n this.state.resultsPerPage = size;\n this.setMaxPage();\n },\n toggleColumnChooser: function toggleColumnChooser() {\n this.setState({\n showColumnChooser: !this.state.showColumnChooser\n });\n },\n isNullOrUndefined: function isNullOrUndefined(value) {\n return value === undefined || value === null;\n },\n shouldUseCustomRowComponent: function shouldUseCustomRowComponent() {\n return this.isNullOrUndefined(this.state.useCustomRowComponent) ? this.props.useCustomRowComponent : this.state.useCustomRowComponent;\n },\n shouldUseCustomGridComponent: function shouldUseCustomGridComponent() {\n return this.isNullOrUndefined(this.state.useCustomGridComponent) ? this.props.useCustomGridComponent : this.state.useCustomGridComponent;\n },\n toggleCustomComponent: function toggleCustomComponent() {\n if (this.state.customComponentType === \"grid\") {\n this.setState({\n useCustomGridComponent: !this.shouldUseCustomGridComponent()\n });\n } else if (this.state.customComponentType === \"row\") {\n this.setState({\n useCustomRowComponent: !this.shouldUseCustomRowComponent()\n });\n }\n },\n getMaxPage: function getMaxPage(results, totalResults) {\n if (this.props.useExternal) {\n return this.props.externalMaxPage;\n }\n\n if (!totalResults) {\n totalResults = (results || this.getCurrentResults()).length;\n }\n var maxPage = Math.ceil(totalResults / this.state.resultsPerPage);\n return maxPage;\n },\n setMaxPage: function setMaxPage(results) {\n var maxPage = this.getMaxPage(results);\n //re-render if we have new max page value\n if (this.state.maxPage !== maxPage) {\n this.setState({ page: 0, maxPage: maxPage, filteredColumns: this.columnSettings.filteredColumns });\n }\n },\n setPage: function setPage(number) {\n if (this.props.useExternal) {\n this.props.externalSetPage(number);\n return;\n }\n\n //check page size and move the filteredResults to pageSize * pageNumber\n if (number * this.state.resultsPerPage <= this.state.resultsPerPage * this.state.maxPage) {\n var that = this,\n state = {\n page: number\n };\n\n that.setState(state);\n }\n\n //When infinite scrolling is enabled, uncheck the \"select all\" checkbox, since more unchecked rows will be appended at the end\n if (this.props.enableInfiniteScroll) {\n this.setState({\n isSelectAllChecked: false\n });\n }\n },\n setColumns: function setColumns(columns) {\n this.columnSettings.filteredColumns = isArray(columns) ? columns : [columns];\n\n this.setState({\n filteredColumns: this.columnSettings.filteredColumns\n });\n },\n nextPage: function nextPage() {\n var currentPage = this.getCurrentPage();\n if (currentPage < this.getCurrentMaxPage() - 1) {\n this.setPage(currentPage + 1);\n }\n },\n previousPage: function previousPage() {\n var currentPage = this.getCurrentPage();\n if (currentPage > 0) {\n this.setPage(currentPage - 1);\n }\n },\n changeSort: function changeSort(column) {\n if (this.props.enableSort === false) {\n return;\n }\n\n if (this.props.useExternal) {\n var isAscending = this.props.externalSortColumn === column ? !this.props.externalSortAscending : true;\n this.setState({\n sortColumn: column,\n sortDirection: isAscending ? 'asc' : 'desc'\n });\n this.props.externalChangeSort(column, isAscending);\n return;\n }\n var columnMeta = find(this.props.columnMetadata, { columnName: column }) || {};\n var sortDirectionCycle = columnMeta.sortDirectionCycle ? columnMeta.sortDirectionCycle : [null, 'asc', 'desc'];\n var sortDirection = null;\n // Find the current position in the cycle (or -1).\n var i = sortDirectionCycle.indexOf(this.state.sortDirection && column === this.state.sortColumn ? this.state.sortDirection : null);\n\n // Proceed to the next position in the cycle (or start at the beginning).\n i = (i + 1) % sortDirectionCycle.length;\n\n if (sortDirectionCycle[i]) {\n sortDirection = sortDirectionCycle[i];\n } else {\n sortDirection = null;\n }\n\n var state = {\n page: 0,\n sortColumn: column,\n sortDirection: sortDirection\n };\n\n this.setState(state);\n },\n componentWillReceiveProps: function componentWillReceiveProps(nextProps) {\n // Check if results props changed\n if (nextProps.results !== this.props.results) {\n this.setFilter(this.state.filter, nextProps.results);\n }\n\n this.setMaxPage(nextProps.results);\n if (nextProps.resultsPerPage !== this.props.resultsPerPage) {\n this.setPageSize(nextProps.resultsPerPage);\n }\n //This will updaet the column Metadata\n this.columnSettings.columnMetadata = nextProps.columnMetadata;\n if (nextProps.results.length > 0) {\n var deepKeys = deep.keys(nextProps.results[0]);\n\n var is_same = this.columnSettings.allColumns.length == deepKeys.length && this.columnSettings.allColumns.every(function (element, index) {\n return element === deepKeys[index];\n });\n\n if (!is_same) {\n this.columnSettings.allColumns = deepKeys;\n }\n } else if (this.columnSettings.allColumns.length > 0) {\n this.columnSettings.allColumns = [];\n }\n\n if (nextProps.selectedRowIds) {\n var visibleRows = this.getDataForRender(this.getCurrentResults(nextProps.results), this.columnSettings.getColumns(), true);\n\n this.setState({\n isSelectAllChecked: this._getAreAllRowsChecked(nextProps.selectedRowIds, map(visibleRows, this.props.uniqueIdentifier)),\n selectedRowIds: nextProps.selectedRowIds\n });\n }\n },\n getInitialState: function getInitialState() {\n var state = {\n maxPage: 0,\n page: 0,\n filteredResults: null,\n filteredColumns: [],\n filter: \"\",\n //this sets the individual column filters\n columnFilters: {},\n resultsPerPage: this.props.resultsPerPage || 5,\n showColumnChooser: false,\n isSelectAllChecked: false,\n selectedRowIds: this.props.selectedRowIds\n };\n return state;\n },\n componentWillMount: function componentWillMount() {\n this.verifyExternal();\n this.verifyCustom();\n\n this.columnSettings = new ColumnProperties(this.props.results.length > 0 ? deep.keys(this.props.results[0]) : [], this.props.columns, this.props.childrenColumnName, this.props.columnMetadata, this.props.metadataColumns);\n\n this.rowSettings = new RowProperties(this.props.rowMetadata, this.props.useCustomTableRowComponent && this.props.customTableRowComponent ? this.props.customTableRowComponent : GridRow, this.props.useCustomTableRowComponent);\n\n if (this.props.initialSort) {\n // shouldn't change Sort on init for external\n if (this.props.useExternal) {\n this.setState({\n sortColumn: this.props.externalSortColumn,\n sortDirection: this.props.externalSortAscending ? 'asc' : 'desc'\n });\n } else {\n this.changeSort(this.props.initialSort);\n }\n }\n this.setMaxPage();\n\n //don't like the magic strings\n if (this.shouldUseCustomGridComponent()) {\n this.setState({\n customComponentType: \"grid\"\n });\n } else if (this.shouldUseCustomRowComponent()) {\n this.setState({\n customComponentType: \"row\"\n });\n } else {\n this.setState({\n filteredColumns: this.columnSettings.filteredColumns\n });\n }\n },\n componentDidMount: function componentDidMount() {\n if (this.props.componentDidMount && typeof this.props.componentDidMount === \"function\") {\n return this.props.componentDidMount();\n }\n },\n componentDidUpdate: function componentDidUpdate() {\n if (this.props.componentDidUpdate && typeof this.props.componentDidUpdate === \"function\") {\n return this.props.componentDidUpdate(this.state);\n }\n },\n //todo: clean these verify methods up\n verifyExternal: function verifyExternal() {\n if (this.props.useExternal === true) {\n //hooray for big ugly nested if\n if (this.props.externalSetPage === null) {\n console.error(\"useExternal is set to true but there is no externalSetPage function specified.\");\n }\n\n if (this.props.externalChangeSort === null) {\n console.error(\"useExternal is set to true but there is no externalChangeSort function specified.\");\n }\n\n if (this.props.externalSetFilter === null) {\n console.error(\"useExternal is set to true but there is no externalSetFilter function specified.\");\n }\n\n if (this.props.externalSetPageSize === null) {\n console.error(\"useExternal is set to true but there is no externalSetPageSize function specified.\");\n }\n\n if (this.props.externalMaxPage === null) {\n console.error(\"useExternal is set to true but externalMaxPage is not set.\");\n }\n\n if (this.props.externalCurrentPage === null) {\n console.error(\"useExternal is set to true but externalCurrentPage is not set. Griddle will not page correctly without that property when using external data.\");\n }\n }\n },\n //TODO: Do this with propTypes\n verifyCustom: function verifyCustom() {\n if (this.props.useCustomGridComponent === true && this.props.customGridComponent === null) {\n console.error(\"useCustomGridComponent is set to true but no custom component was specified.\");\n }\n if (this.props.useCustomRowComponent === true && this.props.customRowComponent === null) {\n console.error(\"useCustomRowComponent is set to true but no custom component was specified.\");\n }\n if (this.props.useCustomGridComponent === true && this.props.useCustomRowComponent === true) {\n console.error(\"Cannot currently use both customGridComponent and customRowComponent.\");\n }\n if (this.props.useCustomFilterer === true && this.props.customFilterer === null) {\n console.error(\"useCustomFilterer is set to true but no custom filter function was specified.\");\n }\n if (this.props.useCustomFilterComponent === true && this.props.customFilterComponent === null) {\n console.error(\"useCustomFilterComponent is set to true but no customFilterComponent was specified.\");\n }\n },\n getDataForRender: function getDataForRender(data, cols, pageList) {\n var _this = this;\n\n var that = this;\n\n if (!this.props.useExternal) {\n if (this.state.sortColumn !== \"\") {\n var column = this.state.sortColumn;\n var sortColumn = _filter(this.props.columnMetadata, { columnName: column });\n var customCompareFn;\n var multiSort = {\n columns: [],\n orders: []\n };\n\n if (sortColumn.length > 0) {\n customCompareFn = sortColumn[0].hasOwnProperty(\"customCompareFn\") && sortColumn[0][\"customCompareFn\"];\n if (sortColumn[0][\"multiSort\"]) {\n multiSort = sortColumn[0][\"multiSort\"];\n }\n }\n\n if (this.state.sortDirection) {\n if (typeof customCompareFn === 'function') {\n if (customCompareFn.length === 2) {\n data = data.sort(function (a, b) {\n return customCompareFn(_get(a, column), _get(b, column));\n });\n\n if (this.state.sortDirection === 'desc') {\n data.reverse();\n }\n } else if (customCompareFn.length === 1) {\n data = _orderBy(data, function (item) {\n return customCompareFn(_get(item, column));\n }, [this.state.sortDirection]);\n }\n } else {\n var iteratees = [function (row) {\n return (_get(row, column) || '').toString().toLowerCase();\n }];\n var orders = [this.state.sortDirection];\n multiSort.columns.forEach(function (col, i) {\n iteratees.push(function (row) {\n return (_get(row, col) || '').toString().toLowerCase();\n });\n if (multiSort.orders[i] === 'asc' || multiSort.orders[i] === 'desc') {\n orders.push(multiSort.orders[i]);\n } else {\n orders.push(_this.state.sortDirection);\n }\n });\n\n data = _orderBy(data, iteratees, orders);\n }\n }\n }\n\n var currentPage = this.getCurrentPage();\n\n if (!this.props.useExternal && pageList && this.state.resultsPerPage * (currentPage + 1) <= this.state.resultsPerPage * this.state.maxPage && currentPage >= 0) {\n if (this.isInfiniteScrollEnabled()) {\n // If we're doing infinite scroll, grab all results up to the current page.\n data = first(data, (currentPage + 1) * this.state.resultsPerPage);\n } else {\n //the 'rest' is grabbing the whole array from index on and the 'initial' is getting the first n results\n var rest = drop(data, currentPage * this.state.resultsPerPage);\n data = (dropRight || initial)(rest, rest.length - this.state.resultsPerPage);\n }\n }\n }\n\n var transformedData = [];\n\n for (var i = 0; i < data.length; i++) {\n var mappedData = data[i];\n\n if (typeof mappedData[that.props.childrenColumnName] !== \"undefined\" && mappedData[that.props.childrenColumnName].length > 0) {\n //internally we're going to use children instead of whatever it is so we don't have to pass the custom name around\n mappedData[\"children\"] = that.getDataForRender(mappedData[that.props.childrenColumnName], cols, false);\n\n if (that.props.childrenColumnName !== \"children\") {\n delete mappedData[that.props.childrenColumnName];\n }\n }\n\n transformedData.push(mappedData);\n }\n return transformedData;\n },\n getCurrentResults: function getCurrentResults(results) {\n return this.state.filteredResults || results || this.props.results;\n },\n getCurrentPage: function getCurrentPage() {\n return this.props.externalCurrentPage || this.state.page;\n },\n getCurrentSort: function getCurrentSort() {\n return this.props.useExternal ? this.props.externalSortColumn : this.state.sortColumn;\n },\n getCurrentSortAscending: function getCurrentSortAscending() {\n return this.props.useExternal ? this.props.externalSortAscending : this.state.sortDirection === 'asc';\n },\n getCurrentMaxPage: function getCurrentMaxPage() {\n return this.props.useExternal ? this.props.externalMaxPage : this.state.maxPage;\n },\n //This takes the props relating to sort and puts them in one object\n getSortObject: function getSortObject() {\n return {\n enableSort: this.props.enableSort,\n changeSort: this.changeSort,\n sortColumn: this.getCurrentSort(),\n sortAscending: this.getCurrentSortAscending(),\n sortDirection: this.state.sortDirection,\n sortAscendingClassName: this.props.sortAscendingClassName,\n sortDescendingClassName: this.props.sortDescendingClassName,\n sortAscendingComponent: this.props.sortAscendingComponent,\n sortDescendingComponent: this.props.sortDescendingComponent,\n sortDefaultComponent: this.props.sortDefaultComponent\n };\n },\n _toggleSelectAll: function _toggleSelectAll() {\n var visibleRows = this.getDataForRender(this.getCurrentResults(), this.columnSettings.getColumns(), true),\n newIsSelectAllChecked = !this.state.isSelectAllChecked,\n newSelectedRowIds = JSON.parse(JSON.stringify(this.state.selectedRowIds));\n\n var self = this;\n forEach(visibleRows, function (row) {\n self._updateSelectedRowIds(row[self.props.uniqueIdentifier], newSelectedRowIds, newIsSelectAllChecked);\n }, this);\n\n this.setState({\n isSelectAllChecked: newIsSelectAllChecked,\n selectedRowIds: newSelectedRowIds\n });\n\n if (this.props.onSelectionChange) {\n this.props.onSelectionChange(newSelectedRowIds, newIsSelectAllChecked);\n }\n },\n _toggleSelectRow: function _toggleSelectRow(row, isChecked) {\n var visibleRows = this.getDataForRender(this.getCurrentResults(), this.columnSettings.getColumns(), true),\n newSelectedRowIds = JSON.parse(JSON.stringify(this.state.selectedRowIds));\n\n this._updateSelectedRowIds(row[this.props.uniqueIdentifier], newSelectedRowIds, isChecked);\n\n var newIsSelectAllChecked = this._getAreAllRowsChecked(newSelectedRowIds, map(visibleRows, this.props.uniqueIdentifier));\n\n this.setState({\n isSelectAllChecked: newIsSelectAllChecked,\n selectedRowIds: newSelectedRowIds\n });\n\n if (this.props.onSelectionChange) {\n this.props.onSelectionChange(newSelectedRowIds, newIsSelectAllChecked);\n }\n },\n _updateSelectedRowIds: function _updateSelectedRowIds(id, selectedRowIds, isChecked) {\n\n var isFound;\n\n if (isChecked) {\n isFound = find(selectedRowIds, function (item) {\n return id === item;\n });\n\n if (isFound === undefined) {\n selectedRowIds.push(id);\n }\n } else {\n selectedRowIds.splice(selectedRowIds.indexOf(id), 1);\n }\n },\n _getIsSelectAllChecked: function _getIsSelectAllChecked() {\n\n return this.state.isSelectAllChecked;\n },\n _getAreAllRowsChecked: function _getAreAllRowsChecked(selectedRowIds, visibleRowIds) {\n\n return visibleRowIds.length === intersection(visibleRowIds, selectedRowIds).length;\n },\n _getIsRowChecked: function _getIsRowChecked(row) {\n\n return this.state.selectedRowIds.indexOf(row[this.props.uniqueIdentifier]) > -1 ? true : false;\n },\n getSelectedRowIds: function getSelectedRowIds() {\n\n return this.state.selectedRowIds;\n },\n _resetSelectedRows: function _resetSelectedRows() {\n\n this.setState({\n isSelectAllChecked: false,\n selectedRowIds: []\n });\n },\n //This takes the props relating to multiple selection and puts them in one object\n getMultipleSelectionObject: function getMultipleSelectionObject() {\n\n return {\n isMultipleSelection: find(this.props.results, function (result) {\n return 'children' in result;\n }) ? false : this.props.isMultipleSelection, //does not support subgrids\n toggleSelectAll: this._toggleSelectAll,\n getIsSelectAllChecked: this._getIsSelectAllChecked,\n toggleSelectRow: this._toggleSelectRow,\n getSelectedRowIds: this.getSelectedRowIds,\n getIsRowChecked: this._getIsRowChecked\n };\n },\n isInfiniteScrollEnabled: function isInfiniteScrollEnabled() {\n // If a custom pager is included, don't allow for infinite scrolling.\n if (this.props.useCustomPagerComponent) {\n return false;\n }\n\n // Otherwise, send back the property.\n return this.props.enableInfiniteScroll;\n },\n getClearFixStyles: function getClearFixStyles() {\n return {\n clear: \"both\",\n display: \"table\",\n width: \"100%\"\n };\n },\n getSettingsStyles: function getSettingsStyles() {\n return {\n \"float\": \"left\",\n width: \"50%\",\n textAlign: \"right\"\n };\n },\n getFilterStyles: function getFilterStyles() {\n return {\n \"float\": \"left\",\n width: \"50%\",\n textAlign: \"left\",\n color: \"#222\",\n minHeight: \"1px\"\n };\n },\n getFilter: function getFilter() {\n return this.props.showFilter && this.shouldUseCustomGridComponent() === false ? this.props.useCustomFilterComponent ? React.createElement(CustomFilterContainer, { changeFilter: this.setFilter, placeholderText: this.props.filterPlaceholderText, customFilterComponent: this.props.customFilterComponent, results: this.props.results, currentResults: this.getCurrentResults() }) : React.createElement(GridFilter, { changeFilter: this.setFilter, placeholderText: this.props.filterPlaceholderText }) : \"\";\n },\n getSettings: function getSettings() {\n return this.props.showSettings ? React.createElement('button', { type: 'button', className: this.props.settingsToggleClassName, onClick: this.toggleColumnChooser,\n style: this.props.useGriddleStyles ? { background: \"none\", border: \"none\", padding: 0, margin: 0, fontSize: 14 } : null }, this.props.settingsText, this.props.settingsIconComponent) : \"\";\n },\n getTopSection: function getTopSection(filter, settings) {\n if (this.props.showFilter === false && this.props.showSettings === false) {\n return \"\";\n }\n\n var filterStyles = null,\n settingsStyles = null,\n topContainerStyles = null;\n\n if (this.props.useGriddleStyles) {\n filterStyles = this.getFilterStyles();\n settingsStyles = this.getSettingsStyles();\n\n topContainerStyles = this.getClearFixStyles();\n }\n\n return React.createElement('div', { className: 'top-section', style: topContainerStyles }, React.createElement('div', { className: 'griddle-filter', style: filterStyles }, filter), React.createElement('div', { className: 'griddle-settings-toggle', style: settingsStyles }, settings));\n },\n getPagingSection: function getPagingSection(currentPage, maxPage) {\n if ((this.props.showPager && !this.isInfiniteScrollEnabled() && !this.shouldUseCustomGridComponent()) === false) {\n return undefined;\n }\n\n return React.createElement('div', { className: 'griddle-footer' }, this.props.useCustomPagerComponent ? React.createElement(CustomPaginationContainer, { customPagerComponentOptions: this.props.customPagerComponentOptions, next: this.nextPage, previous: this.previousPage, currentPage: currentPage, maxPage: maxPage, setPage: this.setPage, nextText: this.props.nextText, previousText: this.props.previousText, customPagerComponent: this.props.customPagerComponent }) : React.createElement(GridPagination, { useGriddleStyles: this.props.useGriddleStyles, next: this.nextPage, previous: this.previousPage, nextClassName: this.props.nextClassName, nextIconComponent: this.props.nextIconComponent, previousClassName: this.props.previousClassName, previousIconComponent: this.props.previousIconComponent, currentPage: currentPage, maxPage: maxPage, setPage: this.setPage, nextText: this.props.nextText, previousText: this.props.previousText }));\n },\n getColumnSelectorSection: function getColumnSelectorSection(keys, cols) {\n return this.state.showColumnChooser ? React.createElement(GridSettings, { columns: keys, selectedColumns: cols, setColumns: this.setColumns, settingsText: this.props.settingsText,\n settingsIconComponent: this.props.settingsIconComponent, maxRowsText: this.props.maxRowsText, setPageSize: this.setPageSize,\n showSetPageSize: !this.shouldUseCustomGridComponent(), resultsPerPage: this.state.resultsPerPage, enableToggleCustom: this.props.enableToggleCustom,\n toggleCustomComponent: this.toggleCustomComponent, useCustomComponent: this.shouldUseCustomRowComponent() || this.shouldUseCustomGridComponent(),\n useGriddleStyles: this.props.useGriddleStyles, enableCustomFormatText: this.props.enableCustomFormatText, columnMetadata: this.props.columnMetadata }) : \"\";\n },\n getCustomGridSection: function getCustomGridSection() {\n return React.createElement(this.props.customGridComponent, _extends({ data: this.props.results, className: this.props.customGridComponentClassName }, this.props.gridMetadata));\n },\n getCustomRowSection: function getCustomRowSection(data, cols, meta, pagingContent, globalData) {\n return React.createElement('div', null, React.createElement(CustomRowComponentContainer, { data: data, columns: cols, metadataColumns: meta, globalData: globalData,\n className: this.props.customRowComponentClassName, customComponent: this.props.customRowComponent,\n style: this.props.useGriddleStyles ? this.getClearFixStyles() : null }), this.props.showPager && pagingContent);\n },\n getStandardGridSection: function getStandardGridSection(data, cols, meta, pagingContent, hasMorePages) {\n var sortProperties = this.getSortObject();\n var multipleSelectionProperties = this.getMultipleSelectionObject();\n\n // no data section\n var showNoData = this.shouldShowNoDataSection(data);\n var noDataSection = this.getNoDataSection();\n\n return React.createElement('div', { className: 'griddle-body' }, React.createElement(GridTable, { useGriddleStyles: this.props.useGriddleStyles,\n noDataSection: noDataSection,\n showNoData: showNoData,\n columnSettings: this.columnSettings,\n rowSettings: this.rowSettings,\n sortSettings: sortProperties,\n multipleSelectionSettings: multipleSelectionProperties,\n filterByColumn: this.filterByColumn,\n isSubGriddle: this.props.isSubGriddle,\n useGriddleIcons: this.props.useGriddleIcons,\n useFixedLayout: this.props.useFixedLayout,\n showPager: this.props.showPager,\n pagingContent: pagingContent,\n data: data,\n className: this.props.tableClassName,\n enableInfiniteScroll: this.isInfiniteScrollEnabled(),\n nextPage: this.nextPage,\n showTableHeading: this.props.showTableHeading,\n useFixedHeader: this.props.useFixedHeader,\n parentRowCollapsedClassName: this.props.parentRowCollapsedClassName,\n parentRowExpandedClassName: this.props.parentRowExpandedClassName,\n parentRowCollapsedComponent: this.props.parentRowCollapsedComponent,\n parentRowExpandedComponent: this.props.parentRowExpandedComponent,\n bodyHeight: this.props.bodyHeight,\n paddingHeight: this.props.paddingHeight,\n rowHeight: this.props.rowHeight,\n infiniteScrollLoadTreshold: this.props.infiniteScrollLoadTreshold,\n externalLoadingComponent: this.props.externalLoadingComponent,\n externalIsLoading: this.props.externalIsLoading,\n hasMorePages: hasMorePages,\n onRowClick: this.props.onRowClick,\n onRowMouseEnter: this.props.onRowMouseEnter,\n onRowMouseLeave: this.props.onRowMouseLeave,\n onRowWillMount: this.props.onRowWillMount,\n onRowWillUnmount: this.props.onRowWillUnmount }));\n },\n getContentSection: function getContentSection(data, cols, meta, pagingContent, hasMorePages, globalData) {\n if (this.shouldUseCustomGridComponent() && this.props.customGridComponent !== null) {\n return this.getCustomGridSection();\n } else if (this.shouldUseCustomRowComponent()) {\n return this.getCustomRowSection(data, cols, meta, pagingContent, globalData);\n } else {\n return this.getStandardGridSection(data, cols, meta, pagingContent, hasMorePages);\n }\n },\n getNoDataSection: function getNoDataSection() {\n if (this.props.customNoDataComponent != null) {\n return React.createElement('div', { className: this.props.noDataClassName }, React.createElement(this.props.customNoDataComponent, this.props.customNoDataComponentProps));\n }\n return React.createElement(GridNoData, { noDataMessage: this.props.noDataMessage });\n },\n shouldShowNoDataSection: function shouldShowNoDataSection(results) {\n if (this.props.allowEmptyGrid) {\n return false;\n }\n\n return this.props.useExternal === false && (typeof results === 'undefined' || results.length === 0) || this.props.useExternal === true && this.props.externalIsLoading === false && results.length === 0;\n },\n render: function render() {\n var that = this,\n results = this.getCurrentResults(); // Attempt to assign to the filtered results, if we have any.\n\n var headerTableClassName = this.props.tableClassName + \" table-header\";\n\n //figure out if we want to show the filter section\n var filter = this.getFilter();\n var settings = this.getSettings();\n\n //if we have neither filter or settings don't need to render this stuff\n var topSection = this.getTopSection(filter, settings);\n\n var keys = [];\n var cols = this.columnSettings.getColumns();\n //figure out which columns are displayed and show only those\n var data = this.getDataForRender(results, cols, true);\n\n var meta = this.columnSettings.getMetadataColumns();\n\n if (this.props.columnMetadata) {\n // Get column keys from column metadata\n forEach(this.props.columnMetadata, function (meta) {\n if (!(typeof meta.visible === 'boolean' && meta.visible === false)) {\n keys.push(meta.columnName);\n }\n });\n } else {\n // Grab the column keys from the first results\n keys = deep.keys(omit(results[0], meta));\n }\n\n // sort keys by order\n keys = this.columnSettings.orderColumns(keys);\n\n // Grab the current and max page values.\n var currentPage = this.getCurrentPage();\n var maxPage = this.getCurrentMaxPage();\n\n // Determine if we need to enable infinite scrolling on the table.\n var hasMorePages = currentPage + 1 < maxPage;\n\n // Grab the paging content if it's to be displayed\n var pagingContent = this.getPagingSection(currentPage, maxPage);\n\n var resultContent = this.getContentSection(data, cols, meta, pagingContent, hasMorePages, this.props.globalData);\n\n var columnSelector = this.getColumnSelectorSection(keys, cols);\n\n var gridClassName = this.props.gridClassName.length > 0 ? \"griddle \" + this.props.gridClassName : \"griddle\";\n //add custom to the class name so we can style it differently\n gridClassName += this.shouldUseCustomRowComponent() ? \" griddle-custom\" : \"\";\n\n return React.createElement('div', { className: gridClassName }, topSection, columnSelector, React.createElement('div', { className: 'griddle-container', style: this.props.useGriddleStyles && !this.props.isSubGriddle ? { border: \"1px solid #DDD\" } : null }, resultContent));\n }\n});\n\nGridRowContainer.Griddle = module.exports = Griddle;\n\n\n/***/ }),\n\n/***/ \"./node_modules/griddle-react/modules/rowProperties.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\nvar _uniqueId = __webpack_require__(\"./node_modules/lodash/uniqueId.js\");\n\nvar RowProperties = (function () {\n function RowProperties() {\n var rowMetadata = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n var rowComponent = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n var isCustom = arguments.length <= 2 || arguments[2] === undefined ? false : arguments[2];\n\n _classCallCheck(this, RowProperties);\n\n this.rowMetadata = rowMetadata;\n this.rowComponent = rowComponent;\n this.isCustom = isCustom;\n // assign unique Id to each griddle instance\n }\n\n _createClass(RowProperties, [{\n key: 'getRowKey',\n value: function getRowKey(row, key) {\n var uniqueId;\n\n if (this.hasRowMetadataKey()) {\n uniqueId = row[this.rowMetadata.key];\n } else {\n uniqueId = _uniqueId(\"grid_row\");\n }\n\n //todo: add error handling\n\n return uniqueId;\n }\n }, {\n key: 'hasRowMetadataKey',\n value: function hasRowMetadataKey() {\n return this.hasRowMetadata() && this.rowMetadata.key !== null && this.rowMetadata.key !== undefined;\n }\n }, {\n key: 'getBodyRowMetadataClass',\n value: function getBodyRowMetadataClass(rowData) {\n if (this.hasRowMetadata() && this.rowMetadata.bodyCssClassName !== null && this.rowMetadata.bodyCssClassName !== undefined) {\n if (typeof this.rowMetadata.bodyCssClassName === 'function') {\n return this.rowMetadata.bodyCssClassName(rowData);\n } else {\n return this.rowMetadata.bodyCssClassName;\n }\n }\n return null;\n }\n }, {\n key: 'getHeaderRowMetadataClass',\n value: function getHeaderRowMetadataClass() {\n return this.hasRowMetadata() && this.rowMetadata.headerCssClassName !== null && this.rowMetadata.headerCssClassName !== undefined ? this.rowMetadata.headerCssClassName : null;\n }\n }, {\n key: 'hasRowMetadata',\n value: function hasRowMetadata() {\n return this.rowMetadata !== null;\n }\n }]);\n\n return RowProperties;\n})();\n\nmodule.exports = RowProperties;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_DataView.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getNative = __webpack_require__(\"./node_modules/lodash/_getNative.js\"),\n root = __webpack_require__(\"./node_modules/lodash/_root.js\");\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_Hash.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar hashClear = __webpack_require__(\"./node_modules/lodash/_hashClear.js\"),\n hashDelete = __webpack_require__(\"./node_modules/lodash/_hashDelete.js\"),\n hashGet = __webpack_require__(\"./node_modules/lodash/_hashGet.js\"),\n hashHas = __webpack_require__(\"./node_modules/lodash/_hashHas.js\"),\n hashSet = __webpack_require__(\"./node_modules/lodash/_hashSet.js\");\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction 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// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_ListCache.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar listCacheClear = __webpack_require__(\"./node_modules/lodash/_listCacheClear.js\"),\n listCacheDelete = __webpack_require__(\"./node_modules/lodash/_listCacheDelete.js\"),\n listCacheGet = __webpack_require__(\"./node_modules/lodash/_listCacheGet.js\"),\n listCacheHas = __webpack_require__(\"./node_modules/lodash/_listCacheHas.js\"),\n listCacheSet = __webpack_require__(\"./node_modules/lodash/_listCacheSet.js\");\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction 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// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_Map.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getNative = __webpack_require__(\"./node_modules/lodash/_getNative.js\"),\n root = __webpack_require__(\"./node_modules/lodash/_root.js\");\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_MapCache.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar mapCacheClear = __webpack_require__(\"./node_modules/lodash/_mapCacheClear.js\"),\n mapCacheDelete = __webpack_require__(\"./node_modules/lodash/_mapCacheDelete.js\"),\n mapCacheGet = __webpack_require__(\"./node_modules/lodash/_mapCacheGet.js\"),\n mapCacheHas = __webpack_require__(\"./node_modules/lodash/_mapCacheHas.js\"),\n mapCacheSet = __webpack_require__(\"./node_modules/lodash/_mapCacheSet.js\");\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 */\nfunction 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// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_Promise.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getNative = __webpack_require__(\"./node_modules/lodash/_getNative.js\"),\n root = __webpack_require__(\"./node_modules/lodash/_root.js\");\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_Set.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getNative = __webpack_require__(\"./node_modules/lodash/_getNative.js\"),\n root = __webpack_require__(\"./node_modules/lodash/_root.js\");\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_SetCache.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar MapCache = __webpack_require__(\"./node_modules/lodash/_MapCache.js\"),\n setCacheAdd = __webpack_require__(\"./node_modules/lodash/_setCacheAdd.js\"),\n setCacheHas = __webpack_require__(\"./node_modules/lodash/_setCacheHas.js\");\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 */\nfunction 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// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_Stack.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar ListCache = __webpack_require__(\"./node_modules/lodash/_ListCache.js\"),\n stackClear = __webpack_require__(\"./node_modules/lodash/_stackClear.js\"),\n stackDelete = __webpack_require__(\"./node_modules/lodash/_stackDelete.js\"),\n stackGet = __webpack_require__(\"./node_modules/lodash/_stackGet.js\"),\n stackHas = __webpack_require__(\"./node_modules/lodash/_stackHas.js\"),\n stackSet = __webpack_require__(\"./node_modules/lodash/_stackSet.js\");\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 */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_Symbol.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar root = __webpack_require__(\"./node_modules/lodash/_root.js\");\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_Uint8Array.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar root = __webpack_require__(\"./node_modules/lodash/_root.js\");\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_WeakMap.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getNative = __webpack_require__(\"./node_modules/lodash/_getNative.js\"),\n root = __webpack_require__(\"./node_modules/lodash/_root.js\");\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_apply.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = apply;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_arrayEach.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = arrayEach;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_arrayFilter.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = arrayFilter;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_arrayIncludes.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseIndexOf = __webpack_require__(\"./node_modules/lodash/_baseIndexOf.js\");\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 */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_arrayIncludesWith.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = arrayIncludesWith;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_arrayLikeKeys.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseTimes = __webpack_require__(\"./node_modules/lodash/_baseTimes.js\"),\n isArguments = __webpack_require__(\"./node_modules/lodash/isArguments.js\"),\n isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\"),\n isBuffer = __webpack_require__(\"./node_modules/lodash/isBuffer.js\"),\n isIndex = __webpack_require__(\"./node_modules/lodash/_isIndex.js\"),\n isTypedArray = __webpack_require__(\"./node_modules/lodash/isTypedArray.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = arrayLikeKeys;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_arrayMap.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = arrayMap;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_arrayPush.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = arrayPush;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_arraySome.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = arraySome;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_assignValue.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseAssignValue = __webpack_require__(\"./node_modules/lodash/_baseAssignValue.js\"),\n eq = __webpack_require__(\"./node_modules/lodash/eq.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = assignValue;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_assocIndexOf.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar eq = __webpack_require__(\"./node_modules/lodash/eq.js\");\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 */\nfunction 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\nmodule.exports = assocIndexOf;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseAssign.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar copyObject = __webpack_require__(\"./node_modules/lodash/_copyObject.js\"),\n keys = __webpack_require__(\"./node_modules/lodash/keys.js\");\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 */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseAssignIn.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar copyObject = __webpack_require__(\"./node_modules/lodash/_copyObject.js\"),\n keysIn = __webpack_require__(\"./node_modules/lodash/keysIn.js\");\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 */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseAssignValue.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar defineProperty = __webpack_require__(\"./node_modules/lodash/_defineProperty.js\");\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 */\nfunction 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\nmodule.exports = baseAssignValue;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseClone.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Stack = __webpack_require__(\"./node_modules/lodash/_Stack.js\"),\n arrayEach = __webpack_require__(\"./node_modules/lodash/_arrayEach.js\"),\n assignValue = __webpack_require__(\"./node_modules/lodash/_assignValue.js\"),\n baseAssign = __webpack_require__(\"./node_modules/lodash/_baseAssign.js\"),\n baseAssignIn = __webpack_require__(\"./node_modules/lodash/_baseAssignIn.js\"),\n cloneBuffer = __webpack_require__(\"./node_modules/lodash/_cloneBuffer.js\"),\n copyArray = __webpack_require__(\"./node_modules/lodash/_copyArray.js\"),\n copySymbols = __webpack_require__(\"./node_modules/lodash/_copySymbols.js\"),\n copySymbolsIn = __webpack_require__(\"./node_modules/lodash/_copySymbolsIn.js\"),\n getAllKeys = __webpack_require__(\"./node_modules/lodash/_getAllKeys.js\"),\n getAllKeysIn = __webpack_require__(\"./node_modules/lodash/_getAllKeysIn.js\"),\n getTag = __webpack_require__(\"./node_modules/lodash/_getTag.js\"),\n initCloneArray = __webpack_require__(\"./node_modules/lodash/_initCloneArray.js\"),\n initCloneByTag = __webpack_require__(\"./node_modules/lodash/_initCloneByTag.js\"),\n initCloneObject = __webpack_require__(\"./node_modules/lodash/_initCloneObject.js\"),\n isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\"),\n isBuffer = __webpack_require__(\"./node_modules/lodash/isBuffer.js\"),\n isMap = __webpack_require__(\"./node_modules/lodash/isMap.js\"),\n isObject = __webpack_require__(\"./node_modules/lodash/isObject.js\"),\n isSet = __webpack_require__(\"./node_modules/lodash/isSet.js\"),\n keys = __webpack_require__(\"./node_modules/lodash/keys.js\");\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar 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 identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\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 */\nfunction 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 } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\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\nmodule.exports = baseClone;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseCreate.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(\"./node_modules/lodash/isObject.js\");\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\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 */\nvar 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\nmodule.exports = baseCreate;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseDifference.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar SetCache = __webpack_require__(\"./node_modules/lodash/_SetCache.js\"),\n arrayIncludes = __webpack_require__(\"./node_modules/lodash/_arrayIncludes.js\"),\n arrayIncludesWith = __webpack_require__(\"./node_modules/lodash/_arrayIncludesWith.js\"),\n arrayMap = __webpack_require__(\"./node_modules/lodash/_arrayMap.js\"),\n baseUnary = __webpack_require__(\"./node_modules/lodash/_baseUnary.js\"),\n cacheHas = __webpack_require__(\"./node_modules/lodash/_cacheHas.js\");\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\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 */\nfunction 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\nmodule.exports = baseDifference;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseEach.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseForOwn = __webpack_require__(\"./node_modules/lodash/_baseForOwn.js\"),\n createBaseEach = __webpack_require__(\"./node_modules/lodash/_createBaseEach.js\");\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 */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseFilter.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseEach = __webpack_require__(\"./node_modules/lodash/_baseEach.js\");\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 */\nfunction 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\nmodule.exports = baseFilter;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseFindIndex.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = baseFindIndex;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseFlatten.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar arrayPush = __webpack_require__(\"./node_modules/lodash/_arrayPush.js\"),\n isFlattenable = __webpack_require__(\"./node_modules/lodash/_isFlattenable.js\");\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 */\nfunction 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\nmodule.exports = baseFlatten;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseFor.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar createBaseFor = __webpack_require__(\"./node_modules/lodash/_createBaseFor.js\");\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 */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseForOwn.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseFor = __webpack_require__(\"./node_modules/lodash/_baseFor.js\"),\n keys = __webpack_require__(\"./node_modules/lodash/keys.js\");\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 */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseGet.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar castPath = __webpack_require__(\"./node_modules/lodash/_castPath.js\"),\n toKey = __webpack_require__(\"./node_modules/lodash/_toKey.js\");\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 */\nfunction 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\nmodule.exports = baseGet;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseGetAllKeys.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar arrayPush = __webpack_require__(\"./node_modules/lodash/_arrayPush.js\"),\n isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\");\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 */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseGetTag.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Symbol = __webpack_require__(\"./node_modules/lodash/_Symbol.js\"),\n getRawTag = __webpack_require__(\"./node_modules/lodash/_getRawTag.js\"),\n objectToString = __webpack_require__(\"./node_modules/lodash/_objectToString.js\");\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\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 */\nfunction 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\nmodule.exports = baseGetTag;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseHasIn.js\":\n/***/ (function(module, exports) {\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 */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseIndexOf.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseFindIndex = __webpack_require__(\"./node_modules/lodash/_baseFindIndex.js\"),\n baseIsNaN = __webpack_require__(\"./node_modules/lodash/_baseIsNaN.js\"),\n strictIndexOf = __webpack_require__(\"./node_modules/lodash/_strictIndexOf.js\");\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 */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseIntersection.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar SetCache = __webpack_require__(\"./node_modules/lodash/_SetCache.js\"),\n arrayIncludes = __webpack_require__(\"./node_modules/lodash/_arrayIncludes.js\"),\n arrayIncludesWith = __webpack_require__(\"./node_modules/lodash/_arrayIncludesWith.js\"),\n arrayMap = __webpack_require__(\"./node_modules/lodash/_arrayMap.js\"),\n baseUnary = __webpack_require__(\"./node_modules/lodash/_baseUnary.js\"),\n cacheHas = __webpack_require__(\"./node_modules/lodash/_cacheHas.js\");\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMin = Math.min;\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 */\nfunction 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\nmodule.exports = baseIntersection;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseIsArguments.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseGetTag = __webpack_require__(\"./node_modules/lodash/_baseGetTag.js\"),\n isObjectLike = __webpack_require__(\"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\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 */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseIsEqual.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseIsEqualDeep = __webpack_require__(\"./node_modules/lodash/_baseIsEqualDeep.js\"),\n isObjectLike = __webpack_require__(\"./node_modules/lodash/isObjectLike.js\");\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 */\nfunction 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\nmodule.exports = baseIsEqual;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseIsEqualDeep.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Stack = __webpack_require__(\"./node_modules/lodash/_Stack.js\"),\n equalArrays = __webpack_require__(\"./node_modules/lodash/_equalArrays.js\"),\n equalByTag = __webpack_require__(\"./node_modules/lodash/_equalByTag.js\"),\n equalObjects = __webpack_require__(\"./node_modules/lodash/_equalObjects.js\"),\n getTag = __webpack_require__(\"./node_modules/lodash/_getTag.js\"),\n isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\"),\n isBuffer = __webpack_require__(\"./node_modules/lodash/isBuffer.js\"),\n isTypedArray = __webpack_require__(\"./node_modules/lodash/isTypedArray.js\");\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = baseIsEqualDeep;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseIsMap.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getTag = __webpack_require__(\"./node_modules/lodash/_getTag.js\"),\n isObjectLike = __webpack_require__(\"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\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 */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseIsMatch.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Stack = __webpack_require__(\"./node_modules/lodash/_Stack.js\"),\n baseIsEqual = __webpack_require__(\"./node_modules/lodash/_baseIsEqual.js\");\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\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 */\nfunction 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\nmodule.exports = baseIsMatch;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseIsNaN.js\":\n/***/ (function(module, exports) {\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 */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseIsNative.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isFunction = __webpack_require__(\"./node_modules/lodash/isFunction.js\"),\n isMasked = __webpack_require__(\"./node_modules/lodash/_isMasked.js\"),\n isObject = __webpack_require__(\"./node_modules/lodash/isObject.js\"),\n toSource = __webpack_require__(\"./node_modules/lodash/_toSource.js\");\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\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 */\nfunction 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\nmodule.exports = baseIsNative;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseIsSet.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getTag = __webpack_require__(\"./node_modules/lodash/_getTag.js\"),\n isObjectLike = __webpack_require__(\"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\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 */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseIsTypedArray.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseGetTag = __webpack_require__(\"./node_modules/lodash/_baseGetTag.js\"),\n isLength = __webpack_require__(\"./node_modules/lodash/isLength.js\"),\n isObjectLike = __webpack_require__(\"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar 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 identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\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 */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseIteratee.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseMatches = __webpack_require__(\"./node_modules/lodash/_baseMatches.js\"),\n baseMatchesProperty = __webpack_require__(\"./node_modules/lodash/_baseMatchesProperty.js\"),\n identity = __webpack_require__(\"./node_modules/lodash/identity.js\"),\n isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\"),\n property = __webpack_require__(\"./node_modules/lodash/property.js\");\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 */\nfunction 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\nmodule.exports = baseIteratee;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseKeys.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isPrototype = __webpack_require__(\"./node_modules/lodash/_isPrototype.js\"),\n nativeKeys = __webpack_require__(\"./node_modules/lodash/_nativeKeys.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = baseKeys;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseKeysIn.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(\"./node_modules/lodash/isObject.js\"),\n isPrototype = __webpack_require__(\"./node_modules/lodash/_isPrototype.js\"),\n nativeKeysIn = __webpack_require__(\"./node_modules/lodash/_nativeKeysIn.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = baseKeysIn;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseMap.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseEach = __webpack_require__(\"./node_modules/lodash/_baseEach.js\"),\n isArrayLike = __webpack_require__(\"./node_modules/lodash/isArrayLike.js\");\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 */\nfunction 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\nmodule.exports = baseMap;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseMatches.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseIsMatch = __webpack_require__(\"./node_modules/lodash/_baseIsMatch.js\"),\n getMatchData = __webpack_require__(\"./node_modules/lodash/_getMatchData.js\"),\n matchesStrictComparable = __webpack_require__(\"./node_modules/lodash/_matchesStrictComparable.js\");\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 */\nfunction 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\nmodule.exports = baseMatches;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseMatchesProperty.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseIsEqual = __webpack_require__(\"./node_modules/lodash/_baseIsEqual.js\"),\n get = __webpack_require__(\"./node_modules/lodash/get.js\"),\n hasIn = __webpack_require__(\"./node_modules/lodash/hasIn.js\"),\n isKey = __webpack_require__(\"./node_modules/lodash/_isKey.js\"),\n isStrictComparable = __webpack_require__(\"./node_modules/lodash/_isStrictComparable.js\"),\n matchesStrictComparable = __webpack_require__(\"./node_modules/lodash/_matchesStrictComparable.js\"),\n toKey = __webpack_require__(\"./node_modules/lodash/_toKey.js\");\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\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 */\nfunction 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\nmodule.exports = baseMatchesProperty;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseOrderBy.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar arrayMap = __webpack_require__(\"./node_modules/lodash/_arrayMap.js\"),\n baseIteratee = __webpack_require__(\"./node_modules/lodash/_baseIteratee.js\"),\n baseMap = __webpack_require__(\"./node_modules/lodash/_baseMap.js\"),\n baseSortBy = __webpack_require__(\"./node_modules/lodash/_baseSortBy.js\"),\n baseUnary = __webpack_require__(\"./node_modules/lodash/_baseUnary.js\"),\n compareMultiple = __webpack_require__(\"./node_modules/lodash/_compareMultiple.js\"),\n identity = __webpack_require__(\"./node_modules/lodash/identity.js\");\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 */\nfunction baseOrderBy(collection, iteratees, orders) {\n var index = -1;\n iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(baseIteratee));\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\nmodule.exports = baseOrderBy;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_basePick.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar basePickBy = __webpack_require__(\"./node_modules/lodash/_basePickBy.js\"),\n hasIn = __webpack_require__(\"./node_modules/lodash/hasIn.js\");\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 */\nfunction basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n}\n\nmodule.exports = basePick;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_basePickBy.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseGet = __webpack_require__(\"./node_modules/lodash/_baseGet.js\"),\n baseSet = __webpack_require__(\"./node_modules/lodash/_baseSet.js\"),\n castPath = __webpack_require__(\"./node_modules/lodash/_castPath.js\");\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 */\nfunction 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\nmodule.exports = basePickBy;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseProperty.js\":\n/***/ (function(module, exports) {\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 */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_basePropertyDeep.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseGet = __webpack_require__(\"./node_modules/lodash/_baseGet.js\");\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 */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseRest.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar identity = __webpack_require__(\"./node_modules/lodash/identity.js\"),\n overRest = __webpack_require__(\"./node_modules/lodash/_overRest.js\"),\n setToString = __webpack_require__(\"./node_modules/lodash/_setToString.js\");\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 */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseSet.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar assignValue = __webpack_require__(\"./node_modules/lodash/_assignValue.js\"),\n castPath = __webpack_require__(\"./node_modules/lodash/_castPath.js\"),\n isIndex = __webpack_require__(\"./node_modules/lodash/_isIndex.js\"),\n isObject = __webpack_require__(\"./node_modules/lodash/isObject.js\"),\n toKey = __webpack_require__(\"./node_modules/lodash/_toKey.js\");\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 */\nfunction 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\nmodule.exports = baseSet;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseSetToString.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar constant = __webpack_require__(\"./node_modules/lodash/constant.js\"),\n defineProperty = __webpack_require__(\"./node_modules/lodash/_defineProperty.js\"),\n identity = __webpack_require__(\"./node_modules/lodash/identity.js\");\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 */\nvar 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\nmodule.exports = baseSetToString;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseSlice.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = baseSlice;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseSome.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseEach = __webpack_require__(\"./node_modules/lodash/_baseEach.js\");\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 */\nfunction 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\nmodule.exports = baseSome;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseSortBy.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = baseSortBy;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseTimes.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = baseTimes;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseToPairs.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar arrayMap = __webpack_require__(\"./node_modules/lodash/_arrayMap.js\");\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 */\nfunction baseToPairs(object, props) {\n return arrayMap(props, function(key) {\n return [key, object[key]];\n });\n}\n\nmodule.exports = baseToPairs;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseToString.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Symbol = __webpack_require__(\"./node_modules/lodash/_Symbol.js\"),\n arrayMap = __webpack_require__(\"./node_modules/lodash/_arrayMap.js\"),\n isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\"),\n isSymbol = __webpack_require__(\"./node_modules/lodash/isSymbol.js\");\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\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 */\nfunction 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\nmodule.exports = baseToString;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseUnary.js\":\n/***/ (function(module, exports) {\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 */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseUnset.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar castPath = __webpack_require__(\"./node_modules/lodash/_castPath.js\"),\n last = __webpack_require__(\"./node_modules/lodash/last.js\"),\n parent = __webpack_require__(\"./node_modules/lodash/_parent.js\"),\n toKey = __webpack_require__(\"./node_modules/lodash/_toKey.js\");\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 */\nfunction baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n}\n\nmodule.exports = baseUnset;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseValues.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar arrayMap = __webpack_require__(\"./node_modules/lodash/_arrayMap.js\");\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 */\nfunction baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n}\n\nmodule.exports = baseValues;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_baseZipObject.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = baseZipObject;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_cacheHas.js\":\n/***/ (function(module, exports) {\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 */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_castArrayLikeObject.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isArrayLikeObject = __webpack_require__(\"./node_modules/lodash/isArrayLikeObject.js\");\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 */\nfunction castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n}\n\nmodule.exports = castArrayLikeObject;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_castFunction.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar identity = __webpack_require__(\"./node_modules/lodash/identity.js\");\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 */\nfunction castFunction(value) {\n return typeof value == 'function' ? value : identity;\n}\n\nmodule.exports = castFunction;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_castPath.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\"),\n isKey = __webpack_require__(\"./node_modules/lodash/_isKey.js\"),\n stringToPath = __webpack_require__(\"./node_modules/lodash/_stringToPath.js\"),\n toString = __webpack_require__(\"./node_modules/lodash/toString.js\");\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 */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_cloneArrayBuffer.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Uint8Array = __webpack_require__(\"./node_modules/lodash/_Uint8Array.js\");\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 */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_cloneBuffer.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(\"./node_modules/lodash/_root.js\");\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\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 */\nfunction 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\nmodule.exports = cloneBuffer;\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(\"./node_modules/webpack/buildin/module.js\")(module)))\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_cloneDataView.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar cloneArrayBuffer = __webpack_require__(\"./node_modules/lodash/_cloneArrayBuffer.js\");\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 */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_cloneRegExp.js\":\n/***/ (function(module, exports) {\n\n/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\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 */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_cloneSymbol.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Symbol = __webpack_require__(\"./node_modules/lodash/_Symbol.js\");\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\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 */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_cloneTypedArray.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar cloneArrayBuffer = __webpack_require__(\"./node_modules/lodash/_cloneArrayBuffer.js\");\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 */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_compareAscending.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isSymbol = __webpack_require__(\"./node_modules/lodash/isSymbol.js\");\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 */\nfunction 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\nmodule.exports = compareAscending;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_compareMultiple.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar compareAscending = __webpack_require__(\"./node_modules/lodash/_compareAscending.js\");\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 */\nfunction 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\nmodule.exports = compareMultiple;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_copyArray.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = copyArray;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_copyObject.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar assignValue = __webpack_require__(\"./node_modules/lodash/_assignValue.js\"),\n baseAssignValue = __webpack_require__(\"./node_modules/lodash/_baseAssignValue.js\");\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 */\nfunction 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\nmodule.exports = copyObject;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_copySymbols.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar copyObject = __webpack_require__(\"./node_modules/lodash/_copyObject.js\"),\n getSymbols = __webpack_require__(\"./node_modules/lodash/_getSymbols.js\");\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 */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_copySymbolsIn.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar copyObject = __webpack_require__(\"./node_modules/lodash/_copyObject.js\"),\n getSymbolsIn = __webpack_require__(\"./node_modules/lodash/_getSymbolsIn.js\");\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 */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_coreJsData.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar root = __webpack_require__(\"./node_modules/lodash/_root.js\");\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_createAssigner.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseRest = __webpack_require__(\"./node_modules/lodash/_baseRest.js\"),\n isIterateeCall = __webpack_require__(\"./node_modules/lodash/_isIterateeCall.js\");\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 */\nfunction 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\nmodule.exports = createAssigner;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_createBaseEach.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isArrayLike = __webpack_require__(\"./node_modules/lodash/isArrayLike.js\");\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 */\nfunction 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\nmodule.exports = createBaseEach;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_createBaseFor.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = createBaseFor;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_createFind.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseIteratee = __webpack_require__(\"./node_modules/lodash/_baseIteratee.js\"),\n isArrayLike = __webpack_require__(\"./node_modules/lodash/isArrayLike.js\"),\n keys = __webpack_require__(\"./node_modules/lodash/keys.js\");\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 */\nfunction createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = baseIteratee(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\nmodule.exports = createFind;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_createToPairs.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseToPairs = __webpack_require__(\"./node_modules/lodash/_baseToPairs.js\"),\n getTag = __webpack_require__(\"./node_modules/lodash/_getTag.js\"),\n mapToArray = __webpack_require__(\"./node_modules/lodash/_mapToArray.js\"),\n setToPairs = __webpack_require__(\"./node_modules/lodash/_setToPairs.js\");\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\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 */\nfunction 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\nmodule.exports = createToPairs;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_customOmitClone.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isPlainObject = __webpack_require__(\"./node_modules/lodash/isPlainObject.js\");\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 */\nfunction customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n}\n\nmodule.exports = customOmitClone;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_defineProperty.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getNative = __webpack_require__(\"./node_modules/lodash/_getNative.js\");\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_equalArrays.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar SetCache = __webpack_require__(\"./node_modules/lodash/_SetCache.js\"),\n arraySome = __webpack_require__(\"./node_modules/lodash/_arraySome.js\"),\n cacheHas = __webpack_require__(\"./node_modules/lodash/_cacheHas.js\");\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\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 */\nfunction 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\nmodule.exports = equalArrays;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_equalByTag.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Symbol = __webpack_require__(\"./node_modules/lodash/_Symbol.js\"),\n Uint8Array = __webpack_require__(\"./node_modules/lodash/_Uint8Array.js\"),\n eq = __webpack_require__(\"./node_modules/lodash/eq.js\"),\n equalArrays = __webpack_require__(\"./node_modules/lodash/_equalArrays.js\"),\n mapToArray = __webpack_require__(\"./node_modules/lodash/_mapToArray.js\"),\n setToArray = __webpack_require__(\"./node_modules/lodash/_setToArray.js\");\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\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 */\nfunction 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\nmodule.exports = equalByTag;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_equalObjects.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getAllKeys = __webpack_require__(\"./node_modules/lodash/_getAllKeys.js\");\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = equalObjects;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_flatRest.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar flatten = __webpack_require__(\"./node_modules/lodash/flatten.js\"),\n overRest = __webpack_require__(\"./node_modules/lodash/_overRest.js\"),\n setToString = __webpack_require__(\"./node_modules/lodash/_setToString.js\");\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 */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nmodule.exports = flatRest;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_freeGlobal.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(\"./node_modules/webpack/buildin/global.js\")))\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_getAllKeys.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseGetAllKeys = __webpack_require__(\"./node_modules/lodash/_baseGetAllKeys.js\"),\n getSymbols = __webpack_require__(\"./node_modules/lodash/_getSymbols.js\"),\n keys = __webpack_require__(\"./node_modules/lodash/keys.js\");\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 */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_getAllKeysIn.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseGetAllKeys = __webpack_require__(\"./node_modules/lodash/_baseGetAllKeys.js\"),\n getSymbolsIn = __webpack_require__(\"./node_modules/lodash/_getSymbolsIn.js\"),\n keysIn = __webpack_require__(\"./node_modules/lodash/keysIn.js\");\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 */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_getMapData.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isKeyable = __webpack_require__(\"./node_modules/lodash/_isKeyable.js\");\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 */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_getMatchData.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isStrictComparable = __webpack_require__(\"./node_modules/lodash/_isStrictComparable.js\"),\n keys = __webpack_require__(\"./node_modules/lodash/keys.js\");\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 */\nfunction 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\nmodule.exports = getMatchData;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_getNative.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseIsNative = __webpack_require__(\"./node_modules/lodash/_baseIsNative.js\"),\n getValue = __webpack_require__(\"./node_modules/lodash/_getValue.js\");\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 */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_getPrototype.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar overArg = __webpack_require__(\"./node_modules/lodash/_overArg.js\");\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_getRawTag.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Symbol = __webpack_require__(\"./node_modules/lodash/_Symbol.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\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 */\nfunction 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\nmodule.exports = getRawTag;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_getSymbols.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar arrayFilter = __webpack_require__(\"./node_modules/lodash/_arrayFilter.js\"),\n stubArray = __webpack_require__(\"./node_modules/lodash/stubArray.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\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 */\nvar 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\nmodule.exports = getSymbols;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_getSymbolsIn.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar arrayPush = __webpack_require__(\"./node_modules/lodash/_arrayPush.js\"),\n getPrototype = __webpack_require__(\"./node_modules/lodash/_getPrototype.js\"),\n getSymbols = __webpack_require__(\"./node_modules/lodash/_getSymbols.js\"),\n stubArray = __webpack_require__(\"./node_modules/lodash/stubArray.js\");\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\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 */\nvar 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\nmodule.exports = getSymbolsIn;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_getTag.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar DataView = __webpack_require__(\"./node_modules/lodash/_DataView.js\"),\n Map = __webpack_require__(\"./node_modules/lodash/_Map.js\"),\n Promise = __webpack_require__(\"./node_modules/lodash/_Promise.js\"),\n Set = __webpack_require__(\"./node_modules/lodash/_Set.js\"),\n WeakMap = __webpack_require__(\"./node_modules/lodash/_WeakMap.js\"),\n baseGetTag = __webpack_require__(\"./node_modules/lodash/_baseGetTag.js\"),\n toSource = __webpack_require__(\"./node_modules/lodash/_toSource.js\");\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\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 */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((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\nmodule.exports = getTag;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_getValue.js\":\n/***/ (function(module, exports) {\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 */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_hasPath.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar castPath = __webpack_require__(\"./node_modules/lodash/_castPath.js\"),\n isArguments = __webpack_require__(\"./node_modules/lodash/isArguments.js\"),\n isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\"),\n isIndex = __webpack_require__(\"./node_modules/lodash/_isIndex.js\"),\n isLength = __webpack_require__(\"./node_modules/lodash/isLength.js\"),\n toKey = __webpack_require__(\"./node_modules/lodash/_toKey.js\");\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 */\nfunction 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\nmodule.exports = hasPath;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_hashClear.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar nativeCreate = __webpack_require__(\"./node_modules/lodash/_nativeCreate.js\");\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_hashDelete.js\":\n/***/ (function(module, exports) {\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 */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_hashGet.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar nativeCreate = __webpack_require__(\"./node_modules/lodash/_nativeCreate.js\");\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = hashGet;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_hashHas.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar nativeCreate = __webpack_require__(\"./node_modules/lodash/_nativeCreate.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_hashSet.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar nativeCreate = __webpack_require__(\"./node_modules/lodash/_nativeCreate.js\");\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\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 */\nfunction 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\nmodule.exports = hashSet;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_initCloneArray.js\":\n/***/ (function(module, exports) {\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = initCloneArray;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_initCloneByTag.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar cloneArrayBuffer = __webpack_require__(\"./node_modules/lodash/_cloneArrayBuffer.js\"),\n cloneDataView = __webpack_require__(\"./node_modules/lodash/_cloneDataView.js\"),\n cloneRegExp = __webpack_require__(\"./node_modules/lodash/_cloneRegExp.js\"),\n cloneSymbol = __webpack_require__(\"./node_modules/lodash/_cloneSymbol.js\"),\n cloneTypedArray = __webpack_require__(\"./node_modules/lodash/_cloneTypedArray.js\");\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar 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/**\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 */\nfunction 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\nmodule.exports = initCloneByTag;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_initCloneObject.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseCreate = __webpack_require__(\"./node_modules/lodash/_baseCreate.js\"),\n getPrototype = __webpack_require__(\"./node_modules/lodash/_getPrototype.js\"),\n isPrototype = __webpack_require__(\"./node_modules/lodash/_isPrototype.js\");\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 */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_isFlattenable.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Symbol = __webpack_require__(\"./node_modules/lodash/_Symbol.js\"),\n isArguments = __webpack_require__(\"./node_modules/lodash/isArguments.js\"),\n isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\");\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\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 */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_isIndex.js\":\n/***/ (function(module, exports) {\n\n/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\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 */\nfunction 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\nmodule.exports = isIndex;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_isIterateeCall.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar eq = __webpack_require__(\"./node_modules/lodash/eq.js\"),\n isArrayLike = __webpack_require__(\"./node_modules/lodash/isArrayLike.js\"),\n isIndex = __webpack_require__(\"./node_modules/lodash/_isIndex.js\"),\n isObject = __webpack_require__(\"./node_modules/lodash/isObject.js\");\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 */\nfunction 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\nmodule.exports = isIterateeCall;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_isKey.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\"),\n isSymbol = __webpack_require__(\"./node_modules/lodash/isSymbol.js\");\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\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 */\nfunction 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\nmodule.exports = isKey;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_isKeyable.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = isKeyable;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_isMasked.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar coreJsData = __webpack_require__(\"./node_modules/lodash/_coreJsData.js\");\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\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 */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_isPrototype.js\":\n/***/ (function(module, exports) {\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\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 */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_isStrictComparable.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(\"./node_modules/lodash/isObject.js\");\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 */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_listCacheClear.js\":\n/***/ (function(module, exports) {\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_listCacheDelete.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar assocIndexOf = __webpack_require__(\"./node_modules/lodash/_assocIndexOf.js\");\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\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 */\nfunction 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\nmodule.exports = listCacheDelete;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_listCacheGet.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar assocIndexOf = __webpack_require__(\"./node_modules/lodash/_assocIndexOf.js\");\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 */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_listCacheHas.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar assocIndexOf = __webpack_require__(\"./node_modules/lodash/_assocIndexOf.js\");\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 */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_listCacheSet.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar assocIndexOf = __webpack_require__(\"./node_modules/lodash/_assocIndexOf.js\");\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 */\nfunction 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\nmodule.exports = listCacheSet;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_mapCacheClear.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Hash = __webpack_require__(\"./node_modules/lodash/_Hash.js\"),\n ListCache = __webpack_require__(\"./node_modules/lodash/_ListCache.js\"),\n Map = __webpack_require__(\"./node_modules/lodash/_Map.js\");\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_mapCacheDelete.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getMapData = __webpack_require__(\"./node_modules/lodash/_getMapData.js\");\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 */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_mapCacheGet.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getMapData = __webpack_require__(\"./node_modules/lodash/_getMapData.js\");\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 */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_mapCacheHas.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getMapData = __webpack_require__(\"./node_modules/lodash/_getMapData.js\");\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 */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_mapCacheSet.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getMapData = __webpack_require__(\"./node_modules/lodash/_getMapData.js\");\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 */\nfunction 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\nmodule.exports = mapCacheSet;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_mapToArray.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = mapToArray;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_matchesStrictComparable.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = matchesStrictComparable;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_memoizeCapped.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar memoize = __webpack_require__(\"./node_modules/lodash/memoize.js\");\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\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 */\nfunction 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\nmodule.exports = memoizeCapped;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_nativeCreate.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getNative = __webpack_require__(\"./node_modules/lodash/_getNative.js\");\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_nativeKeys.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar overArg = __webpack_require__(\"./node_modules/lodash/_overArg.js\");\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_nativeKeysIn.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = nativeKeysIn;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_nodeUtil.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(\"./node_modules/lodash/_freeGlobal.js\");\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(\"./node_modules/webpack/buildin/module.js\")(module)))\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_objectToString.js\":\n/***/ (function(module, exports) {\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\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 */\nvar nativeObjectToString = objectProto.toString;\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 */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_overArg.js\":\n/***/ (function(module, exports) {\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 */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_overRest.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar apply = __webpack_require__(\"./node_modules/lodash/_apply.js\");\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\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 */\nfunction 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\nmodule.exports = overRest;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_parent.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseGet = __webpack_require__(\"./node_modules/lodash/_baseGet.js\"),\n baseSlice = __webpack_require__(\"./node_modules/lodash/_baseSlice.js\");\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 */\nfunction parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n}\n\nmodule.exports = parent;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_root.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar freeGlobal = __webpack_require__(\"./node_modules/lodash/_freeGlobal.js\");\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_setCacheAdd.js\":\n/***/ (function(module, exports) {\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\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 */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_setCacheHas.js\":\n/***/ (function(module, exports) {\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 */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_setToArray.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = setToArray;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_setToPairs.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = setToPairs;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_setToString.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseSetToString = __webpack_require__(\"./node_modules/lodash/_baseSetToString.js\"),\n shortOut = __webpack_require__(\"./node_modules/lodash/_shortOut.js\");\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 */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_shortOut.js\":\n/***/ (function(module, exports) {\n\n/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\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 */\nfunction 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\nmodule.exports = shortOut;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_stackClear.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar ListCache = __webpack_require__(\"./node_modules/lodash/_ListCache.js\");\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_stackDelete.js\":\n/***/ (function(module, exports) {\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 */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_stackGet.js\":\n/***/ (function(module, exports) {\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 */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_stackHas.js\":\n/***/ (function(module, exports) {\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 */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_stackSet.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar ListCache = __webpack_require__(\"./node_modules/lodash/_ListCache.js\"),\n Map = __webpack_require__(\"./node_modules/lodash/_Map.js\"),\n MapCache = __webpack_require__(\"./node_modules/lodash/_MapCache.js\");\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\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 */\nfunction 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\nmodule.exports = stackSet;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_strictIndexOf.js\":\n/***/ (function(module, exports) {\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 */\nfunction 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\nmodule.exports = strictIndexOf;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_stringToPath.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar memoizeCapped = __webpack_require__(\"./node_modules/lodash/_memoizeCapped.js\");\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\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 */\nvar 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\nmodule.exports = stringToPath;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_toKey.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isSymbol = __webpack_require__(\"./node_modules/lodash/isSymbol.js\");\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\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 */\nfunction 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\nmodule.exports = toKey;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/_toSource.js\":\n/***/ (function(module, exports) {\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\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 */\nfunction 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\nmodule.exports = toSource;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/assign.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar assignValue = __webpack_require__(\"./node_modules/lodash/_assignValue.js\"),\n copyObject = __webpack_require__(\"./node_modules/lodash/_copyObject.js\"),\n createAssigner = __webpack_require__(\"./node_modules/lodash/_createAssigner.js\"),\n isArrayLike = __webpack_require__(\"./node_modules/lodash/isArrayLike.js\"),\n isPrototype = __webpack_require__(\"./node_modules/lodash/_isPrototype.js\"),\n keys = __webpack_require__(\"./node_modules/lodash/keys.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nvar 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\nmodule.exports = assign;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/constant.js\":\n/***/ (function(module, exports) {\n\n/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/defaults.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseRest = __webpack_require__(\"./node_modules/lodash/_baseRest.js\"),\n eq = __webpack_require__(\"./node_modules/lodash/eq.js\"),\n isIterateeCall = __webpack_require__(\"./node_modules/lodash/_isIterateeCall.js\"),\n keysIn = __webpack_require__(\"./node_modules/lodash/keysIn.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nvar 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\nmodule.exports = defaults;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/difference.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseDifference = __webpack_require__(\"./node_modules/lodash/_baseDifference.js\"),\n baseFlatten = __webpack_require__(\"./node_modules/lodash/_baseFlatten.js\"),\n baseRest = __webpack_require__(\"./node_modules/lodash/_baseRest.js\"),\n isArrayLikeObject = __webpack_require__(\"./node_modules/lodash/isArrayLikeObject.js\");\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 */\nvar difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n});\n\nmodule.exports = difference;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/drop.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseSlice = __webpack_require__(\"./node_modules/lodash/_baseSlice.js\"),\n toInteger = __webpack_require__(\"./node_modules/lodash/toInteger.js\");\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 */\nfunction 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\nmodule.exports = drop;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/dropRight.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseSlice = __webpack_require__(\"./node_modules/lodash/_baseSlice.js\"),\n toInteger = __webpack_require__(\"./node_modules/lodash/toInteger.js\");\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 */\nfunction 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\nmodule.exports = dropRight;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/eq.js\":\n/***/ (function(module, exports) {\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 */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/filter.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar arrayFilter = __webpack_require__(\"./node_modules/lodash/_arrayFilter.js\"),\n baseFilter = __webpack_require__(\"./node_modules/lodash/_baseFilter.js\"),\n baseIteratee = __webpack_require__(\"./node_modules/lodash/_baseIteratee.js\"),\n isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\");\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 */\nfunction filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = filter;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/find.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar createFind = __webpack_require__(\"./node_modules/lodash/_createFind.js\"),\n findIndex = __webpack_require__(\"./node_modules/lodash/findIndex.js\");\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 */\nvar find = createFind(findIndex);\n\nmodule.exports = find;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/findIndex.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseFindIndex = __webpack_require__(\"./node_modules/lodash/_baseFindIndex.js\"),\n baseIteratee = __webpack_require__(\"./node_modules/lodash/_baseIteratee.js\"),\n toInteger = __webpack_require__(\"./node_modules/lodash/toInteger.js\");\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\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 */\nfunction 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, baseIteratee(predicate, 3), index);\n}\n\nmodule.exports = findIndex;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/flatten.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseFlatten = __webpack_require__(\"./node_modules/lodash/_baseFlatten.js\");\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 */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/forEach.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar arrayEach = __webpack_require__(\"./node_modules/lodash/_arrayEach.js\"),\n baseEach = __webpack_require__(\"./node_modules/lodash/_baseEach.js\"),\n castFunction = __webpack_require__(\"./node_modules/lodash/_castFunction.js\"),\n isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\");\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 */\nfunction forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, castFunction(iteratee));\n}\n\nmodule.exports = forEach;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/forOwn.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseForOwn = __webpack_require__(\"./node_modules/lodash/_baseForOwn.js\"),\n castFunction = __webpack_require__(\"./node_modules/lodash/_castFunction.js\");\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 */\nfunction forOwn(object, iteratee) {\n return object && baseForOwn(object, castFunction(iteratee));\n}\n\nmodule.exports = forOwn;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/get.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseGet = __webpack_require__(\"./node_modules/lodash/_baseGet.js\");\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 */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/hasIn.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseHasIn = __webpack_require__(\"./node_modules/lodash/_baseHasIn.js\"),\n hasPath = __webpack_require__(\"./node_modules/lodash/_hasPath.js\");\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 */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/identity.js\":\n/***/ (function(module, exports) {\n\n/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/includes.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseIndexOf = __webpack_require__(\"./node_modules/lodash/_baseIndexOf.js\"),\n isArrayLike = __webpack_require__(\"./node_modules/lodash/isArrayLike.js\"),\n isString = __webpack_require__(\"./node_modules/lodash/isString.js\"),\n toInteger = __webpack_require__(\"./node_modules/lodash/toInteger.js\"),\n values = __webpack_require__(\"./node_modules/lodash/values.js\");\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\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 */\nfunction 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\nmodule.exports = includes;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/initial.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseSlice = __webpack_require__(\"./node_modules/lodash/_baseSlice.js\");\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 */\nfunction initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n}\n\nmodule.exports = initial;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/intersection.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar arrayMap = __webpack_require__(\"./node_modules/lodash/_arrayMap.js\"),\n baseIntersection = __webpack_require__(\"./node_modules/lodash/_baseIntersection.js\"),\n baseRest = __webpack_require__(\"./node_modules/lodash/_baseRest.js\"),\n castArrayLikeObject = __webpack_require__(\"./node_modules/lodash/_castArrayLikeObject.js\");\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 */\nvar intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n});\n\nmodule.exports = intersection;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isArguments.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseIsArguments = __webpack_require__(\"./node_modules/lodash/_baseIsArguments.js\"),\n isObjectLike = __webpack_require__(\"./node_modules/lodash/isObjectLike.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\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 */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isArray.js\":\n/***/ (function(module, exports) {\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 */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isArrayLike.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isFunction = __webpack_require__(\"./node_modules/lodash/isFunction.js\"),\n isLength = __webpack_require__(\"./node_modules/lodash/isLength.js\");\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 */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isArrayLikeObject.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isArrayLike = __webpack_require__(\"./node_modules/lodash/isArrayLike.js\"),\n isObjectLike = __webpack_require__(\"./node_modules/lodash/isObjectLike.js\");\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 */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isBuffer.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(\"./node_modules/lodash/_root.js\"),\n stubFalse = __webpack_require__(\"./node_modules/lodash/stubFalse.js\");\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\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 */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(\"./node_modules/webpack/buildin/module.js\")(module)))\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isEmpty.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseKeys = __webpack_require__(\"./node_modules/lodash/_baseKeys.js\"),\n getTag = __webpack_require__(\"./node_modules/lodash/_getTag.js\"),\n isArguments = __webpack_require__(\"./node_modules/lodash/isArguments.js\"),\n isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\"),\n isArrayLike = __webpack_require__(\"./node_modules/lodash/isArrayLike.js\"),\n isBuffer = __webpack_require__(\"./node_modules/lodash/isBuffer.js\"),\n isPrototype = __webpack_require__(\"./node_modules/lodash/_isPrototype.js\"),\n isTypedArray = __webpack_require__(\"./node_modules/lodash/isTypedArray.js\");\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = isEmpty;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isFunction.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseGetTag = __webpack_require__(\"./node_modules/lodash/_baseGetTag.js\"),\n isObject = __webpack_require__(\"./node_modules/lodash/isObject.js\");\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\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 */\nfunction 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\nmodule.exports = isFunction;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isLength.js\":\n/***/ (function(module, exports) {\n\n/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\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 */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isMap.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseIsMap = __webpack_require__(\"./node_modules/lodash/_baseIsMap.js\"),\n baseUnary = __webpack_require__(\"./node_modules/lodash/_baseUnary.js\"),\n nodeUtil = __webpack_require__(\"./node_modules/lodash/_nodeUtil.js\");\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\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 */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isNull.js\":\n/***/ (function(module, exports) {\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 */\nfunction isNull(value) {\n return value === null;\n}\n\nmodule.exports = isNull;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isObject.js\":\n/***/ (function(module, exports) {\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 */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isObjectLike.js\":\n/***/ (function(module, exports) {\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 */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isPlainObject.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseGetTag = __webpack_require__(\"./node_modules/lodash/_baseGetTag.js\"),\n getPrototype = __webpack_require__(\"./node_modules/lodash/_getPrototype.js\"),\n isObjectLike = __webpack_require__(\"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\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 */\nfunction 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\nmodule.exports = isPlainObject;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isSet.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseIsSet = __webpack_require__(\"./node_modules/lodash/_baseIsSet.js\"),\n baseUnary = __webpack_require__(\"./node_modules/lodash/_baseUnary.js\"),\n nodeUtil = __webpack_require__(\"./node_modules/lodash/_nodeUtil.js\");\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\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 */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isString.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseGetTag = __webpack_require__(\"./node_modules/lodash/_baseGetTag.js\"),\n isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\"),\n isObjectLike = __webpack_require__(\"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\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 */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isSymbol.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseGetTag = __webpack_require__(\"./node_modules/lodash/_baseGetTag.js\"),\n isObjectLike = __webpack_require__(\"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\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 */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isTypedArray.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseIsTypedArray = __webpack_require__(\"./node_modules/lodash/_baseIsTypedArray.js\"),\n baseUnary = __webpack_require__(\"./node_modules/lodash/_baseUnary.js\"),\n nodeUtil = __webpack_require__(\"./node_modules/lodash/_nodeUtil.js\");\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\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 */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/isUndefined.js\":\n/***/ (function(module, exports) {\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 */\nfunction isUndefined(value) {\n return value === undefined;\n}\n\nmodule.exports = isUndefined;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/keys.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar arrayLikeKeys = __webpack_require__(\"./node_modules/lodash/_arrayLikeKeys.js\"),\n baseKeys = __webpack_require__(\"./node_modules/lodash/_baseKeys.js\"),\n isArrayLike = __webpack_require__(\"./node_modules/lodash/isArrayLike.js\");\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 */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/keysIn.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar arrayLikeKeys = __webpack_require__(\"./node_modules/lodash/_arrayLikeKeys.js\"),\n baseKeysIn = __webpack_require__(\"./node_modules/lodash/_baseKeysIn.js\"),\n isArrayLike = __webpack_require__(\"./node_modules/lodash/isArrayLike.js\");\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 */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/last.js\":\n/***/ (function(module, exports) {\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 */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/map.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar arrayMap = __webpack_require__(\"./node_modules/lodash/_arrayMap.js\"),\n baseIteratee = __webpack_require__(\"./node_modules/lodash/_baseIteratee.js\"),\n baseMap = __webpack_require__(\"./node_modules/lodash/_baseMap.js\"),\n isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\");\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 */\nfunction map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, baseIteratee(iteratee, 3));\n}\n\nmodule.exports = map;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/memoize.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar MapCache = __webpack_require__(\"./node_modules/lodash/_MapCache.js\");\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\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 */\nfunction 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`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/omit.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar arrayMap = __webpack_require__(\"./node_modules/lodash/_arrayMap.js\"),\n baseClone = __webpack_require__(\"./node_modules/lodash/_baseClone.js\"),\n baseUnset = __webpack_require__(\"./node_modules/lodash/_baseUnset.js\"),\n castPath = __webpack_require__(\"./node_modules/lodash/_castPath.js\"),\n copyObject = __webpack_require__(\"./node_modules/lodash/_copyObject.js\"),\n customOmitClone = __webpack_require__(\"./node_modules/lodash/_customOmitClone.js\"),\n flatRest = __webpack_require__(\"./node_modules/lodash/_flatRest.js\"),\n getAllKeysIn = __webpack_require__(\"./node_modules/lodash/_getAllKeysIn.js\");\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\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 */\nvar 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\nmodule.exports = omit;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/orderBy.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseOrderBy = __webpack_require__(\"./node_modules/lodash/_baseOrderBy.js\"),\n isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\");\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 */\nfunction 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\nmodule.exports = orderBy;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/pick.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar basePick = __webpack_require__(\"./node_modules/lodash/_basePick.js\"),\n flatRest = __webpack_require__(\"./node_modules/lodash/_flatRest.js\");\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 */\nvar pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n});\n\nmodule.exports = pick;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/property.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseProperty = __webpack_require__(\"./node_modules/lodash/_baseProperty.js\"),\n basePropertyDeep = __webpack_require__(\"./node_modules/lodash/_basePropertyDeep.js\"),\n isKey = __webpack_require__(\"./node_modules/lodash/_isKey.js\"),\n toKey = __webpack_require__(\"./node_modules/lodash/_toKey.js\");\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/some.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar arraySome = __webpack_require__(\"./node_modules/lodash/_arraySome.js\"),\n baseIteratee = __webpack_require__(\"./node_modules/lodash/_baseIteratee.js\"),\n baseSome = __webpack_require__(\"./node_modules/lodash/_baseSome.js\"),\n isArray = __webpack_require__(\"./node_modules/lodash/isArray.js\"),\n isIterateeCall = __webpack_require__(\"./node_modules/lodash/_isIterateeCall.js\");\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 */\nfunction 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, baseIteratee(predicate, 3));\n}\n\nmodule.exports = some;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/sortBy.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseFlatten = __webpack_require__(\"./node_modules/lodash/_baseFlatten.js\"),\n baseOrderBy = __webpack_require__(\"./node_modules/lodash/_baseOrderBy.js\"),\n baseRest = __webpack_require__(\"./node_modules/lodash/_baseRest.js\"),\n isIterateeCall = __webpack_require__(\"./node_modules/lodash/_isIterateeCall.js\");\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 */\nvar 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\nmodule.exports = sortBy;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/stubArray.js\":\n/***/ (function(module, exports) {\n\n/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/stubFalse.js\":\n/***/ (function(module, exports) {\n\n/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/take.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseSlice = __webpack_require__(\"./node_modules/lodash/_baseSlice.js\"),\n toInteger = __webpack_require__(\"./node_modules/lodash/toInteger.js\");\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 */\nfunction 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\nmodule.exports = take;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/toFinite.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toNumber = __webpack_require__(\"./node_modules/lodash/toNumber.js\");\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\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 */\nfunction 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\nmodule.exports = toFinite;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/toInteger.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toFinite = __webpack_require__(\"./node_modules/lodash/toFinite.js\");\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 */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/toNumber.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(\"./node_modules/lodash/isObject.js\"),\n isSymbol = __webpack_require__(\"./node_modules/lodash/isSymbol.js\");\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\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 */\nfunction 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\nmodule.exports = toNumber;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/toPairs.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar createToPairs = __webpack_require__(\"./node_modules/lodash/_createToPairs.js\"),\n keys = __webpack_require__(\"./node_modules/lodash/keys.js\");\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 */\nvar toPairs = createToPairs(keys);\n\nmodule.exports = toPairs;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/toString.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseToString = __webpack_require__(\"./node_modules/lodash/_baseToString.js\");\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 */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/uniqueId.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toString = __webpack_require__(\"./node_modules/lodash/toString.js\");\n\n/** Used to generate unique IDs. */\nvar idCounter = 0;\n\n/**\n * Generates a unique ID. If `prefix` is given, the ID is appended to it.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {string} [prefix=''] The value to prefix the ID with.\n * @returns {string} Returns the unique ID.\n * @example\n *\n * _.uniqueId('contact_');\n * // => 'contact_104'\n *\n * _.uniqueId();\n * // => '105'\n */\nfunction uniqueId(prefix) {\n var id = ++idCounter;\n return toString(prefix) + id;\n}\n\nmodule.exports = uniqueId;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/values.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseValues = __webpack_require__(\"./node_modules/lodash/_baseValues.js\"),\n keys = __webpack_require__(\"./node_modules/lodash/keys.js\");\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 */\nfunction values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n}\n\nmodule.exports = values;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/without.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseDifference = __webpack_require__(\"./node_modules/lodash/_baseDifference.js\"),\n baseRest = __webpack_require__(\"./node_modules/lodash/_baseRest.js\"),\n isArrayLikeObject = __webpack_require__(\"./node_modules/lodash/isArrayLikeObject.js\");\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 */\nvar without = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, values)\n : [];\n});\n\nmodule.exports = without;\n\n\n/***/ }),\n\n/***/ \"./node_modules/lodash/zipObject.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar assignValue = __webpack_require__(\"./node_modules/lodash/_assignValue.js\"),\n baseZipObject = __webpack_require__(\"./node_modules/lodash/_baseZipObject.js\");\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 */\nfunction zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n}\n\nmodule.exports = zipObject;\n\n\n/***/ }),\n\n/***/ \"./node_modules/object-assign/index.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n\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\n/***/ }),\n\n/***/ \"./node_modules/react-resize-aware/dist/index.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\n(function (global, factory) {\n\t true ? factory(exports, __webpack_require__(0)) :\n\ttypeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :\n\t(factory((global.ReactResizeAware = global.ReactResizeAware || {}),global.React));\n}(this, (function (exports,react) { 'use strict';\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n//\n// react-resize-aware component\n//\n// Triggers a `resize` event everytime the component changes its sizes\n// MIT License\n// Copyright 2016, Federico Zivolo\n//\n\nvar style = {\n display: 'block',\n opacity: 0,\n position: 'absolute',\n top: 0,\n left: 0,\n height: '100%',\n width: '100%',\n overflow: 'hidden',\n pointerEvents: 'none',\n zIndex: -1\n};\n\nvar ResizeAware = function (_Component) {\n _inherits(ResizeAware, _Component);\n\n function ResizeAware() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, ResizeAware);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = ResizeAware.__proto__ || Object.getPrototypeOf(ResizeAware)).call.apply(_ref, [this].concat(args))), _this), _this.state = {}, _this.handleObjectLoad = function (evt) {\n _this.setState({\n resizeTarget: evt.target.contentDocument.defaultView\n }, function () {\n _this.state.resizeTarget.addEventListener('resize', _this.handleResize);\n _this.handleResize();\n });\n }, _this.handleResize = function () {\n var sizes = {\n width: _this.container.offsetWidth,\n height: _this.container.offsetHeight\n };\n _this.setState(sizes);\n _this.props.onResize && _this.props.onResize(sizes);\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(ResizeAware, [{\n key: 'componentDidMount',\n\n\n // Init the resizeElement\n value: function componentDidMount() {\n this.resizeElement.data = 'about:blank';\n }\n\n // Called when the object is loaded\n\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n var resizeTarget = this.state.resizeTarget;\n\n // ensure the resizeTarget exists and is in fact an event listener\n // this fixes an issue where contentDocument.defaultView is not a real window object\n // as can be the case when used with react portals\n\n var isListener = resizeTarget && typeof resizeTarget.removeEventListener === 'function';\n\n isListener && resizeTarget.removeEventListener('resize', this.handleResize);\n }\n\n // Function called on component resize\n\n }, {\n key: 'render',\n value: function render() {\n var _sizes,\n _this2 = this;\n\n var _props = this.props,\n children = _props.children,\n onResize = _props.onResize,\n onlyEvent = _props.onlyEvent,\n component = _props.component,\n widthPropName = _props.widthPropName,\n heightPropName = _props.heightPropName,\n props = _objectWithoutProperties(_props, ['children', 'onResize', 'onlyEvent', 'component', 'widthPropName', 'heightPropName']);\n\n var _state = this.state,\n width = _state.width,\n height = _state.height;\n\n\n var hasCustomComponent = typeof component !== 'string';\n\n var widthProp = [widthPropName || 'width'];\n var heightProp = [heightPropName || 'height'];\n\n var sizes = (_sizes = {}, _defineProperty(_sizes, widthProp, width), _defineProperty(_sizes, heightProp, height), _sizes);\n\n return react.createElement(component, _extends(_defineProperty({}, hasCustomComponent ? 'getRef' : 'ref', function (el) {\n return _this2.container = el;\n }), hasCustomComponent && sizes, props), react.createElement('object', {\n type: 'text/html',\n style: style,\n ref: function ref(el) {\n return _this2.resizeElement = el;\n },\n onLoad: this.handleObjectLoad,\n 'aria-hidden': true,\n tabIndex: -1\n }), typeof children === 'function' ? children({ width: width, height: height }) : react.Children.map(children, function (child) {\n return react.isValidElement(child) ? react.cloneElement(child, !onlyEvent ? sizes : null) : child;\n }));\n }\n }]);\n\n return ResizeAware;\n}(react.Component);\n\nResizeAware.defaultProps = {\n component: 'div',\n // don't define here the defaults to avoid to break\n // the render result of previous versions\n // TODO: use defaultProps to define default values\n widthPropName: undefined,\n heightPropName: undefined\n};\nfunction makeResizeAware(component) {\n return function (props) {\n return react.createElement(ResizeAware, _extends({ component: component }, props));\n };\n}\n\nexports['default'] = ResizeAware;\nexports.makeResizeAware = makeResizeAware;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/uuid/lib/bytesToUuid.js\":\n/***/ (function(module, exports) {\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([bth[buf[i++]], bth[buf[i++]], \n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]]]).join('');\n}\n\nmodule.exports = bytesToUuid;\n\n\n/***/ }),\n\n/***/ \"./node_modules/uuid/lib/rng-browser.js\":\n/***/ (function(module, exports) {\n\n// Unique ID creation requires a high quality random # generator. In the\n// browser this is a little complicated due to unknown quality of Math.random()\n// and inconsistent support for the `crypto` API. We do the best we can via\n// feature-detection\n\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto\n// implementation. Also, find the complete implementation of crypto on IE11.\nvar getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||\n (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));\n\nif (getRandomValues) {\n // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto\n var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef\n\n module.exports = function whatwgRNG() {\n getRandomValues(rnds8);\n return rnds8;\n };\n} else {\n // Math.random()-based (RNG)\n //\n // If all else fails, use Math.random(). It's fast, but is of unspecified\n // quality.\n var rnds = new Array(16);\n\n module.exports = function mathRNG() {\n for (var i = 0, r; i < 16; i++) {\n if ((i & 0x03) === 0) r = Math.random() * 0x100000000;\n rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;\n }\n\n return rnds;\n };\n}\n\n\n/***/ }),\n\n/***/ \"./node_modules/uuid/v1.js\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar rng = __webpack_require__(\"./node_modules/uuid/lib/rng-browser.js\");\nvar bytesToUuid = __webpack_require__(\"./node_modules/uuid/lib/bytesToUuid.js\");\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nvar _nodeId;\nvar _clockseq;\n\n// Previous uuid creation time\nvar _lastMSecs = 0;\nvar _lastNSecs = 0;\n\n// See https://github.com/broofa/node-uuid for API details\nfunction v1(options, buf, offset) {\n var i = buf && offset || 0;\n var b = buf || [];\n\n options = options || {};\n var node = options.node || _nodeId;\n var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;\n\n // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n if (node == null || clockseq == null) {\n var seedBytes = rng();\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [\n seedBytes[0] | 0x01,\n seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]\n ];\n }\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n }\n\n // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();\n\n // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;\n\n // Time since last uuid creation (in msecs)\n var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;\n\n // Per 4.2.1.2, Bump clockseq on clock regression\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n }\n\n // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n }\n\n // Per 4.2.1.2 Throw error if too many uuids are requested\n if (nsecs >= 10000) {\n throw new Error('uuid.v1(): Can\\'t create more than 10M uuids/sec');\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq;\n\n // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n msecs += 12219292800000;\n\n // `time_low`\n var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff;\n\n // `time_mid`\n var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff;\n\n // `time_high_and_version`\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n b[i++] = tmh >>> 16 & 0xff;\n\n // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n b[i++] = clockseq >>> 8 | 0x80;\n\n // `clock_seq_low`\n b[i++] = clockseq & 0xff;\n\n // `node`\n for (var n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf ? buf : bytesToUuid(b);\n}\n\nmodule.exports = v1;\n\n\n/***/ }),\n\n/***/ \"./node_modules/webpack/buildin/global.js\":\n/***/ (function(module, exports) {\n\nvar g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n/***/ }),\n\n/***/ \"./node_modules/webpack/buildin/module.js\":\n/***/ (function(module, exports) {\n\nmodule.exports = function(module) {\r\n\tif(!module.webpackPolyfill) {\r\n\t\tmodule.deprecate = function() {};\r\n\t\tmodule.paths = [];\r\n\t\t// module.parent = undefined by default\r\n\t\tif(!module.children) module.children = [];\r\n\t\tObject.defineProperty(module, \"loaded\", {\r\n\t\t\tenumerable: true,\r\n\t\t\tget: function() {\r\n\t\t\t\treturn module.l;\r\n\t\t\t}\r\n\t\t});\r\n\t\tObject.defineProperty(module, \"id\", {\r\n\t\t\tenumerable: true,\r\n\t\t\tget: function() {\r\n\t\t\t\treturn module.i;\r\n\t\t\t}\r\n\t\t});\r\n\t\tmodule.webpackPolyfill = 1;\r\n\t}\r\n\treturn module;\r\n};\r\n\n\n/***/ }),\n\n/***/ 0:\n/***/ (function(module, exports) {\n\nmodule.exports = React;\n\n/***/ }),\n\n/***/ 1:\n/***/ (function(module, exports) {\n\nmodule.exports = PropTypes;\n\n/***/ }),\n\n/***/ 10:\n/***/ (function(module, exports) {\n\nmodule.exports = Reactstrap;\n\n/***/ }),\n\n/***/ 11:\n/***/ (function(module, exports) {\n\nmodule.exports = ViewModeActions;\n\n/***/ }),\n\n/***/ 12:\n/***/ (function(module, exports) {\n\nmodule.exports = jQuery;\n\n/***/ }),\n\n/***/ 13:\n/***/ (function(module, exports) {\n\nmodule.exports = Config;\n\n/***/ }),\n\n/***/ 14:\n/***/ (function(module, exports) {\n\nmodule.exports = FormBuilderLoader;\n\n/***/ }),\n\n/***/ 15:\n/***/ (function(module, exports) {\n\nmodule.exports = ReactDom;\n\n/***/ }),\n\n/***/ 16:\n/***/ (function(module, exports) {\n\nmodule.exports = moment;\n\n/***/ }),\n\n/***/ 2:\n/***/ (function(module, exports) {\n\nmodule.exports = Injector;\n\n/***/ }),\n\n/***/ 3:\n/***/ (function(module, exports) {\n\nmodule.exports = i18n;\n\n/***/ }),\n\n/***/ 4:\n/***/ (function(module, exports) {\n\nmodule.exports = ReactRedux;\n\n/***/ }),\n\n/***/ 5:\n/***/ (function(module, exports) {\n\nmodule.exports = Redux;\n\n/***/ }),\n\n/***/ 6:\n/***/ (function(module, exports) {\n\nmodule.exports = classnames;\n\n/***/ }),\n\n/***/ 7:\n/***/ (function(module, exports) {\n\nmodule.exports = ReactApollo;\n\n/***/ }),\n\n/***/ 8:\n/***/ (function(module, exports) {\n\nmodule.exports = GraphQLTag;\n\n/***/ }),\n\n/***/ 9:\n/***/ (function(module, exports) {\n\nmodule.exports = Loading;\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// js/bundle.js"," \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// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\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// 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 \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./client/src/bundles/bundle.js\");\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap cb190e46a87af5bf00e8","/* global window */\nimport registerComponents from 'boot/registerComponents';\nimport registerReducers from 'boot/registerReducers';\n\nwindow.document.addEventListener('DOMContentLoaded', () => {\n registerComponents();\n\n registerReducers();\n});\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/boot/index.js","import Injector from 'lib/Injector';\nimport HistoryViewer from 'components/HistoryViewer/HistoryViewer';\nimport SnapshotViewerContainer from 'components/HistoryViewer/SnapshotViewerContainer';\nimport HistoryViewerHeading from 'components/HistoryViewer/HistoryViewerHeading';\nimport HistoryViewerToolbar from 'components/HistoryViewer/HistoryViewerToolbar';\nimport HistoryViewerVersion from 'components/HistoryViewer/HistoryViewerVersion';\nimport HistoryViewerVersionDetail from 'components/HistoryViewer/HistoryViewerVersionDetail';\nimport HistoryViewerVersionList from 'components/HistoryViewer/HistoryViewerVersionList';\nimport HistoryViewerVersionState from 'components/HistoryViewer/HistoryViewerVersionState';\nimport HistoryViewerSnapshotState from 'components/HistoryViewer/HistoryViewerSnapshotState';\nimport HistoryViewerSnapshot from 'components/HistoryViewer/HistoryViewerSnapshot';\nimport HistoryViewerCompareWarning from 'components/HistoryViewer/HistoryViewerCompareWarning';\nimport RollbackMutation from 'components/HistoryViewer/RollbackMutation';\n\n/**\n * The reason we have not gone down the route of using the same name for components\n * is that we were running into race conditions with the injector. For example we\n * had the HistoryViewer component having two graphql HoCs applied to it. The last one\n * applied would \"win\" and update it's state\n *\n * We've opted to go down the route of renaming references rather than names in the hopes that\n * in the future when the injector is able to support removing registered HoC's\n */\nexport default () => {\n Injector.component.register('SnapshotViewer', HistoryViewer);\n Injector.component.register('SnapshotViewerContainer', SnapshotViewerContainer);\n Injector.component.register('SnapshotHistoryViewer', HistoryViewer);\n Injector.component.register('SnapshotRollbackMutation', RollbackMutation);\n Injector.component.registerMany({\n SnapshotHistoryViewerHeading: HistoryViewerHeading,\n SnapshotHistoryViewerToolbar: HistoryViewerToolbar,\n SnapshotHistoryViewerVersion: HistoryViewerVersion,\n SnapshotHistoryViewerVersionDetail: HistoryViewerVersionDetail,\n SnapshotHistoryViewerVersionList: HistoryViewerVersionList,\n SnapshotHistoryViewerVersionState: HistoryViewerVersionState,\n SnapshotHistoryViewerSnapshotState: HistoryViewerSnapshotState,\n SnapshotHistoryViewerSnapshot: HistoryViewerSnapshot,\n SnapshotHistoryViewerCompareWarning: HistoryViewerCompareWarning,\n }, { force: true });\n};\n\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/boot/registerComponents.js","import Injector from 'lib/Injector';\nimport { combineReducers } from 'redux';\nimport historyViewerReducer from 'state/historyviewer/HistoryViewerReducer';\n\nconst registerReducers = () => {\n Injector.reducer.register('versionedAdmin', combineReducers({\n historyViewer: historyViewerReducer,\n }), { force: true });\n};\n\nexport default registerReducers;\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/boot/registerReducers.js","/* eslint-disable\n import/no-webpack-loader-syntax,\n import/no-extraneous-dependencies,\n import/no-unresolved\n */\n\n// Expose fields (see webpack config for matching \"externals\" config)\nrequire('expose-loader?SnapshotsViewer!components/HistoryViewer/HistoryViewer');\n\nrequire('expose-loader?versionType!types/versionType');\n\n// Legacy CMS\nrequire('../legacy/ArchiveAdmin/ArchiveAdmin');\n\n// Legacy form fields\n// Fields used by core legacy UIs, or available to users\n// To do: determine better way of using webpack to pull in optional javascript\nrequire('../legacy/HistoryViewer/HistoryViewerEntwine');\n\nrequire('boot');\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/bundles/bundle.js","/* global window */\n\nimport React, { Component } from 'react';\nimport { compose } from 'redux';\nimport { connect } from 'react-redux';\nimport Griddle from 'griddle-react';\nimport historyViewerConfig from 'containers/HistoryViewer/HistoryViewerConfig';\nimport i18n from 'i18n';\nimport { inject } from 'lib/Injector';\nimport Loading from 'components/Loading/Loading';\nimport {\n setCurrentPage,\n showVersion,\n clearMessages,\n} from 'state/historyviewer/HistoryViewerActions';\nimport { versionType } from 'types/versionType';\nimport { compareType } from 'types/compareType';\nimport classNames from 'classnames';\nimport ResizeAware from 'react-resize-aware';\nimport * as viewModeActions from 'state/viewMode/ViewModeActions';\nimport PropTypes from 'prop-types';\n\nconst VERSION_MODE_VERSION = 'VERSION';\nconst VERSION_MODE_DATE = 'DATE';\n\nexport {\n VERSION_MODE_VERSION,\n VERSION_MODE_DATE,\n};\n\n/**\n * The HistoryViewer component is abstract, and requires an Injector component\n * to be connected providing the GraphQL query implementation for the appropriate\n * DataObject type\n */\nclass HistoryViewer extends Component {\n constructor(props) {\n super(props);\n\n this.handleSetPage = this.handleSetPage.bind(this);\n this.handleNextPage = this.handleNextPage.bind(this);\n this.handlePrevPage = this.handlePrevPage.bind(this);\n }\n\n /**\n * Manually handle state changes in the page number, because Griddle doesn't support Redux.\n * See: https://github.com/GriddleGriddle/Griddle/issues/626\n *\n * @param {object} prevProps\n */\n componentDidUpdate(prevProps) {\n const { page: prevPage } = prevProps;\n const { page: currentPage, actions: { versions } } = this.props;\n\n if (prevPage !== currentPage && typeof versions.goToPage === 'function') {\n versions.goToPage(currentPage);\n }\n }\n\n /**\n * Reset the selected version when unmounting HistoryViewer to prevent data leaking\n * between instances\n */\n componentWillUnmount() {\n const { onSelect } = this.props;\n if (typeof onSelect === 'function') {\n onSelect(false);\n }\n }\n\n /**\n * Returns the result of the GraphQL version history query\n *\n * @returns {Array}\n */\n getVersions() {\n const { versions } = this.props;\n const edges = (versions && versions.SnapshotHistory && versions.SnapshotHistory.edges)\n ? versions.SnapshotHistory.edges\n : [];\n return edges.map(({ node }) => {\n return {\n ...node,\n ...node.OriginVersion,\n // Snapshots author is authoritative\n Author: {\n ...node.Author\n },\n AbsoluteLink: (node.IsFullVersion && node.OriginVersion)\n ? node.OriginVersion.AbsoluteLink\n : versions.AbsoluteLink,\n Version: node.IsFullVersion && node.OriginVersion\n ? node.OriginVersion.Version\n : node.BaseVersion,\n }\n });\n }\n\n /**\n * Returns a string to be used as the \"class\" attribute on the history viewer container\n *\n * @returns {string}\n */\n getContainerClasses() {\n const { compare, isInGridField } = this.props;\n\n // GridFieldDetailForm provides its own padding, so apply a class to counteract this.\n return classNames('history-viewer', 'fill-height', {\n 'history-viewer__compare-mode': compare,\n 'history-viewer--no-margins': isInGridField && !this.isListView(),\n });\n }\n\n /**\n * Get the latest version from the list available (if there is one)\n *\n * @returns {object|null}\n */\n getLatestVersion() {\n const { currentVersion } = this.props;\n\n // Check whether the \"current version\" (in the store) is the latest draft\n if (currentVersion && currentVersion.LatestDraftVersion === true) {\n return currentVersion;\n }\n\n // Look for one in the list of available versions\n const latestDraftVersion = this.getVersions()\n .filter(version => version.LatestDraftVersion === true);\n\n if (latestDraftVersion.length) {\n return latestDraftVersion[0];\n }\n\n return null;\n }\n\n /**\n * List view is when either no current version is set, or only one of the two versions is\n * set for compare mode\n *\n * @returns {boolean}\n */\n isListView() {\n const { compare, currentVersion } = this.props;\n\n // Nothing is set: initial list view\n if (!currentVersion) {\n return true;\n }\n\n // No compare mode data set: it's detail view\n if (!compare) {\n return false;\n }\n\n // Only part of the compare mode data is set: it's list view\n if (compare.versionFrom && !compare.versionTo) {\n return true;\n }\n\n return false;\n }\n\n /**\n * Handles setting the pagination page number\n *\n * @param {number} page\n */\n handleSetPage(page) {\n const { onSetPage } = this.props;\n if (typeof onSetPage === 'function') {\n // Note: data from Griddle is zero-indexed\n onSetPage(page + 1);\n }\n }\n\n /**\n * Handler for incrementing the set page\n */\n handleNextPage() {\n const { page } = this.props;\n // Note: data for Griddle needs to be zero-indexed, so don't add 1 to this\n this.handleSetPage(page);\n }\n\n /**\n * Handler for decrementing the set page\n */\n handlePrevPage() {\n const { page } = this.props;\n // Note: data for Griddle needs to be zero-indexed\n const currentPage = page - 1;\n if (currentPage < 1) {\n this.handleSetPage(currentPage);\n return;\n }\n this.handleSetPage(currentPage - 1);\n }\n\n /**\n * Compare mode is not available when only one version exists\n *\n * @returns {boolean}\n */\n compareModeAvailable() {\n return this.getVersions().length > 1;\n }\n\n /**\n * Renders the detail form for a selected version\n *\n * @returns {HistoryViewerVersionDetail}\n */\n renderVersionDetail() {\n const {\n currentVersion,\n isPreviewable,\n recordId,\n recordClass,\n typeName,\n schemaUrl,\n // previewMode,\n VersionDetailComponent,\n compare,\n compare: { versionFrom = false, versionTo = false },\n previewState,\n } = this.props;\n // Insert variables into the schema URL via regex replacements\n const schemaVersionReplacements = {\n ':id': recordId,\n ':class': recordClass,\n ':date': '',\n ':version': '',\n };\n\n // Currently previewMode === MODE_VERSION is disabled as it displays incorrect relations.\n\n schemaVersionReplacements[':date'] = currentVersion.LastEdited;\n\n const schemaCompareReplacements = {\n ':id': recordId,\n ':class': recordClass,\n ':from': versionFrom.Version || 0,\n ':to': versionTo.Version || 0,\n };\n const schemaSearch = compare ? /:id|:class|:from|:to/g : /:id|:class|:version|:date/g;\n const schemaReplacements = compare ? schemaCompareReplacements : schemaVersionReplacements;\n\n const version = compare ? versionFrom : currentVersion;\n const latestVersion = this.getLatestVersion();\n const props = {\n // comparison shows two versions as one, so by nature cannot be a single 'latest' version.\n isLatestVersion: !compare && latestVersion && latestVersion.Version === version.Version,\n isPreviewable,\n recordId,\n typeName,\n schemaUrl: schemaUrl.replace(schemaSearch, (match) => schemaReplacements[match]),\n version,\n compare,\n compareModeAvailable: this.compareModeAvailable(),\n previewState,\n };\n\n return (\n this.props.onResize(width)}\n >\n \n \n );\n }\n\n /**\n * Renders the react component for pagination.\n * Currently borrows the pagination from Griddle, to keep styling consistent\n * between the two views.\n *\n * See: ThumbnailView.js\n *\n * @returns {XML|null}\n */\n renderPagination() {\n const { limit, page, versions } = this.props;\n\n if (!versions) {\n return null;\n }\n\n const totalVersions = versions.SnapshotHistory\n ? versions.SnapshotHistory.pageInfo.totalCount\n : 0;\n\n if (totalVersions <= limit) {\n return null;\n }\n\n const props = {\n setPage: this.handleSetPage,\n maxPage: Math.ceil(totalVersions / limit),\n next: this.handleNextPage,\n nextText: i18n._t('HistoryViewer.NEXT', 'Next'),\n previous: this.handlePrevPage,\n previousText: i18n._t('HistoryViewer.PREVIOUS', 'Previous'),\n // Note: zero indexed\n currentPage: page - 1,\n useGriddleStyles: false,\n };\n\n return (\n
\n \n
\n );\n }\n\n /**\n * Render the list containing versions selected for comparison.\n * It is not the ListComponent's place to know the context in which it is being rendered\n * so it is the directive of this contextual component to tell it what stylistic adaptations\n * it should present based on the context (the type of list it contains).\n *\n * @returns {HistoryViewerVersionList|null}\n */\n renderComparisonSelectionList() {\n const { compare: { versionFrom }, ListComponent } = this.props;\n\n if (!versionFrom) {\n return null;\n }\n\n const selectionListClasses = classNames(\n 'history-viewer__table',\n 'history-viewer__table--comparison-selected',\n );\n\n return (\n \n );\n }\n\n /**\n * Renders a list of versions\n *\n * @returns {HistoryViewerVersionList}\n */\n renderVersionList() {\n const {\n isInGridField,\n ListComponent,\n CompareWarningComponent,\n compare,\n compare: { versionFrom: hasVersionFrom },\n } = this.props;\n return (\n
\n \n\n
\n {this.renderComparisonSelectionList()}\n \n\n
\n {this.renderPagination()}\n
\n
\n
\n );\n }\n\n renderCompareMode() {\n const { compare } = this.props;\n\n if (compare && compare.versionFrom && compare.versionTo) {\n return this.renderVersionDetail();\n }\n return this.renderVersionList();\n }\n\n render() {\n const { loading, compare, previewMode } = this.props;\n\n if (loading) {\n return ;\n }\n\n if (this.compareModeAvailable() && compare) {\n return this.renderCompareMode();\n }\n\n if (previewMode) {\n return this.renderVersionDetail();\n }\n\n return this.renderVersionList();\n }\n}\n\nHistoryViewer.propTypes = {\n contextKey: PropTypes.string,\n limit: PropTypes.number,\n ListComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n offset: PropTypes.number,\n recordId: PropTypes.number.isRequired,\n recordClass: PropTypes.string.isRequired,\n typeName: PropTypes.string.isRequired,\n currentVersion: PropTypes.oneOfType([PropTypes.bool, versionType]),\n compare: compareType,\n isInGridField: PropTypes.bool,\n isPreviewable: PropTypes.bool,\n VersionDetailComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n CompareWarningComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n versions: PropTypes.shape({\n Versions: PropTypes.shape({\n pageInfo: PropTypes.shape({\n totalCount: PropTypes.number,\n }),\n edges: PropTypes.arrayOf(PropTypes.shape({\n node: versionType,\n })),\n }),\n }),\n page: PropTypes.number,\n schemaUrl: PropTypes.string,\n // @todo replace this with import { VIEW_MODE_STATES } from 'state/viewMode/ViewModeStates'\n // when webpack-config has this export available via silverstripe/admin\n previewState: PropTypes.oneOf(['edit', 'preview', 'split']),\n actions: PropTypes.object,\n onSelect: PropTypes.func,\n onSetPage: PropTypes.func,\n onResize: PropTypes.func,\n};\n\nHistoryViewer.defaultProps = {\n compare: {},\n contextKey: '',\n currentVersion: false,\n isInGridField: false,\n isPreviewable: false,\n typeName: '',\n schemaUrl: '',\n versions: {\n Versions: {\n pageInfo: {\n totalCount: 0,\n },\n edges: [],\n },\n },\n};\n\n\nfunction mapStateToProps(state) {\n const {\n currentPage,\n currentVersion,\n previewMode,\n compare,\n } = state.versionedAdmin.historyViewer;\n\n const { activeState } = state.viewMode;\n\n return {\n page: currentPage,\n currentVersion,\n compare,\n previewMode,\n previewState: activeState,\n };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onSelect(id) {\n dispatch(showVersion(id));\n dispatch(clearMessages());\n },\n onSetPage(page) {\n dispatch(setCurrentPage(page));\n },\n onResize(panelWidth) {\n dispatch(viewModeActions.enableOrDisableSplitMode(panelWidth));\n }\n };\n}\n\nexport { HistoryViewer as Component };\n\nexport default compose(\n connect(mapStateToProps, mapDispatchToProps),\n historyViewerConfig,\n inject(\n ['SnapshotHistoryViewerVersionList', 'SnapshotHistoryViewerVersionDetail', 'SnapshotHistoryViewerCompareWarning'],\n (ListComponent, VersionDetailComponent, CompareWarningComponent) => ({\n ListComponent,\n VersionDetailComponent,\n CompareWarningComponent,\n }),\n ({ contextKey }) => `VersionedAdmin.HistoryViewer.${contextKey}`\n )\n)(HistoryViewer);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewer.js","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport i18n from 'i18n';\nimport { setCompareMode } from 'state/historyviewer/HistoryViewerActions';\n\nclass HistoryViewerCompareWarning extends Component {\n constructor(props) {\n super(props);\n\n this.handleDismissCompare = this.handleDismissCompare.bind(this);\n }\n\n handleDismissCompare() {\n this.props.onDismissCompare();\n }\n\n /**\n * Renders a notice indicating the user is in compare mode (if compare mode is active)\n *\n * @returns {string}\n */\n render() {\n if (!this.props.isCompare) {\n return null;\n }\n\n return (\n
\n \n {i18n._t('HistoryViewer.COMPARE_MODE', 'Compare mode')}: \n {i18n._t('HistoryViewer.SELECT_PROMPT', 'Select two versions')}\n \n \n
\n );\n }\n}\n\nHistoryViewerCompareWarning.propTypes = {\n isCompare: PropTypes.bool.isRequired,\n};\n\nfunction mapStateToProps(state) {\n const {\n compare,\n } = state.versionedAdmin.historyViewer;\n\n return {\n isCompare: !!compare,\n };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onDismissCompare() {\n dispatch(setCompareMode(false));\n },\n };\n}\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(HistoryViewerCompareWarning);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerCompareWarning.js","import i18n from 'i18n';\nimport React, { Component } from 'react';\nimport { Dropdown, DropdownToggle, DropdownMenu } from 'reactstrap';\nimport { setCompareMode } from 'state/historyviewer/HistoryViewerActions';\nimport { compose } from 'redux';\nimport { connect } from 'react-redux';\nimport PropTypes from 'prop-types';\n\nclass HistoryViewerHeading extends Component {\n constructor(props) {\n super(props);\n\n this.toggle = this.toggle.bind(this);\n this.handleCompareModeChange = this.handleCompareModeChange.bind(this);\n\n this.state = {\n dropdownOpen: false,\n };\n }\n\n toggle() {\n this.setState(prevState => ({\n dropdownOpen: !prevState.dropdownOpen\n }));\n }\n\n handleCompareModeChange() {\n const { compareModeSelected, onCompareModeUnselect, onCompareModeSelect } = this.props;\n if (compareModeSelected) {\n onCompareModeUnselect();\n } else {\n onCompareModeSelect();\n }\n }\n\n /**\n * If compare mode is available, renders a dropdown containing the \"compare two versions\" option\n *\n * @returns {Dropdown|null}\n */\n renderDropdown() {\n const { compareModeAvailable, compareModeSelected } = this.props;\n const { dropdownOpen } = this.state;\n\n if (!compareModeAvailable) {\n return null;\n }\n\n return (\n \n \n \n
\n \n \n
\n
\n \n );\n }\n\n render() {\n return (\n
  • \n \n {i18n._t('HistoryViewer.Date', 'Date')}\n \n \n {i18n._t('HistoryViewer.Activity', 'Activity')}\n \n \n {i18n._t('HistoryViewer.Author', 'Author')}\n \n \n {this.renderDropdown()}\n \n
  • \n );\n }\n}\n\nHistoryViewerHeading.propTypes = {\n compareModeAvailable: PropTypes.bool,\n compareModeSelected: PropTypes.bool,\n onCompareModeSelect: PropTypes.func,\n onCompareModeUnselect: PropTypes.func,\n};\n\nHistoryViewerHeading.defaultProps = {\n compareModeAvailable: true,\n};\n\nfunction mapStateToProps(state) {\n return {\n compareModeSelected: !!state.versionedAdmin.historyViewer.compare,\n };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onCompareModeSelect() {\n dispatch(setCompareMode(true));\n },\n onCompareModeUnselect() {\n dispatch(setCompareMode(false));\n },\n };\n}\n\nexport { HistoryViewerHeading as Component };\n\nexport default compose(connect(mapStateToProps, mapDispatchToProps))(HistoryViewerHeading);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerHeading.js","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { inject } from 'lib/Injector';\nimport i18n from 'i18n';\nimport { compose } from 'redux';\nimport { connect } from 'react-redux';\nimport {\n showVersion,\n showDate,\n clearMessages\n} from 'state/historyviewer/HistoryViewerActions';\nimport classNames from 'classnames';\nimport { versionType } from 'types/versionType';\nimport getDateFromVersion from '../../helpers/getDateFromVersion';\n\nclass HistoryViewerSnapshot extends Component {\n constructor(props) {\n super(props);\n this.handleClick = this.handleClick.bind(this);\n this.handleKeyUp = this.handleKeyUp.bind(this);\n this.handleClose = this.handleClose.bind(this);\n }\n\n getClassNames() {\n const { extraClass, initial, isComparing, isActive } = this.props;\n const defaultClasses = {\n 'history-viewer__row': true,\n 'history-viewer__snapshot': true,\n 'history-viewer__row--current': isActive,\n 'history-viewer__snapshot--initial': initial,\n 'history-viewer__snapshot--muted': isComparing,\n };\n return classNames(defaultClasses, extraClass);\n }\n\n handleClick() {\n const { onSelect, version, isActive } = this.props;\n\n // If the clear button is shown, don't do anything when clicking on the row\n if (isActive) {\n return false;\n }\n onSelect(version);\n return false;\n }\n\n handleClose(e) {\n e.stopPropagation();\n this.props.onSelect(false);\n return false;\n }\n\n handleKeyUp(event) {\n if (event.keyCode === 13) {\n this.handleClick();\n }\n }\n\n render() {\n const { version, StateComponent, FormActionComponent, isComparing, isActive } = this.props;\n const { Author: { FirstName, Surname } } = version;\n const author = `${FirstName || ''} ${Surname || ''}`;\n const rowTitle = i18n._t('HistoryViewerSnapshot.GO_TO_SNAPSHOT', 'Go to snapshot at {date}');\n\n return (\n
  • \n \n \n {version.ActivityAgo}\n {' '}\n {getDateFromVersion(version)}\n \n\n \n \n {author}\n \n \n {isActive && (\n \n )}\n \n \n
  • \n );\n }\n}\n\nHistoryViewerSnapshot.propTypes = {\n isActive: PropTypes.bool,\n version: versionType,\n initial: PropTypes.bool,\n isComparing: PropTypes.bool,\n};\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onSelect(selectedVersion) {\n const func = selectedVersion.IsFullVersion ? showVersion : showDate;\n dispatch(func(selectedVersion));\n dispatch(clearMessages());\n }\n };\n}\n\nexport default compose(\n connect(null, mapDispatchToProps),\n inject(\n ['FormAction', 'SnapshotHistoryViewerSnapshotState'],\n (FormAction, HistoryViewerSnapshotState) => ({\n FormActionComponent: FormAction,\n StateComponent: HistoryViewerSnapshotState,\n })\n )\n)(HistoryViewerSnapshot);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerSnapshot.js","import { Component as VersionedState } from './HistoryViewerVersionState';\nimport { inject } from 'lib/Injector';\n\nclass HistoryViewerSnapshotState extends VersionedState {\n translateType(type) {\n const { i18n } = window;\n switch (type) {\n case 'MODIFIED':\n return i18n._t('HistoryViewerSnapshot.MODIFIED', 'Edited');\n case 'DELETED':\n return i18n._t('HistoryViewerSnapshot.DELETED', 'Archived');\n case 'CREATED':\n return i18n._t('HistoryViewerSnapshot.CREATED', 'Created');\n case 'ADDED':\n return i18n._t('HistoryViewerSnapshot.ADDED', 'Added');\n case 'REMOVED':\n return i18n._t('HistoryViewerSnapshot.REMOVED', 'Removed');\n case 'UNPUBLISHED':\n return i18n._t('HistoryViewerSnapshot.UNPUBLISHED', 'Unpublished');\n case 'PUBLISHED':\n return i18n._t('HistoryViewerSnapshot.PUBLISHED', 'Published');\n default:\n return '';\n }\n }\n\n getPublishedState() {\n const { ActivityDescription, ActivityType } = this.props.version;\n\n const prefix = this.translateType(ActivityType);\n const lines = ActivityDescription.split('\\n');\n if (lines.length > 1) {\n return lines.map((l, i) =>
    {l}
    );\n }\n return `${prefix} ${ActivityDescription}`;\n }\n\n getBadges() {\n // No LIVE badge unless it's a native version\n return null;\n }\n}\n\nexport { HistoryViewerSnapshotState as Component };\n\nexport default inject(\n ['Badge'],\n (BadgeComponent) => ({ BadgeComponent }),\n)(HistoryViewerSnapshotState);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerSnapshotState.js","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { compose } from 'redux';\nimport { connect } from 'react-redux';\nimport i18n from 'i18n';\nimport { inject } from 'lib/Injector';\nimport { addMessage, showList } from 'state/historyviewer/HistoryViewerActions';\nimport { Tooltip } from 'reactstrap';\n\nclass HistoryViewerToolbar extends Component {\n constructor(props) {\n super(props);\n\n this.handleRevert = this.handleRevert.bind(this);\n this.handleToggleRevertTooltip = this.handleToggleRevertTooltip.bind(this);\n\n this.state = {\n isReverting: false,\n revertTooltipOpen: false,\n tooltipTimer: null,\n };\n }\n\n /**\n * Triggers a revert action to be performed for the current record's version\n * @param {func} rollback\n * @returns Promise\n */\n handleRevert(rollback) {\n const { onAfterRevert, recordId, versionId } = this.props;\n\n this.setState({ isReverting: true });\n\n const handler = typeof onAfterRevert === 'function' ? onAfterRevert : () => {};\n return rollback({ variables: {\n id: recordId,\n toVersion: versionId\n }}).then(() => handler(versionId));\n }\n\n handleToggleRevertTooltip() {\n this.setState(state => ({\n revertTooltipOpen: !state.revertTooltipOpen,\n }));\n }\n\n render() {\n const {\n FormActionComponent,\n ViewModeComponent,\n RollbackMutation,\n isLatestVersion,\n isPreviewable,\n canRollback,\n rollbackMessage,\n typeName,\n } = this.props;\n const { isReverting, revertTooltipOpen } = this.state;\n\n const revertButtonTitle = isReverting\n ? i18n._t('HistoryViewerToolbar.REVERT_IN_PROGRESS', 'Revert in progress...')\n : i18n._t('HistoryViewerToolbar.REVERT_UNAVAILABLE', 'Unavailable for the current version');\n\n return (\n \n {(rollback) => {\n return (\n
    \n
    \n this.handleRevert(rollback)}\n icon=\"back-in-time\"\n name=\"revert\"\n attributes={{\n title: revertButtonTitle,\n }}\n data={{\n buttonStyle: 'warning'\n }}\n disabled={isLatestVersion || isReverting || !canRollback}\n loading={isReverting}\n title={i18n._t('HistoryViewerToolbar.REVERT_TO_VERSION', 'Revert to this version')}\n />\n { !canRollback && (\n \n {rollbackMessage}\n \n )}\n { isPreviewable && }\n
    \n
    \n )\n }}\n
    \n );\n }\n}\n\nHistoryViewerToolbar.propTypes = {\n actions: PropTypes.shape({\n revertToVersion: PropTypes.func.isRequired,\n }),\n FormActionComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n ViewModeComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n isLatestVersion: PropTypes.bool,\n isPreviewable: PropTypes.bool,\n onAfterRevert: PropTypes.func,\n recordId: PropTypes.number.isRequired,\n typeName: PropTypes.string.isRequired,\n versionId: PropTypes.number.isRequired,\n canRollback: PropTypes.bool,\n rollbackMessage: PropTypes.string,\n};\n\nHistoryViewerToolbar.defaultProps = {\n isLatestVersion: false,\n isPreviewable: false,\n canRollback: true,\n};\n\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onAfterRevert(versionId) {\n dispatch(addMessage(i18n.sprintf(\n i18n._t('HistoryViewerToolbar.REVERTED_MESSAGE', 'Successfully reverted to version %s'),\n versionId\n )));\n dispatch(showList());\n },\n };\n}\n\nexport { HistoryViewerToolbar as Component };\n\nexport default compose(\n connect(null, mapDispatchToProps),\n inject(\n ['FormAction', 'ViewModeToggle', 'SnapshotRollbackMutation'],\n (FormActionComponent, ViewModeComponent, RollbackMutation) => ({\n FormActionComponent,\n ViewModeComponent,\n RollbackMutation,\n }),\n () => 'VersionedAdmin.HistoryViewer.Toolbar'\n )\n)(HistoryViewerToolbar);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerToolbar.js","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { compose } from 'redux';\nimport { connect } from 'react-redux';\nimport { inject } from 'lib/Injector';\nimport { versionType, defaultVersion } from 'types/versionType';\nimport { compareType } from 'types/compareType';\nimport i18n from 'i18n';\nimport classNames from 'classnames';\nimport {\n showVersion,\n clearMessages,\n setCompareMode,\n setCompareFrom,\n setCompareTo,\n} from 'state/historyviewer/HistoryViewerActions';\nimport getDateFromVersion from '../../helpers/getDateFromVersion';\n\nclass HistoryViewerVersion extends Component {\n constructor(props) {\n super(props);\n\n this.handleClick = this.handleClick.bind(this);\n this.handleClose = this.handleClose.bind(this);\n this.handleCompare = this.handleCompare.bind(this);\n this.handleKeyUp = this.handleKeyUp.bind(this);\n }\n\n /**\n * Snapshots tracks its own authors, so no need to rely on the published version\n *\n * @returns {string}\n */\n getAuthor() {\n const { version: { Author } } = this.props;\n\n return `${Author.FirstName || ''} ${Author.Surname || ''}`;\n }\n\n /**\n * Return a string of HTML class names for the row (list item) element\n *\n * @returns {string}\n */\n getClassNames() {\n const { extraClass, isActive, compare, compare: { compareFrom, compareTo } } = this.props;\n const defaultClasses = {\n 'history-viewer__row': true,\n 'history-viewer__row--current': isActive,\n 'history-viewer__row--comparison-selected': compare && !(compareFrom && compareTo),\n };\n return classNames(defaultClasses, extraClass);\n }\n\n /**\n * If pressing enter key, trigger click event to load detail view\n *\n * @param {Object} event\n */\n handleKeyUp(event) {\n if (event.keyCode === 13) {\n this.handleClick();\n }\n }\n\n /**\n * When clicking on a version, render the detail view for it via a Redux action dispatch\n * passed through via a closure prop (onSelect)\n */\n handleClick() {\n const { onSelect, version, isActive, compare } = this.props;\n\n // If the clear button is shown, don't do anything when clicking on the row\n if (isActive) {\n return false;\n }\n onSelect(version, compare);\n return false;\n }\n\n handleCompare() {\n const { onCompareMode, version } = this.props;\n onCompareMode(version);\n }\n\n /**\n * When closing the version, return back to the list view via Redux action dispatch\n */\n handleClose() {\n const { onSelect, version, compare, compare: { versionFrom } } = this.props;\n if (versionFrom && versionFrom.Version === version.Version) {\n // Ensures we set the correct thing. C.f. logic in mapDispatchToProps -> onSelect\n delete compare.versionFrom;\n }\n onSelect(0, compare);\n }\n\n /**\n * Renders a \"compare mode\" button which will allow the user to start selecting versions to\n * compare differences between. This is usually rendered in the \"more actions\" menu.\n *\n * @returns {FormAction|null}\n */\n renderCompareButton() {\n const { compareModeAvailable, compare, FormActionComponent } = this.props;\n const translatedText = i18n._t('HistoryViewerVersion.COMPARE', 'Compare');\n\n if (!compareModeAvailable || compare) {\n return null;\n }\n\n return (\n \n {translatedText}\n \n );\n }\n\n /**\n * Renders a \"clear\" button to close the version, for example when used in a \"detail view\"\n * context. This is shown when this version is \"active\", displayed with a blue background.\n * It is hidden for the selected version when compare mode is active, until the row is hovered or\n * focused.\n *\n * @returns {FormAction|null}\n */\n renderClearButton() {\n const { FormActionComponent, isActive } = this.props;\n\n if (!isActive) {\n return null;\n }\n\n return (\n \n );\n }\n\n /**\n * Renders an \"Already selected\" span to close the selected version when compare mode is enabled.\n * Hidden in all other cases in favour of the \"clear button\". When the rendered version is\n * hovered or focused, it gets hidden and the clear button is rendered instead.\n *\n * @returns {DOMElement|null}\n */\n renderSelectedMessage() {\n const { isActive } = this.props;\n\n if (!isActive) {\n return null;\n }\n\n return (\n \n {i18n._t('HistoryViewerVersion.SELECTED', 'Already selected')}\n \n );\n }\n\n /**\n * Renders the \"actions\" menu for the detail view. This menu may contain a compare mode toggle\n * and/or a \"clear\" button to clear the current selected version\n *\n * @returns {DOMElement}\n */\n renderActions() {\n const { isActive, compare } = this.props;\n\n if (!isActive && !compare) {\n return (\n \n );\n }\n\n return (\n \n {this.renderCompareButton()}\n {this.renderSelectedMessage()}\n {this.renderClearButton()}\n \n );\n }\n render() {\n const { version, isActive, StateComponent } = this.props;\n const rowTitle = i18n._t('HistoryViewerVersion.GO_TO_VERSION', 'Go to version {version}');\n\n return (\n
  • \n \n \n {version.ActivityAgo}\n {' '}\n {getDateFromVersion(version)}\n \n\n \n \n {this.getAuthor()}\n \n {this.renderActions()}\n \n
  • \n );\n }\n}\n\nHistoryViewerVersion.propTypes = {\n extraClass: PropTypes.oneOfType([PropTypes.string, PropTypes.array, PropTypes.object]),\n version: versionType,\n isActive: PropTypes.bool,\n onSelect: PropTypes.func,\n onCompareMode: PropTypes.func,\n compare: compareType,\n compareModeAvailable: PropTypes.bool,\n StateComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n FormActionComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n};\n\nHistoryViewerVersion.defaultProps = {\n isActive: false,\n version: defaultVersion,\n compare: false,\n compareModeAvailable: true,\n};\n\nexport { HistoryViewerVersion as Component };\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onSelect(selectedVersion, compare) {\n const { versionFrom } = compare;\n if (compare) {\n if (!versionFrom) {\n dispatch(setCompareFrom(selectedVersion));\n } else {\n dispatch(setCompareTo(selectedVersion));\n }\n } else {\n dispatch(showVersion(selectedVersion));\n dispatch(clearMessages());\n }\n },\n onCompareMode(version) {\n dispatch(setCompareFrom(version));\n dispatch(setCompareMode(true));\n }\n };\n}\n\nexport default compose(\n connect(null, mapDispatchToProps),\n inject(\n ['SnapshotHistoryViewerVersionState', 'FormAction'],\n (StateComponent, FormActionComponent) => ({\n StateComponent,\n FormActionComponent,\n }),\n ({ version }) => {\n let context = 'VersionedAdmin.HistoryViewer.HistoryViewerVersion';\n if (version) {\n context += `.${version.Version}`;\n }\n return context;\n }\n )\n)(HistoryViewerVersion);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerVersion.js","/* global document */\n\nimport React, { PureComponent } from 'react';\nimport classnames from 'classnames';\nimport FormBuilderLoader from 'containers/FormBuilderLoader/FormBuilderLoader';\nimport { inject } from 'lib/Injector';\nimport { versionType } from 'types/versionType';\nimport PropTypes from 'prop-types';\nimport i18n from 'i18n';\n\nclass HistoryViewerVersionDetail extends PureComponent {\n componentWillMount() {\n this.toggleToolbarClass(true);\n }\n\n /**\n * When new props are received (from Redux dispatch events), check whether the preview\n * state changes. If so, we want to add or remove the legacy CSS modifier for the CMS\n * north toolbar based on whether the view mode is \"split\" (add) or anything else (remove)\n *\n * @param {Object} nextProps\n */\n componentWillReceiveProps(nextProps) {\n if (nextProps.previewState !== this.props.previewState) {\n this.toggleToolbarClass(nextProps.previewState === 'split');\n }\n }\n\n componentWillUnmount() {\n this.toggleToolbarClass(false);\n }\n\n /**\n * Originally this component hard coded the array of versions to be passed\n * to the list component as [version], but with the introduction of a compare mode\n * this isn't always true (we need both \"compare from\" & \"compare to\").\n * So this getter abstracts that logic.\n *\n * @returns {array}\n */\n getListVersions() {\n const { compare, version } = this.props;\n if (this.isCompareMode()) {\n return [compare.versionTo, compare.versionFrom];\n }\n return [version];\n }\n\n /**\n * Return whether or not we should be displaying the preview component\n * @returns {boolean}\n */\n isPreviewable() {\n const { isPreviewable } = this.props;\n return isPreviewable && !this.isCompareMode();\n }\n\n /**\n * Return whether or not we should be comparing two versions\n * @returns {boolean}\n */\n isCompareMode() {\n const { compare } = this.props;\n return compare && compare.versionFrom && compare.versionTo;\n }\n\n /**\n * Until the CMS is fully React driven, we must control certain aspects of the CMS DOM with\n * manual CSS tweaks. @todo remove this when React drives the CMS.\n *\n * @param {boolean} add\n */\n toggleToolbarClass(add = true) {\n const selector = document\n .querySelector('.CMSPageHistoryViewerController div:not(.cms-content-tools) .cms-content-header');\n const className = 'history-viewer__toolbar--condensed';\n\n if (selector && this.isPreviewable()) {\n if (add) {\n selector.classList.add(className);\n } else {\n selector.classList.remove(className);\n }\n }\n }\n\n /**\n * If the preview panel is enabled, return the component\n *\n * @returns {Preview|null}\n */\n renderPreview() {\n const { version, PreviewComponent, previewState } = this.props;\n\n // Don't render the preview if the view mode is \"edit\"\n if (!this.isPreviewable() || previewState === 'edit') {\n return null;\n }\n\n return (\n
    \n
    \n
    \n { i18n._t('HistoryViewerVersionDetail.LOADING_PREVIEW', 'Generating preview...') }\n
    \n \n
    \n );\n }\n\n /**\n * If the toolbar should be viewable, return the component\n *\n * @returns {HistoryViewerToolbar|null}\n */\n renderToolbar() {\n const { ToolbarComponent, isLatestVersion, recordId, version, typeName } = this.props;\n\n if (this.isCompareMode()) {\n return null;\n }\n\n const rollbackMessage = i18n._t(\n 'HistoryViewerVersionDetail.CANNOT_ROLLBACK_SNAPSHOTS',\n 'You can only revert to base versions'\n );\n\n return (\n \n );\n }\n\n /**\n * Renders the version detail view form\n *\n * @returns {Object}\n */\n renderDetails() {\n const {\n compareModeAvailable,\n ListComponent,\n schemaUrl,\n CompareWarningComponent,\n previewState,\n version,\n } = this.props;\n\n // Hide when the preview mode is explicitly enabled\n if (this.isPreviewable() && previewState === 'preview') {\n return null;\n }\n\n const containerClasses = [\n 'flexbox-area-grow',\n 'panel',\n 'panel--scrollable',\n 'panel--padded',\n 'panel--padded-side',\n ];\n const extraListClasses = {\n 'history-viewer__table': true,\n 'history-viewer__table--current': true,\n 'history-viewer__table--compare': this.isCompareMode(),\n };\n const formClasses = {\n 'history-viewer__version-detail': true,\n 'history-viewer__version-detail--compare': this.isCompareMode(),\n };\n\n return (\n
    \n
    \n \n\n
    \n \n
    \n\n
    \n\n {this.renderToolbar()}\n\n \n
    \n );\n }\n\n render() {\n return (\n
    \n {this.renderDetails()}\n {this.renderPreview()}\n
    \n );\n }\n}\n\nHistoryViewerVersionDetail.propTypes = {\n isLatestVersion: PropTypes.bool,\n isPreviewable: PropTypes.bool,\n ListComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n PreviewComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n recordId: PropTypes.number.isRequired,\n typeName: PropTypes.string.isRequired,\n schemaUrl: PropTypes.string.isRequired,\n ToolbarComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n version: versionType,\n compare: PropTypes.oneOfType([\n PropTypes.shape({\n versionFrom: versionType,\n versionTo: versionType,\n }),\n PropTypes.bool,\n ]),\n // @todo replace this with import { VIEW_MODE_STATES } from 'state/viewMode/ViewModeStates'\n // when webpack-config has this export available via silverstripe/admin\n previewState: PropTypes.oneOf(['edit', 'preview', 'split']),\n};\n\nHistoryViewerVersionDetail.defaultProps = {\n isLatestVersion: false,\n isPreviewable: false,\n compare: false,\n};\n\nexport { HistoryViewerVersionDetail as Component };\n\nexport default inject(\n ['SnapshotHistoryViewerVersionList', 'SnapshotHistoryViewerToolbar', 'Preview', 'SnapshotHistoryViewerCompareWarning'],\n (ListComponent, ToolbarComponent, PreviewComponent, CompareWarningComponent) => ({\n ListComponent,\n ToolbarComponent,\n PreviewComponent,\n CompareWarningComponent,\n }),\n ({ version }, context) => `${context}.HistoryViewerVersionDetail.${version.Version}`\n)(HistoryViewerVersionDetail);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerVersionDetail.js","import React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport i18n from 'i18n';\nimport { connect } from 'react-redux';\nimport { compose } from 'redux';\nimport { inject } from 'lib/Injector';\nimport { messageType } from 'types/messageType';\nimport { versionType } from 'types/versionType';\nimport { compareType } from 'types/compareType';\n\nclass HistoryViewerVersionList extends PureComponent {\n /**\n * Return a string of HTML class names for the list element\n *\n * @returns {string}\n */\n getClassNames() {\n const { extraClass, showHeader } = this.props;\n\n return classnames(extraClass, {\n table: true,\n 'history-viewer__table--headerless': !showHeader,\n });\n }\n\n /**\n * Compares provided version object to see if it is one of the selected ones in the store.\n * It can be that it is either currentVersion, the versionFrom or the versionTo comparison.\n *\n * We receive either a version object, or `false` as props for current/from/to\n * If and only if we are NOT in compare mode:\n * - compare is `false`\n * - versionFrom and versionTo are `undefined`\n * - currentVersion is relevant (otherwise it can be ignored, even if it is a valid version)\n *\n * @see {state/historyviewer/HistoryViewerReducer} for how compare is set\n *\n * Otherwise we simply check to see if the provided version object's version number\n * is equal to one of the version numbers on the store objects.\n *\n * @param {Object} version\n * @returns {boolean}\n */\n isVersionActive(version) {\n const { currentVersion, compare, compare: { versionFrom, versionTo } } = this.props;\n const isCurrent = currentVersion && currentVersion.ID === version.ID;\n const isCompareFrom = versionFrom && versionFrom.ID === version.ID;\n const isCompareTo = versionTo && versionTo.ID === version.ID;\n\n return (!compare && isCurrent) || isCompareFrom || isCompareTo;\n }\n\n /**\n * Render any messages into the form\n *\n * @returns {DOMElement}\n */\n renderMessages() {\n const { FormAlertComponent, messages } = this.props;\n\n if (!messages.length) {\n return null;\n }\n\n return (\n
    \n {\n messages.map((data) => (\n \n ))\n }\n
    \n );\n }\n\n /**\n * Renders a HeadingComponent at the top of the list, unless it has been disabled.\n * @returns {HistoryViewerHeading|null}\n */\n renderHeader() {\n const { showHeader, HeadingComponent, compareModeAvailable } = this.props;\n\n if (!showHeader) {\n return null;\n }\n\n const headingProps = {\n compareModeAvailable,\n };\n\n return ;\n }\n\n render() {\n const {\n VersionComponent,\n SnapshotComponent,\n versions,\n compareModeAvailable,\n compare\n } = this.props;\n return (\n
    \n
      \n {this.renderHeader()}\n {\n versions.map((version, index) => (\n version.IsFullVersion ?\n :\n \n ))\n }\n
    \n
    \n );\n }\n}\n\nHistoryViewerVersionList.propTypes = {\n extraClass: PropTypes.oneOfType([PropTypes.string, PropTypes.array, PropTypes.object]),\n showHeader: PropTypes.bool,\n FormAlertComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n HeadingComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n messages: PropTypes.arrayOf(messageType),\n VersionComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n versions: PropTypes.arrayOf(versionType),\n compare: compareType,\n compareModeAvailable: PropTypes.bool,\n};\n\nHistoryViewerVersionList.defaultProps = {\n compareModeAvailable: true,\n extraClass: 'history-viewer__table',\n messages: [],\n showHeader: true,\n versions: [],\n};\n\nfunction mapStateToProps(state) {\n const { messages, compare, currentVersion } = state.versionedAdmin.historyViewer;\n return {\n messages,\n compare,\n currentVersion,\n };\n}\n\nexport { HistoryViewerVersionList as Component };\n\nexport default compose(\n connect(mapStateToProps),\n inject(\n ['FormAlert', 'SnapshotHistoryViewerHeading', 'SnapshotHistoryViewerVersion', 'SnapshotHistoryViewerSnapshot'],\n (FormAlert, HistoryViewerHeading, HistoryViewerVersion, HistoryViewerSnapshot) => ({\n FormAlertComponent: FormAlert,\n HeadingComponent: HistoryViewerHeading,\n VersionComponent: HistoryViewerVersion,\n SnapshotComponent: HistoryViewerSnapshot,\n }),\n () => 'VersionedAdmin.HistoryViewer.HistoryViewerVersionList'\n )\n)(HistoryViewerVersionList);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerVersionList.js","import React, { Component } from 'react';\nimport classnames from 'classnames';\nimport i18n from 'i18n';\nimport { versionType, defaultVersion } from 'types/versionType';\nimport { inject } from 'lib/Injector';\nimport PropTypes from 'prop-types';\n\nclass HistoryViewerVersionState extends Component {\n /**\n * Get the HTML classes to apply to the state\n *\n * @returns {string}\n */\n getClassNames() {\n const { extraClass } = this.props;\n return classnames('history-viewer__version-state', extraClass);\n }\n\n /**\n * When the record is published, return \"Published\", else return \"Saved\"\n *\n * @returns {string}\n */\n getPublishedState() {\n const { version } = this.props;\n if (version.ActivityType === 'PUBLISHED') {\n return i18n._t('HistoryViewer.Published', 'Published');\n }\n if (version.ActivityType === 'UNPUBLISHED') {\n return i18n._t('HistoryViewer.Unpublished', 'Unpublished');\n }\n return i18n._t('HistoryViewer.Saved', 'Saved');\n }\n\n\n /**\n * Return any status badges for the record\n *\n * @returns {ReactElement|string}\n */\n getBadges() {\n const { version, isActive, BadgeComponent } = this.props;\n\n if (version.IsLiveSnapshot) {\n return (\n \n );\n }\n\n return '';\n }\n\n render() {\n return (\n \n {this.getPublishedState()} {' '}\n {this.getBadges()}\n \n );\n }\n}\n\nHistoryViewerVersionState.propTypes = {\n version: versionType,\n extraClass: PropTypes.string,\n isActive: PropTypes.bool,\n BadgeComponent: PropTypes.oneOfType([\n PropTypes.node,\n PropTypes.func,\n ]).isRequired\n};\n\nHistoryViewerVersionState.defaultProps = {\n version: defaultVersion,\n extraClass: '',\n isActive: false,\n};\n\nexport { HistoryViewerVersionState as Component };\n\nexport default inject(\n ['Badge'],\n (BadgeComponent) => ({ BadgeComponent }),\n ({ version }) => `HistoryViewer.HistoryViewerVersionState.${version.Version}`\n)(HistoryViewerVersionState);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerVersionState.js","import React, { useMemo } from 'react';\nimport { Mutation } from 'react-apollo';\nimport createRollbackMutation from '../../graphql/createRollbackMutation';\n\nconst RollbackMutation = ({ typeName, children }) => {\n const ROLLBACK = useMemo(() => createRollbackMutation(typeName), [typeName]);\n return (\n \n {children}\n \n )\n};\n\nexport default RollbackMutation;\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/RollbackMutation.js","import React, { useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport { Query } from 'react-apollo';\nimport { inject } from 'lib/Injector';\nimport createSnapshotsQuery from '../../graphql/createSnapshotsQuery';\n\nconst SnapshotViewerContainer = ({\n data: {\n typeName,\n recordId,\n limit,\n page,\n recordClass,\n isPreviewable,\n actions = {versions: {}},\n },\n SnapshotViewerComponent,\n}) => {\n const QUERY = useMemo(() => createSnapshotsQuery(typeName, isPreviewable), [typeName, isPreviewable]);\n\n const variables = {\n limit,\n offset: ((page || 1) - 1) * limit,\n page_id: recordId,\n };\n return (\n \n {({ loading, error, data, refetch }) => {\n let readOne = null;\n if (data) {\n readOne = data[`readOne${typeName}`];\n }\n const versions = readOne || {};\n\n const errors = error && error.graphQLErrors &&\n error.graphQLErrors.map((graphQLError) => graphQLError.message);\n\n const props = {\n loading: loading,\n versions,\n graphQLErrors: errors,\n actions: {\n ...actions,\n versions: {\n ...versions,\n goToPage(page) {\n refetch({\n offset: ((page || 1) - 1) * limit,\n limit,\n page_id: recordId,\n });\n }\n },\n },\n recordId,\n recordClass,\n typeName,\n limit,\n page,\n };\n\n return (\n \n );\n }}\n \n );\n};\n\nSnapshotViewerContainer.propTypes = {\n data: PropTypes.shape({\n typeName: PropTypes.string.isRequired,\n recordId: PropTypes.number.isRequired,\n limit: PropTypes.number,\n page: PropTypes.number,\n actions: PropTypes.object,\n }),\n};\n\nexport default inject(\n ['SnapshotViewer'],\n (SnapshotViewerComponent) => ({\n SnapshotViewerComponent,\n }),\n ({ contextKey }) => `VersionedAdmin.HistoryViewer.${contextKey}`\n)(SnapshotViewerContainer);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/SnapshotViewerContainer.js","import React from 'react';\nimport Config from 'lib/Config';\nimport { inject } from 'lib/Injector';\n\nconst historyViewerConfig = (HistoryViewer) => {\n class HistoryViewerConfigProvider extends React.Component {\n getConfig() {\n const sectionKey = 'SilverStripe\\\\VersionedAdmin\\\\Controllers\\\\HistoryViewerController';\n return Config.getSection(sectionKey);\n }\n\n getSchemaUrlDetails() {\n const { compare } = this.props;\n if (compare) {\n return {\n formName: 'compareForm',\n queryParts: [\n 'RecordVersionFrom=:from',\n 'RecordVersionTo=:to',\n ],\n };\n }\n return {\n formName: 'versionForm',\n queryParts: [\n 'RecordVersion=:version',\n 'RecordDate=:date',\n ],\n };\n }\n\n getSchemaUrl() {\n const config = this.getConfig();\n const { formName, queryParts } = this.getSchemaUrlDetails();\n const schemaUrlBase = `${config.form[formName].schemaUrl}/:id`;\n const schemaUrlQuery = queryParts.concat('RecordClass=:class&RecordID=:id').join('&');\n return `${schemaUrlBase}?${schemaUrlQuery}`;\n }\n\n render() {\n const props = {\n ...this.props,\n config: this.getConfig(),\n HistoryViewer,\n schemaUrl: this.getSchemaUrl(),\n };\n\n return (\n \n );\n }\n }\n\n return inject(['SnapshotHistoryViewer'])(HistoryViewerConfigProvider);\n};\n\nexport default historyViewerConfig;\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/containers/HistoryViewer/HistoryViewerConfig.js","import { graphql } from 'react-apollo';\nimport gql from 'graphql-tag';\n\nconst createRollbakMutation = typeName => {\n return gql`\n mutation rollback${typeName}($id:ID!, $toVersion:Int!) {\n rollback${typeName}(\n ID: $id\n ToVersion: $toVersion\n ) {\n ID\n ClassName\n }\n }\n `;\n};\n\nexport default createRollbakMutation;\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/graphql/createRollbackMutation.js","import gql from 'graphql-tag';\n\nconst createSnapshotsQuery = (typeName, isPreviewable) => {\n return gql`\n query ReadSnapshots${typeName} ($page_id: ID!, $limit: Int!, $offset: Int!) {\n readOne${typeName}(\n ID: $page_id\n ) {\n ID\n ${isPreviewable ? 'AbsoluteLink' : ''}\n SnapshotHistory (limit: $limit, offset: $offset) {\n pageInfo {\n totalCount\n }\n edges {\n node {\n ID\n LastEdited\n ActivityDescription\n ActivityType\n ActivityAgo\n IsFullVersion\n IsLiveSnapshot\n BaseVersion\n Message\n Author {\n FirstName\n Surname\n }\n OriginVersion {\n Version\n ${isPreviewable ? 'AbsoluteLink' : ''}\n Author {\n FirstName\n Surname\n }\n\n Published\n Publisher {\n FirstName\n Surname\n }\n LatestDraftVersion\n }\n }\n }\n }\n }\n }\n\n `;\n};\n\nexport default createSnapshotsQuery;\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/graphql/createSnapshotsQuery.js","import i18n from 'i18n';\nimport moment from 'moment';\n\n/**\n * Formats the last edited date according to the current locale and return it in the example\n * format \"03/01/2018 2:45 PM\"\n *\n * @returns {string}\n */\nconst getDateFromVersion = version => {\n moment.locale(i18n.detectLocale());\n return moment(version.LastEdited).format('L LT');\n};\n\nexport default getDateFromVersion;\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/helpers/getDateFromVersion.js","/**\n * File: ArchiveAdmin.js\n */\nimport jQuery from 'jquery';\n\njQuery.entwine('ss', ($) => {\n $('.ArchiveAdmin__action--restore').entwine({\n onmatch() {\n $(this).attr('readonly', false);\n $(this).attr('disabled', false);\n }\n });\n\n $('.ArchiveAdmin .other-model-selector select').entwine({\n /**\n * Reacts to the user changing the content type.\n */\n onchange(e) {\n e.preventDefault();\n\n let targetClassName = $(this).val();\n const othersArchiveUrl = $(this).data('others-archive-url');\n if (targetClassName) {\n targetClassName = targetClassName.replace(/\\\\/g, '-');\n const url = othersArchiveUrl + targetClassName;\n\n $('.cms-container').loadPanel(url, '', { pjax: 'CurrentForm' });\n }\n }\n });\n});\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/legacy/ArchiveAdmin/ArchiveAdmin.js","import jQuery from 'jquery';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { loadComponent } from 'lib/Injector';\n\n/**\n * Uses entwine to inject the HistoryViewer React component into the DOM, when used\n * outside of a React context e.g. in the CMS\n */\njQuery.entwine('ss', ($) => {\n $('.js-injector-boot .snapshot-history-viewer__container').entwine({\n onmatch() {\n const cmsContent = this.closest('.cms-content').attr('id');\n const context = (cmsContent)\n ? { context: cmsContent }\n : {};\n const HistoryViewerComponent = loadComponent('SnapshotViewerContainer', context);\n const schemaData = this.data('schema');\n const props = {\n data: schemaData.data,\n // If the HistoryViewerField is instantiated via a GridFieldDetailForm, it will not\n // have this class attached (see CMSPageHistoryViewerController).\n isInGridField: schemaData.data.isInGridField || !this.hasClass('history-viewer--standalone'),\n };\n\n ReactDOM.render(\n ,\n this[0]\n );\n },\n\n onunmatch() {\n ReactDOM.unmountComponentAtNode(this[0]);\n }\n });\n\n // Prevent the default anchor behaviour for any CMS tab links that are rendered in\n // via a React FormBuilder\n $('.history-viewer__version-detail .nav-link').entwine({\n onclick(e) {\n e.preventDefault();\n this._super(e);\n }\n });\n\n // Work arounds for the CMS not rendering entirely in react yet\n // When loading from e.g. GridFieldDetailForm both button sets\n // save/publish _and_ the \"revert\" button were rendered.\n // Enabling this functionality requires a developer to add\n // $tab->addExtraClass('tab--history-viewer')\n // to the tab the HistoryViewerField is rendered into.\n // c.f. dnadesign/silverstripe-elemental BaseElement::getCMSFields\n $('.tab.tab--history-viewer[aria-hidden=false]').entwine({\n onmatch() {\n $('.toolbar--south.cms-content-actions').hide();\n },\n onunmatch() {\n $('.toolbar--south.cms-content-actions').show();\n }\n });\n $('.tab.tab--history-viewer .history-viewer__version-detail').entwine({\n onmatch() {\n this\n .parent()\n .css('padding-bottom', '3rem')\n .next('.toolbar--south')\n .css({\n position: 'absolute',\n bottom: 0,\n left: 0,\n right: 0\n });\n }\n });\n});\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/legacy/HistoryViewer/HistoryViewerEntwine.js","// Action type constants, of the form\n// HISTORY_VIEWER.SET_CURRENT_VERSION === 'HISTORY_VIEWER.SET_CURRENT_VERSION'\n\nexport default [\n 'SHOW_VERSION',\n 'SHOW_DATE',\n 'SHOW_LIST',\n 'SET_CURRENT_PAGE',\n 'ADD_MESSAGE',\n 'CLEAR_MESSAGES',\n 'SET_COMPARE_MODE',\n 'SET_COMPARE_FROM',\n 'SET_COMPARE_TO',\n].reduce((obj, item) => Object.assign(obj, { [item]: `HISTORY_VIEWER.${item}` }), {});\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/state/historyviewer/HistoryViewerActionTypes.js","import HISTORY_VIEWER from './HistoryViewerActionTypes';\nimport uuidv1 from 'uuid/v1';\n\n/**\n * Show the provided version in the viewer, i.e. a detail or comparison view\n * Fetching specifically by version is a little more deterministic and performant compared to\n * fetching by date (below)\n *\n * @param {Object} version\n * @returns {Object}\n */\nexport function showVersion(version) {\n return {\n type: HISTORY_VIEWER.SHOW_VERSION,\n payload: { version },\n };\n}\n\n/**\n * Show the provided version in the viewer, i.e. a detail or comparison view\n *\n * @param {Object} version\n * @returns {Object}\n */\nexport function showDate(version) {\n return {\n type: HISTORY_VIEWER.SHOW_DATE,\n payload: { version },\n };\n}\n\n/**\n * Return to list view\n * @returns {Object}\n */\nexport function showList() {\n return {\n type: HISTORY_VIEWER.SHOW_LIST,\n };\n}\n\n/**\n * Set the current pagination page number for the list of history viewer versions\n *\n * @param {int} page\n * @returns {Object}\n */\nexport function setCurrentPage(page) {\n return {\n type: HISTORY_VIEWER.SET_CURRENT_PAGE,\n payload: { page },\n };\n}\n\n/**\n * Add a new status message, for example \"Successfully reverted to version 123\"\n *\n * @param {string} message\n * @param {string} type\n * @returns {Object}\n */\nexport function addMessage(message, type = 'success') {\n return {\n type: HISTORY_VIEWER.ADD_MESSAGE,\n payload: { id: uuidv1(), message, type },\n };\n}\n\n/**\n * Clear all status messages\n *\n * @returns {Object}\n */\nexport function clearMessages() {\n return {\n type: HISTORY_VIEWER.CLEAR_MESSAGES,\n };\n}\n\n/**\n * Enables or disables the comparison mode\n *\n * @param {boolean} enabled\n * @returns {Object}\n */\nexport function setCompareMode(enabled) {\n return {\n type: HISTORY_VIEWER.SET_COMPARE_MODE,\n payload: { enabled },\n };\n}\n\n/**\n * Sets the comparison mode 'from' a version\n *\n * @param {Object} version\n * @returns {Object}\n */\nexport function setCompareFrom(version) {\n return {\n type: HISTORY_VIEWER.SET_COMPARE_FROM,\n payload: { version },\n };\n}\n\n/**\n * Sets the comparison mode 'to' a version\n *\n * @param {Object} version\n * @returns {Object}\n */\nexport function setCompareTo(version) {\n return {\n type: HISTORY_VIEWER.SET_COMPARE_TO,\n payload: { version },\n };\n}\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/state/historyviewer/HistoryViewerActions.js","import HISTORY_VIEWER from './HistoryViewerActionTypes';\nimport { defaultCompare } from 'types/compareType';\nimport { VERSION_MODE_VERSION, VERSION_MODE_DATE } from 'components/HistoryViewer/HistoryViewer';\n\nconst initialState = {\n currentPage: 1,\n previewMode: false, // False for not displayed by default\n currentVersion: false,\n compare: defaultCompare,\n loading: false,\n messages: [],\n};\n\n/**\n * Reducer for the `versionedAdmin.historyViewer` state key.\n *\n * @param {object} state\n * @param {string} type - Name of the dispatched action.\n * @param {object} payload - Optional data passed with the action.\n */\nexport default function historyViewerReducer(state = initialState, { type, payload } = {}) {\n switch (type) {\n case HISTORY_VIEWER.SET_CURRENT_PAGE: {\n return {\n ...state,\n currentPage: payload.page,\n };\n }\n\n case HISTORY_VIEWER.SHOW_VERSION: {\n const { version } = payload;\n return {\n ...state,\n previewMode: version && VERSION_MODE_VERSION,\n currentVersion: version,\n };\n }\n\n case HISTORY_VIEWER.SHOW_DATE: {\n const { version } = payload;\n return {\n ...state,\n previewMode: version && VERSION_MODE_DATE,\n currentVersion: version,\n };\n }\n\n case HISTORY_VIEWER.SHOW_LIST: {\n return {\n ...state,\n currentVersion: false,\n currentDate: false,\n previewMode: false,\n currentPage: 0,\n };\n }\n\n case HISTORY_VIEWER.ADD_MESSAGE: {\n return {\n ...state,\n messages: [\n payload,\n ...state.messages,\n ],\n };\n }\n\n case HISTORY_VIEWER.CLEAR_MESSAGES: {\n return {\n ...state,\n messages: [],\n };\n }\n\n case HISTORY_VIEWER.SET_COMPARE_MODE: {\n const initialCompare = {\n versionFrom: false,\n versionTo: false,\n ...state.compare\n };\n\n return {\n ...state,\n compare: payload.enabled ? initialCompare : false,\n previewMode: payload.enabled ? state.previewMode : false,\n };\n }\n\n case HISTORY_VIEWER.SET_COMPARE_FROM: {\n let { compare: { versionFrom, versionTo } } = state;\n versionFrom = payload.version || false;\n\n if (!versionFrom) {\n versionFrom = versionTo;\n versionTo = false;\n }\n\n return {\n ...state,\n currentVersion: versionFrom,\n compare: { versionFrom, versionTo },\n };\n }\n\n case HISTORY_VIEWER.SET_COMPARE_TO: {\n let { compare: { versionFrom, versionTo } } = state;\n versionTo = payload.version || false;\n\n // A normal `diff` always shows what it takes turn FROM into TO\n // Here, comparisons are always FROM oldest TO newest version\n // Version IDs (versionObject.Version) are always positive & in creation order.\n if (versionTo && versionFrom && versionTo.Version < versionFrom.Version) {\n versionFrom = versionTo;\n versionTo = state.compare.versionFrom;\n }\n\n return {\n ...state,\n currentVersion: versionFrom,\n compare: { versionFrom, versionTo },\n };\n }\n\n default:\n return state;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/state/historyviewer/HistoryViewerReducer.js","import PropTypes from 'prop-types';\nimport { versionType } from './versionType';\n\n// Describes the data structure for compare version storage\nconst compareType = PropTypes.oneOfType([PropTypes.bool, PropTypes.shape({\n versionFrom: versionType,\n versionTo: versionType,\n})]);\n\n// A default (empty) data set for a version\nconst defaultCompare = false;\n\nexport { compareType, defaultCompare };\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/types/compareType.js","import PropTypes from 'prop-types';\n\n// Describes the structure of a message that can be shared between components via Redux\nconst messageType = PropTypes.shape({\n id: PropTypes.string,\n message: PropTypes.string,\n type: PropTypes.oneOf(['error', 'info', 'success', 'warning']),\n});\n\nexport { messageType };\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/types/messageType.js","import PropTypes from 'prop-types';\n\n// Describes the expected data structure for a member attached to a version\nconst memberShape = PropTypes.shape({\n FirstName: PropTypes.string,\n Surname: PropTypes.string,\n});\n\n// Describes the data structure for a Version, returned via GraphQL scaffolding\nconst versionType = PropTypes.shape({\n Version: PropTypes.number,\n AbsoluteLink: PropTypes.string,\n LastEdited: PropTypes.string,\n Published: PropTypes.boolean,\n LiveVersion: PropTypes.boolean,\n LatestDraftVersion: PropTypes.boolean,\n Message: PropTypes.string,\n Publisher: memberShape,\n Author: memberShape,\n});\n\n// A default (empty) data set for a version\nconst defaultVersion = {\n Version: 0,\n AbsoluteLink: '',\n LastEdited: '',\n Published: false,\n LiveVersion: false,\n LatestDraftVersion: false,\n Message: '',\n Publisher: {\n FirstName: '',\n Surname: '',\n },\n Author: {\n FirstName: '',\n Surname: '',\n },\n};\n\nexport { versionType, defaultVersion };\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/types/versionType.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar emptyObject = require('fbjs/lib/emptyObject');\nvar _invariant = require('fbjs/lib/invariant');\n\nif (process.env.NODE_ENV !== 'production') {\n var warning = require('fbjs/lib/warning');\n}\n\nvar MIXINS_KEY = 'mixins';\n\n// Helper function to allow the creation of anonymous functions which do not\n// have .name set to the name of the variable being assigned to.\nfunction identity(fn) {\n return fn;\n}\n\nvar ReactPropTypeLocationNames;\nif (process.env.NODE_ENV !== 'production') {\n ReactPropTypeLocationNames = {\n prop: 'prop',\n context: 'context',\n childContext: 'child context'\n };\n} else {\n ReactPropTypeLocationNames = {};\n}\n\nfunction factory(ReactComponent, isValidElement, ReactNoopUpdateQueue) {\n /**\n * Policies that describe methods in `ReactClassInterface`.\n */\n\n var injectedMixins = [];\n\n /**\n * Composite components are higher-level components that compose other composite\n * or host components.\n *\n * To create a new type of `ReactClass`, pass a specification of\n * your new class to `React.createClass`. The only requirement of your class\n * specification is that you implement a `render` method.\n *\n * var MyComponent = React.createClass({\n * render: function() {\n * return
    Hello World
    ;\n * }\n * });\n *\n * The class specification supports a specific protocol of methods that have\n * special meaning (e.g. `render`). See `ReactClassInterface` for\n * more the comprehensive protocol. Any other properties and methods in the\n * class specification will be available on the prototype.\n *\n * @interface ReactClassInterface\n * @internal\n */\n var ReactClassInterface = {\n /**\n * An array of Mixin objects to include when defining your component.\n *\n * @type {array}\n * @optional\n */\n mixins: 'DEFINE_MANY',\n\n /**\n * An object containing properties and methods that should be defined on\n * the component's constructor instead of its prototype (static methods).\n *\n * @type {object}\n * @optional\n */\n statics: 'DEFINE_MANY',\n\n /**\n * Definition of prop types for this component.\n *\n * @type {object}\n * @optional\n */\n propTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types for this component.\n *\n * @type {object}\n * @optional\n */\n contextTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types this component sets for its children.\n *\n * @type {object}\n * @optional\n */\n childContextTypes: 'DEFINE_MANY',\n\n // ==== Definition methods ====\n\n /**\n * Invoked when the component is mounted. Values in the mapping will be set on\n * `this.props` if that prop is not specified (i.e. using an `in` check).\n *\n * This method is invoked before `getInitialState` and therefore cannot rely\n * on `this.state` or use `this.setState`.\n *\n * @return {object}\n * @optional\n */\n getDefaultProps: 'DEFINE_MANY_MERGED',\n\n /**\n * Invoked once before the component is mounted. The return value will be used\n * as the initial value of `this.state`.\n *\n * getInitialState: function() {\n * return {\n * isOn: false,\n * fooBaz: new BazFoo()\n * }\n * }\n *\n * @return {object}\n * @optional\n */\n getInitialState: 'DEFINE_MANY_MERGED',\n\n /**\n * @return {object}\n * @optional\n */\n getChildContext: 'DEFINE_MANY_MERGED',\n\n /**\n * Uses props from `this.props` and state from `this.state` to render the\n * structure of the component.\n *\n * No guarantees are made about when or how often this method is invoked, so\n * it must not have side effects.\n *\n * render: function() {\n * var name = this.props.name;\n * return
    Hello, {name}!
    ;\n * }\n *\n * @return {ReactComponent}\n * @required\n */\n render: 'DEFINE_ONCE',\n\n // ==== Delegate methods ====\n\n /**\n * Invoked when the component is initially created and about to be mounted.\n * This may have side effects, but any external subscriptions or data created\n * by this method must be cleaned up in `componentWillUnmount`.\n *\n * @optional\n */\n componentWillMount: 'DEFINE_MANY',\n\n /**\n * Invoked when the component has been mounted and has a DOM representation.\n * However, there is no guarantee that the DOM node is in the document.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been mounted (initialized and rendered) for the first time.\n *\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidMount: 'DEFINE_MANY',\n\n /**\n * Invoked before the component receives new props.\n *\n * Use this as an opportunity to react to a prop transition by updating the\n * state using `this.setState`. Current props are accessed via `this.props`.\n *\n * componentWillReceiveProps: function(nextProps, nextContext) {\n * this.setState({\n * likesIncreasing: nextProps.likeCount > this.props.likeCount\n * });\n * }\n *\n * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop\n * transition may cause a state change, but the opposite is not true. If you\n * need it, you are probably looking for `componentWillUpdate`.\n *\n * @param {object} nextProps\n * @optional\n */\n componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Invoked while deciding if the component should be updated as a result of\n * receiving new props, state and/or context.\n *\n * Use this as an opportunity to `return false` when you're certain that the\n * transition to the new props/state/context will not require a component\n * update.\n *\n * shouldComponentUpdate: function(nextProps, nextState, nextContext) {\n * return !equal(nextProps, this.props) ||\n * !equal(nextState, this.state) ||\n * !equal(nextContext, this.context);\n * }\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @return {boolean} True if the component should update.\n * @optional\n */\n shouldComponentUpdate: 'DEFINE_ONCE',\n\n /**\n * Invoked when the component is about to update due to a transition from\n * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState`\n * and `nextContext`.\n *\n * Use this as an opportunity to perform preparation before an update occurs.\n *\n * NOTE: You **cannot** use `this.setState()` in this method.\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @param {ReactReconcileTransaction} transaction\n * @optional\n */\n componentWillUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component's DOM representation has been updated.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been updated.\n *\n * @param {object} prevProps\n * @param {?object} prevState\n * @param {?object} prevContext\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component is about to be removed from its parent and have\n * its DOM representation destroyed.\n *\n * Use this as an opportunity to deallocate any external resources.\n *\n * NOTE: There is no `componentDidUnmount` since your component will have been\n * destroyed by that point.\n *\n * @optional\n */\n componentWillUnmount: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillMount`.\n *\n * @optional\n */\n UNSAFE_componentWillMount: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillReceiveProps`.\n *\n * @optional\n */\n UNSAFE_componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillUpdate`.\n *\n * @optional\n */\n UNSAFE_componentWillUpdate: 'DEFINE_MANY',\n\n // ==== Advanced methods ====\n\n /**\n * Updates the component's currently mounted DOM representation.\n *\n * By default, this implements React's rendering and reconciliation algorithm.\n * Sophisticated clients may wish to override this.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n * @overridable\n */\n updateComponent: 'OVERRIDE_BASE'\n };\n\n /**\n * Similar to ReactClassInterface but for static methods.\n */\n var ReactClassStaticInterface = {\n /**\n * This method is invoked after a component is instantiated and when it\n * receives new props. Return an object to update state in response to\n * prop changes. Return null to indicate no change to state.\n *\n * If an object is returned, its keys will be merged into the existing state.\n *\n * @return {object || null}\n * @optional\n */\n getDerivedStateFromProps: 'DEFINE_MANY_MERGED'\n };\n\n /**\n * Mapping from class specification keys to special processing functions.\n *\n * Although these are declared like instance properties in the specification\n * when defining classes using `React.createClass`, they are actually static\n * and are accessible on the constructor instead of the prototype. Despite\n * being static, they must be defined outside of the \"statics\" key under\n * which all other static methods are defined.\n */\n var RESERVED_SPEC_KEYS = {\n displayName: function(Constructor, displayName) {\n Constructor.displayName = displayName;\n },\n mixins: function(Constructor, mixins) {\n if (mixins) {\n for (var i = 0; i < mixins.length; i++) {\n mixSpecIntoComponent(Constructor, mixins[i]);\n }\n }\n },\n childContextTypes: function(Constructor, childContextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, childContextTypes, 'childContext');\n }\n Constructor.childContextTypes = _assign(\n {},\n Constructor.childContextTypes,\n childContextTypes\n );\n },\n contextTypes: function(Constructor, contextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, contextTypes, 'context');\n }\n Constructor.contextTypes = _assign(\n {},\n Constructor.contextTypes,\n contextTypes\n );\n },\n /**\n * Special case getDefaultProps which should move into statics but requires\n * automatic merging.\n */\n getDefaultProps: function(Constructor, getDefaultProps) {\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps = createMergedResultFunction(\n Constructor.getDefaultProps,\n getDefaultProps\n );\n } else {\n Constructor.getDefaultProps = getDefaultProps;\n }\n },\n propTypes: function(Constructor, propTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, propTypes, 'prop');\n }\n Constructor.propTypes = _assign({}, Constructor.propTypes, propTypes);\n },\n statics: function(Constructor, statics) {\n mixStaticSpecIntoComponent(Constructor, statics);\n },\n autobind: function() {}\n };\n\n function validateTypeDef(Constructor, typeDef, location) {\n for (var propName in typeDef) {\n if (typeDef.hasOwnProperty(propName)) {\n // use a warning instead of an _invariant so components\n // don't show up in prod but only in __DEV__\n if (process.env.NODE_ENV !== 'production') {\n warning(\n typeof typeDef[propName] === 'function',\n '%s: %s type `%s` is invalid; it must be a function, usually from ' +\n 'React.PropTypes.',\n Constructor.displayName || 'ReactClass',\n ReactPropTypeLocationNames[location],\n propName\n );\n }\n }\n }\n }\n\n function validateMethodOverride(isAlreadyDefined, name) {\n var specPolicy = ReactClassInterface.hasOwnProperty(name)\n ? ReactClassInterface[name]\n : null;\n\n // Disallow overriding of base class methods unless explicitly allowed.\n if (ReactClassMixin.hasOwnProperty(name)) {\n _invariant(\n specPolicy === 'OVERRIDE_BASE',\n 'ReactClassInterface: You are attempting to override ' +\n '`%s` from your class specification. Ensure that your method names ' +\n 'do not overlap with React methods.',\n name\n );\n }\n\n // Disallow defining methods more than once unless explicitly allowed.\n if (isAlreadyDefined) {\n _invariant(\n specPolicy === 'DEFINE_MANY' || specPolicy === 'DEFINE_MANY_MERGED',\n 'ReactClassInterface: You are attempting to define ' +\n '`%s` on your component more than once. This conflict may be due ' +\n 'to a mixin.',\n name\n );\n }\n }\n\n /**\n * Mixin helper which handles policy validation and reserved\n * specification keys when building React classes.\n */\n function mixSpecIntoComponent(Constructor, spec) {\n if (!spec) {\n if (process.env.NODE_ENV !== 'production') {\n var typeofSpec = typeof spec;\n var isMixinValid = typeofSpec === 'object' && spec !== null;\n\n if (process.env.NODE_ENV !== 'production') {\n warning(\n isMixinValid,\n \"%s: You're attempting to include a mixin that is either null \" +\n 'or not an object. Check the mixins included by the component, ' +\n 'as well as any mixins they include themselves. ' +\n 'Expected object but got %s.',\n Constructor.displayName || 'ReactClass',\n spec === null ? null : typeofSpec\n );\n }\n }\n\n return;\n }\n\n _invariant(\n typeof spec !== 'function',\n \"ReactClass: You're attempting to \" +\n 'use a component class or function as a mixin. Instead, just use a ' +\n 'regular object.'\n );\n _invariant(\n !isValidElement(spec),\n \"ReactClass: You're attempting to \" +\n 'use a component as a mixin. Instead, just use a regular object.'\n );\n\n var proto = Constructor.prototype;\n var autoBindPairs = proto.__reactAutoBindPairs;\n\n // By handling mixins before any other properties, we ensure the same\n // chaining order is applied to methods with DEFINE_MANY policy, whether\n // mixins are listed before or after these methods in the spec.\n if (spec.hasOwnProperty(MIXINS_KEY)) {\n RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins);\n }\n\n for (var name in spec) {\n if (!spec.hasOwnProperty(name)) {\n continue;\n }\n\n if (name === MIXINS_KEY) {\n // We have already handled mixins in a special case above.\n continue;\n }\n\n var property = spec[name];\n var isAlreadyDefined = proto.hasOwnProperty(name);\n validateMethodOverride(isAlreadyDefined, name);\n\n if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {\n RESERVED_SPEC_KEYS[name](Constructor, property);\n } else {\n // Setup methods on prototype:\n // The following member methods should not be automatically bound:\n // 1. Expected ReactClass methods (in the \"interface\").\n // 2. Overridden methods (that were mixed in).\n var isReactClassMethod = ReactClassInterface.hasOwnProperty(name);\n var isFunction = typeof property === 'function';\n var shouldAutoBind =\n isFunction &&\n !isReactClassMethod &&\n !isAlreadyDefined &&\n spec.autobind !== false;\n\n if (shouldAutoBind) {\n autoBindPairs.push(name, property);\n proto[name] = property;\n } else {\n if (isAlreadyDefined) {\n var specPolicy = ReactClassInterface[name];\n\n // These cases should already be caught by validateMethodOverride.\n _invariant(\n isReactClassMethod &&\n (specPolicy === 'DEFINE_MANY_MERGED' ||\n specPolicy === 'DEFINE_MANY'),\n 'ReactClass: Unexpected spec policy %s for key %s ' +\n 'when mixing in component specs.',\n specPolicy,\n name\n );\n\n // For methods which are defined more than once, call the existing\n // methods before calling the new property, merging if appropriate.\n if (specPolicy === 'DEFINE_MANY_MERGED') {\n proto[name] = createMergedResultFunction(proto[name], property);\n } else if (specPolicy === 'DEFINE_MANY') {\n proto[name] = createChainedFunction(proto[name], property);\n }\n } else {\n proto[name] = property;\n if (process.env.NODE_ENV !== 'production') {\n // Add verbose displayName to the function, which helps when looking\n // at profiling tools.\n if (typeof property === 'function' && spec.displayName) {\n proto[name].displayName = spec.displayName + '_' + name;\n }\n }\n }\n }\n }\n }\n }\n\n function mixStaticSpecIntoComponent(Constructor, statics) {\n if (!statics) {\n return;\n }\n\n for (var name in statics) {\n var property = statics[name];\n if (!statics.hasOwnProperty(name)) {\n continue;\n }\n\n var isReserved = name in RESERVED_SPEC_KEYS;\n _invariant(\n !isReserved,\n 'ReactClass: You are attempting to define a reserved ' +\n 'property, `%s`, that shouldn\\'t be on the \"statics\" key. Define it ' +\n 'as an instance property instead; it will still be accessible on the ' +\n 'constructor.',\n name\n );\n\n var isAlreadyDefined = name in Constructor;\n if (isAlreadyDefined) {\n var specPolicy = ReactClassStaticInterface.hasOwnProperty(name)\n ? ReactClassStaticInterface[name]\n : null;\n\n _invariant(\n specPolicy === 'DEFINE_MANY_MERGED',\n 'ReactClass: You are attempting to define ' +\n '`%s` on your component more than once. This conflict may be ' +\n 'due to a mixin.',\n name\n );\n\n Constructor[name] = createMergedResultFunction(Constructor[name], property);\n\n return;\n }\n\n Constructor[name] = property;\n }\n }\n\n /**\n * Merge two objects, but throw if both contain the same key.\n *\n * @param {object} one The first object, which is mutated.\n * @param {object} two The second object\n * @return {object} one after it has been mutated to contain everything in two.\n */\n function mergeIntoWithNoDuplicateKeys(one, two) {\n _invariant(\n one && two && typeof one === 'object' && typeof two === 'object',\n 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.'\n );\n\n for (var key in two) {\n if (two.hasOwnProperty(key)) {\n _invariant(\n one[key] === undefined,\n 'mergeIntoWithNoDuplicateKeys(): ' +\n 'Tried to merge two objects with the same key: `%s`. This conflict ' +\n 'may be due to a mixin; in particular, this may be caused by two ' +\n 'getInitialState() or getDefaultProps() methods returning objects ' +\n 'with clashing keys.',\n key\n );\n one[key] = two[key];\n }\n }\n return one;\n }\n\n /**\n * Creates a function that invokes two functions and merges their return values.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\n function createMergedResultFunction(one, two) {\n return function mergedResult() {\n var a = one.apply(this, arguments);\n var b = two.apply(this, arguments);\n if (a == null) {\n return b;\n } else if (b == null) {\n return a;\n }\n var c = {};\n mergeIntoWithNoDuplicateKeys(c, a);\n mergeIntoWithNoDuplicateKeys(c, b);\n return c;\n };\n }\n\n /**\n * Creates a function that invokes two functions and ignores their return vales.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\n function createChainedFunction(one, two) {\n return function chainedFunction() {\n one.apply(this, arguments);\n two.apply(this, arguments);\n };\n }\n\n /**\n * Binds a method to the component.\n *\n * @param {object} component Component whose method is going to be bound.\n * @param {function} method Method to be bound.\n * @return {function} The bound method.\n */\n function bindAutoBindMethod(component, method) {\n var boundMethod = method.bind(component);\n if (process.env.NODE_ENV !== 'production') {\n boundMethod.__reactBoundContext = component;\n boundMethod.__reactBoundMethod = method;\n boundMethod.__reactBoundArguments = null;\n var componentName = component.constructor.displayName;\n var _bind = boundMethod.bind;\n boundMethod.bind = function(newThis) {\n for (\n var _len = arguments.length,\n args = Array(_len > 1 ? _len - 1 : 0),\n _key = 1;\n _key < _len;\n _key++\n ) {\n args[_key - 1] = arguments[_key];\n }\n\n // User is trying to bind() an autobound method; we effectively will\n // ignore the value of \"this\" that the user is trying to use, so\n // let's warn.\n if (newThis !== component && newThis !== null) {\n if (process.env.NODE_ENV !== 'production') {\n warning(\n false,\n 'bind(): React component methods may only be bound to the ' +\n 'component instance. See %s',\n componentName\n );\n }\n } else if (!args.length) {\n if (process.env.NODE_ENV !== 'production') {\n warning(\n false,\n 'bind(): You are binding a component method to the component. ' +\n 'React does this for you automatically in a high-performance ' +\n 'way, so you can safely remove this call. See %s',\n componentName\n );\n }\n return boundMethod;\n }\n var reboundMethod = _bind.apply(boundMethod, arguments);\n reboundMethod.__reactBoundContext = component;\n reboundMethod.__reactBoundMethod = method;\n reboundMethod.__reactBoundArguments = args;\n return reboundMethod;\n };\n }\n return boundMethod;\n }\n\n /**\n * Binds all auto-bound methods in a component.\n *\n * @param {object} component Component whose method is going to be bound.\n */\n function bindAutoBindMethods(component) {\n var pairs = component.__reactAutoBindPairs;\n for (var i = 0; i < pairs.length; i += 2) {\n var autoBindKey = pairs[i];\n var method = pairs[i + 1];\n component[autoBindKey] = bindAutoBindMethod(component, method);\n }\n }\n\n var IsMountedPreMixin = {\n componentDidMount: function() {\n this.__isMounted = true;\n }\n };\n\n var IsMountedPostMixin = {\n componentWillUnmount: function() {\n this.__isMounted = false;\n }\n };\n\n /**\n * Add more to the ReactClass base class. These are all legacy features and\n * therefore not already part of the modern ReactComponent.\n */\n var ReactClassMixin = {\n /**\n * TODO: This will be deprecated because state should always keep a consistent\n * type signature and the only use case for this, is to avoid that.\n */\n replaceState: function(newState, callback) {\n this.updater.enqueueReplaceState(this, newState, callback);\n },\n\n /**\n * Checks whether or not this composite component is mounted.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function() {\n if (process.env.NODE_ENV !== 'production') {\n warning(\n this.__didWarnIsMounted,\n '%s: isMounted is deprecated. Instead, make sure to clean up ' +\n 'subscriptions and pending requests in componentWillUnmount to ' +\n 'prevent memory leaks.',\n (this.constructor && this.constructor.displayName) ||\n this.name ||\n 'Component'\n );\n this.__didWarnIsMounted = true;\n }\n return !!this.__isMounted;\n }\n };\n\n var ReactClassComponent = function() {};\n _assign(\n ReactClassComponent.prototype,\n ReactComponent.prototype,\n ReactClassMixin\n );\n\n /**\n * Creates a composite component class given a class specification.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createclass\n *\n * @param {object} spec Class specification (which must define `render`).\n * @return {function} Component constructor function.\n * @public\n */\n function createClass(spec) {\n // To keep our warnings more understandable, we'll use a little hack here to\n // ensure that Constructor.name !== 'Constructor'. This makes sure we don't\n // unnecessarily identify a class without displayName as 'Constructor'.\n var Constructor = identity(function(props, context, updater) {\n // This constructor gets overridden by mocks. The argument is used\n // by mocks to assert on what gets mounted.\n\n if (process.env.NODE_ENV !== 'production') {\n warning(\n this instanceof Constructor,\n 'Something is calling a React component directly. Use a factory or ' +\n 'JSX instead. See: https://fb.me/react-legacyfactory'\n );\n }\n\n // Wire up auto-binding\n if (this.__reactAutoBindPairs.length) {\n bindAutoBindMethods(this);\n }\n\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n\n this.state = null;\n\n // ReactClasses doesn't have constructors. Instead, they use the\n // getInitialState and componentWillMount methods for initialization.\n\n var initialState = this.getInitialState ? this.getInitialState() : null;\n if (process.env.NODE_ENV !== 'production') {\n // We allow auto-mocks to proceed as if they're returning null.\n if (\n initialState === undefined &&\n this.getInitialState._isMockFunction\n ) {\n // This is probably bad practice. Consider warning here and\n // deprecating this convenience.\n initialState = null;\n }\n }\n _invariant(\n typeof initialState === 'object' && !Array.isArray(initialState),\n '%s.getInitialState(): must return an object or null',\n Constructor.displayName || 'ReactCompositeComponent'\n );\n\n this.state = initialState;\n });\n Constructor.prototype = new ReactClassComponent();\n Constructor.prototype.constructor = Constructor;\n Constructor.prototype.__reactAutoBindPairs = [];\n\n injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor));\n\n mixSpecIntoComponent(Constructor, IsMountedPreMixin);\n mixSpecIntoComponent(Constructor, spec);\n mixSpecIntoComponent(Constructor, IsMountedPostMixin);\n\n // Initialize the defaultProps property after all mixins have been merged.\n if (Constructor.getDefaultProps) {\n Constructor.defaultProps = Constructor.getDefaultProps();\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // This is a tag to indicate that the use of these method names is ok,\n // since it's used with createClass. If it's not, then it's likely a\n // mistake so we'll warn you to use the static property, property\n // initializer or constructor respectively.\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps.isReactClassApproved = {};\n }\n if (Constructor.prototype.getInitialState) {\n Constructor.prototype.getInitialState.isReactClassApproved = {};\n }\n }\n\n _invariant(\n Constructor.prototype.render,\n 'createClass(...): Class specification must implement a `render` method.'\n );\n\n if (process.env.NODE_ENV !== 'production') {\n warning(\n !Constructor.prototype.componentShouldUpdate,\n '%s has a method called ' +\n 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' +\n 'The name is phrased as a question because the function is ' +\n 'expected to return a value.',\n spec.displayName || 'A component'\n );\n warning(\n !Constructor.prototype.componentWillRecieveProps,\n '%s has a method called ' +\n 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?',\n spec.displayName || 'A component'\n );\n warning(\n !Constructor.prototype.UNSAFE_componentWillRecieveProps,\n '%s has a method called UNSAFE_componentWillRecieveProps(). ' +\n 'Did you mean UNSAFE_componentWillReceiveProps()?',\n spec.displayName || 'A component'\n );\n }\n\n // Reduce time spent doing lookups by setting these on the prototype.\n for (var methodName in ReactClassInterface) {\n if (!Constructor.prototype[methodName]) {\n Constructor.prototype[methodName] = null;\n }\n }\n\n return Constructor;\n }\n\n return createClass;\n}\n\nmodule.exports = factory;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/create-react-class/factory.js\n// module id = ./node_modules/create-react-class/factory.js\n// module chunks = 0","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar React = require('react');\nvar factory = require('./factory');\n\nif (typeof React === 'undefined') {\n throw Error(\n 'create-react-class could not find the React object. If you are using script tags, ' +\n 'make sure that React is being loaded before create-react-class.'\n );\n}\n\n// Hack to grab NoopUpdateQueue from isomorphic React\nvar ReactNoopUpdateQueue = new React.Component().updater;\n\nmodule.exports = factory(\n React.Component,\n React.isValidElement,\n ReactNoopUpdateQueue\n);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/create-react-class/index.js\n// module id = ./node_modules/create-react-class/index.js\n// module chunks = 0","module.exports = global[\"SnapshotsViewer\"] = require(\"-!/Users/aaroncarlino/Sites/westpac-2020/vendor/silverstripe/versioned-snapshot-admin/node_modules/babel-loader/lib/index.js??ref--0!./HistoryViewer.js\");\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/expose-loader?SnapshotsViewer!./client/src/components/HistoryViewer/HistoryViewer.js-exposed\n// module id = ./node_modules/expose-loader/index.js?SnapshotsViewer!./client/src/components/HistoryViewer/HistoryViewer.js-exposed\n// module chunks = 0","module.exports = global[\"versionType\"] = require(\"-!/Users/aaroncarlino/Sites/westpac-2020/vendor/silverstripe/versioned-snapshot-admin/node_modules/babel-loader/lib/index.js??ref--0!./versionType.js\");\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/expose-loader?versionType!./client/src/types/versionType.js-exposed\n// module id = ./node_modules/expose-loader/index.js?versionType!./client/src/types/versionType.js-exposed\n// module chunks = 0","\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\nfunction makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n}\n\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\nvar emptyFunction = function emptyFunction() {};\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\nemptyFunction.thatReturnsThis = function () {\n return this;\n};\nemptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n};\n\nmodule.exports = emptyFunction;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/emptyFunction.js\n// module id = ./node_modules/fbjs/lib/emptyFunction.js\n// module chunks = 0","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar emptyObject = {};\n\nif (process.env.NODE_ENV !== 'production') {\n Object.freeze(emptyObject);\n}\n\nmodule.exports = emptyObject;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/emptyObject.js\n// module id = ./node_modules/fbjs/lib/emptyObject.js\n// module chunks = 0","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar validateFormat = function validateFormat(format) {};\n\nif (process.env.NODE_ENV !== 'production') {\n validateFormat = function validateFormat(format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n}\n\nfunction invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n}\n\nmodule.exports = invariant;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/invariant.js\n// module id = ./node_modules/fbjs/lib/invariant.js\n// module chunks = 0","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar emptyFunction = require('./emptyFunction');\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar warning = emptyFunction;\n\nif (process.env.NODE_ENV !== 'production') {\n var printWarning = function printWarning(format) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n\n warning = function warning(condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (format.indexOf('Failed Composite propType: ') === 0) {\n return; // Ignore CompositeComponent proptype check.\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(undefined, [format].concat(args));\n }\n };\n}\n\nmodule.exports = warning;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/warning.js\n// module id = ./node_modules/fbjs/lib/warning.js\n// module chunks = 0","'use strict';\n\nvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\nvar map = require('lodash/map');\nvar filter = require('lodash/filter');\nvar find = require('lodash/find');\nvar sortBy = require('lodash/sortBy');\nvar difference = require('lodash/difference');\n\nvar ColumnProperties = (function () {\n function ColumnProperties() {\n var allColumns = arguments.length <= 0 || arguments[0] === undefined ? [] : arguments[0];\n var filteredColumns = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1];\n var childrenColumnName = arguments.length <= 2 || arguments[2] === undefined ? \"children\" : arguments[2];\n var columnMetadata = arguments.length <= 3 || arguments[3] === undefined ? [] : arguments[3];\n var metadataColumns = arguments.length <= 4 || arguments[4] === undefined ? [] : arguments[4];\n\n _classCallCheck(this, ColumnProperties);\n\n this.allColumns = allColumns;\n this.filteredColumns = filteredColumns;\n this.childrenColumnName = childrenColumnName;\n this.columnMetadata = columnMetadata;\n this.metadataColumns = metadataColumns;\n }\n\n _createClass(ColumnProperties, [{\n key: 'getMetadataColumns',\n value: function getMetadataColumns() {\n var meta = map(filter(this.columnMetadata, { visible: false }), function (item) {\n return item.columnName;\n });\n if (meta.indexOf(this.childrenColumnName) < 0) {\n meta.push(this.childrenColumnName);\n }\n return meta.concat(this.metadataColumns);\n }\n }, {\n key: 'getVisibleColumnCount',\n value: function getVisibleColumnCount() {\n return this.getColumns().length;\n }\n }, {\n key: 'getColumnMetadataByName',\n value: function getColumnMetadataByName(name) {\n return find(this.columnMetadata, { columnName: name });\n }\n }, {\n key: 'hasColumnMetadata',\n value: function hasColumnMetadata() {\n return this.columnMetadata !== null && this.columnMetadata.length > 0;\n }\n }, {\n key: 'getMetadataColumnProperty',\n value: function getMetadataColumnProperty(columnName, propertyName, defaultValue) {\n var meta = this.getColumnMetadataByName(columnName);\n\n //send back the default value if meta isn't there\n if (typeof meta === \"undefined\" || meta === null) return defaultValue;\n\n return meta.hasOwnProperty(propertyName) ? meta[propertyName] : defaultValue;\n }\n }, {\n key: 'orderColumns',\n value: function orderColumns(cols) {\n var _this = this;\n\n var ORDER_MAX = 100;\n\n var orderedColumns = sortBy(cols, function (item) {\n var metaItem = find(_this.columnMetadata, { columnName: item });\n\n if (typeof metaItem === 'undefined' || metaItem === null || isNaN(metaItem.order)) {\n return ORDER_MAX;\n }\n\n return metaItem.order;\n });\n\n return orderedColumns;\n }\n }, {\n key: 'getColumns',\n value: function getColumns() {\n //if we didn't set default or filter\n var filteredColumns = this.filteredColumns.length === 0 ? this.allColumns : this.filteredColumns;\n\n filteredColumns = difference(filteredColumns, this.metadataColumns);\n\n filteredColumns = this.orderColumns(filteredColumns);\n\n return filteredColumns;\n }\n }]);\n\n return ColumnProperties;\n})();\n\nmodule.exports = ColumnProperties;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/columnProperties.js\n// module id = ./node_modules/griddle-react/modules/columnProperties.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\n\nvar CustomFilterContainer = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"placeholderText\": \"\"\n };\n },\n render: function render() {\n var that = this;\n\n if (typeof that.props.customFilterComponent !== 'function') {\n console.log(\"Couldn't find valid template.\");\n return React.createElement('div', null);\n }\n\n return React.createElement(that.props.customFilterComponent, {\n changeFilter: this.props.changeFilter,\n results: this.props.results,\n currentResults: this.props.currentResults,\n placeholderText: this.props.placeholderText });\n }\n});\n\nmodule.exports = CustomFilterContainer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/customFilterContainer.jsx.js\n// module id = ./node_modules/griddle-react/modules/customFilterContainer.jsx.js\n// module chunks = 0","/*\r\n Griddle - Simple Grid Component for React\r\n https://github.com/DynamicTyped/Griddle\r\n Copyright (c) 2014 Ryan Lanciaux | DynamicTyped\r\n\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }return target;\n};\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\n\nvar CustomPaginationContainer = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"maxPage\": 0,\n \"nextText\": \"\",\n \"previousText\": \"\",\n \"currentPage\": 0,\n \"customPagerComponent\": {},\n \"customPagerComponentOptions\": {}\n };\n },\n render: function render() {\n var that = this;\n\n if (typeof that.props.customPagerComponent !== 'function') {\n console.log(\"Couldn't find valid template.\");\n return React.createElement('div', null);\n }\n\n return React.createElement(that.props.customPagerComponent, _extends({}, this.props.customPagerComponentOptions, { maxPage: this.props.maxPage, nextText: this.props.nextText, previousText: this.props.previousText, currentPage: this.props.currentPage, setPage: this.props.setPage, previous: this.props.previous, next: this.props.next }));\n }\n});\n\nmodule.exports = CustomPaginationContainer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/customPaginationContainer.jsx.js\n// module id = ./node_modules/griddle-react/modules/customPaginationContainer.jsx.js\n// module chunks = 0","/*\r\n Griddle - Simple Grid Component for React\r\n https://github.com/DynamicTyped/Griddle\r\n Copyright (c) 2014 Ryan Lanciaux | DynamicTyped\r\n\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\n\nvar CustomRowComponentContainer = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"data\": [],\n \"metadataColumns\": [],\n \"className\": \"\",\n \"customComponent\": {},\n \"globalData\": {}\n };\n },\n render: function render() {\n var that = this;\n\n if (typeof that.props.customComponent !== 'function') {\n console.log(\"Couldn't find valid template.\");\n return React.createElement('div', { className: this.props.className });\n }\n\n var nodes = this.props.data.map(function (row, index) {\n return React.createElement(that.props.customComponent, { data: row, metadataColumns: that.props.metadataColumns, key: index, globalData: that.props.globalData });\n });\n\n var footer = this.props.showPager && this.props.pagingContent;\n return React.createElement('div', { className: this.props.className, style: this.props.style }, nodes);\n }\n});\n\nmodule.exports = CustomRowComponentContainer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/customRowComponentContainer.jsx.js\n// module id = ./node_modules/griddle-react/modules/customRowComponentContainer.jsx.js\n// module chunks = 0","'use strict';\n\nvar forEach = require('lodash/forEach');\nvar isObject = require('lodash/isObject');\nvar isArray = require('lodash/isArray');\nvar isFunction = require('lodash/isFunction');\nvar isPlainObject = require('lodash/isPlainObject');\nvar forOwn = require('lodash/forOwn');\n\n// Credits: https://github.com/documentcloud/underscore-contrib\n// Sub module: underscore.object.selectors\n// License: MIT (https://github.com/documentcloud/underscore-contrib/blob/master/LICENSE)\n// https://github.com/documentcloud/underscore-contrib/blob/master/underscore.object.selectors.js\n\n// Will take a path like 'element[0][1].subElement[\"Hey!.What?\"][\"[hey]\"]'\n// and return [\"element\", \"0\", \"1\", \"subElement\", \"Hey!.What?\", \"[hey]\"]\nfunction keysFromPath(path) {\n // from http://codereview.stackexchange.com/a/63010/8176\n /**\r\n * Repeatedly capture either:\r\n * - a bracketed expression, discarding optional matching quotes inside, or\r\n * - an unbracketed expression, delimited by a dot or a bracket.\r\n */\n var re = /\\[(\"|')(.+)\\1\\]|([^.\\[\\]]+)/g;\n\n var elements = [];\n var result;\n while ((result = re.exec(path)) !== null) {\n elements.push(result[2] || result[3]);\n }\n return elements;\n}\n\n// Gets the value at any depth in a nested object based on the\n// path described by the keys given. Keys may be given as an array\n// or as a dot-separated string.\nfunction getPath(obj, ks) {\n if (typeof ks == \"string\") {\n if (obj[ks] !== undefined) {\n return obj[ks];\n }\n ks = keysFromPath(ks);\n }\n\n var i = -1,\n length = ks.length;\n\n // If the obj is null or undefined we have to break as\n // a TypeError will result trying to access any property\n // Otherwise keep incrementally access the next property in\n // ks until complete\n while (++i < length && obj != null) {\n obj = obj[ks[i]];\n }\n return i === length ? obj : void 0;\n}\n\n// Based on the origin underscore _.pick function\n// Credit: https://github.com/jashkenas/underscore/blob/master/underscore.js\nfunction powerPick(object, keys) {\n var result = {},\n obj = object,\n iteratee;\n iteratee = function (key, obj) {\n return key in obj;\n };\n\n obj = Object(obj);\n\n for (var i = 0, length = keys.length; i < length; i++) {\n var key = keys[i];\n if (iteratee(key, obj)) result[key] = getPath(obj, key);\n }\n\n return result;\n}\n\n// Gets all the keys for a flattened object structure.\n// Doesn't flatten arrays.\n// Input:\n// {\n// a: {\n// x: 1,\n// y: 2\n// },\n// b: [3, 4],\n// c: 5\n// }\n// Output:\n// [\n// \"a.x\",\n// \"a.y\",\n// \"b\",\n// \"c\"\n// ]\nfunction getKeys(obj, prefix) {\n var keys = [];\n\n forEach(obj, function (value, key) {\n var fullKey = prefix ? prefix + \".\" + key : key;\n if (isObject(value) && !isArray(value) && !isFunction(value) && !(value instanceof Date)) {\n keys = keys.concat(getKeys(value, fullKey));\n } else {\n keys.push(fullKey);\n }\n });\n\n return keys;\n}\n\n// Recursivly traverse plain objects and arrays calling `fn` on each\n// non-object/non-array leaf node.\nfunction iterObject(thing, fn) {\n if (isArray(thing)) {\n forEach(thing, function (item) {\n iterObject(item, fn);\n });\n } else if (isPlainObject(thing)) {\n forOwn(thing, function (item) {\n iterObject(item, fn);\n });\n } else {\n fn(thing);\n }\n}\n\n// Recursivly traverse plain objects and arrays and build a list of all\n// non-object/non-array leaf nodes.\n//\n// Input:\n// { \"array\": [1, \"two\", {\"tree\": 3}], \"string\": \"a string\" }\n//\n// Output:\n// [1, 'two', 3, 'a string']\n//\nfunction getObjectValues(thing) {\n var results = [];\n iterObject(thing, function (value) {\n results.push(value);\n });\n return results;\n}\n\nmodule.exports = {\n pick: powerPick,\n getAt: getPath,\n keys: getKeys,\n getObjectValues: getObjectValues\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/deep.js\n// module id = ./node_modules/griddle-react/modules/deep.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\n\nvar GridFilter = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"placeholderText\": \"\"\n };\n },\n handleChange: function handleChange(event) {\n this.props.changeFilter(event.target.value);\n },\n render: function render() {\n return React.createElement('div', { className: 'filter-container' }, React.createElement('input', { type: 'text', name: 'filter', placeholder: this.props.placeholderText, className: 'form-control', onChange: this.handleChange }));\n }\n});\n\nmodule.exports = GridFilter;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridFilter.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridFilter.jsx.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\n\nvar GridNoData = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"noDataMessage\": \"No Data\"\n };\n },\n render: function render() {\n var that = this;\n\n return React.createElement('div', null, this.props.noDataMessage);\n }\n});\n\nmodule.exports = GridNoData;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridNoData.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridNoData.jsx.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\nvar assign = require('lodash/assign');\n\n//needs props maxPage, currentPage, nextFunction, prevFunction\nvar GridPagination = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"maxPage\": 0,\n \"nextText\": \"\",\n \"previousText\": \"\",\n \"currentPage\": 0,\n \"useGriddleStyles\": true,\n \"nextClassName\": \"griddle-next\",\n \"previousClassName\": \"griddle-previous\",\n \"nextIconComponent\": null,\n \"previousIconComponent\": null\n };\n },\n pageChange: function pageChange(event) {\n this.props.setPage(parseInt(event.target.value, 10) - 1);\n },\n render: function render() {\n var previous = \"\";\n var next = \"\";\n\n if (this.props.currentPage > 0) {\n previous = React.createElement('button', { type: 'button', onClick: this.props.previous, style: this.props.useGriddleStyles ? { \"color\": \"#222\", border: \"none\", background: \"none\", margin: \"0 0 0 10px\" } : null }, this.props.previousIconComponent, this.props.previousText);\n }\n\n if (this.props.currentPage !== this.props.maxPage - 1) {\n next = React.createElement('button', { type: 'button', onClick: this.props.next, style: this.props.useGriddleStyles ? { \"color\": \"#222\", border: \"none\", background: \"none\", margin: \"0 10px 0 0\" } : null }, this.props.nextText, this.props.nextIconComponent);\n }\n\n var leftStyle = null;\n var middleStyle = null;\n var rightStyle = null;\n\n if (this.props.useGriddleStyles === true) {\n var baseStyle = {\n \"float\": \"left\",\n minHeight: \"1px\",\n marginTop: \"5px\"\n };\n\n rightStyle = assign({ textAlign: \"right\", width: \"34%\" }, baseStyle);\n middleStyle = assign({ textAlign: \"center\", width: \"33%\" }, baseStyle);\n leftStyle = assign({ width: \"33%\" }, baseStyle);\n }\n\n var options = [];\n\n for (var i = 1; i <= this.props.maxPage; i++) {\n options.push(React.createElement('option', { value: i, key: i }, i));\n }\n\n return React.createElement('div', { style: this.props.useGriddleStyles ? { minHeight: \"35px\" } : null }, React.createElement('div', { className: this.props.previousClassName, style: leftStyle }, previous), React.createElement('div', { className: 'griddle-page', style: middleStyle }, React.createElement('select', { value: this.props.currentPage + 1, onChange: this.pageChange }, options), ' / ', this.props.maxPage), React.createElement('div', { className: this.props.nextClassName, style: rightStyle }, next));\n }\n});\n\nmodule.exports = GridPagination;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridPagination.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridPagination.jsx.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\nvar ColumnProperties = require('./columnProperties.js');\nvar deep = require('./deep.js');\nvar isFunction = require('lodash/isFunction');\nvar zipObject = require('lodash/zipObject');\nvar assign = require('lodash/assign');\nvar defaults = require('lodash/defaults');\nvar toPairs = require('lodash/toPairs');\nvar without = require('lodash/without');\n\nvar GridRow = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"isChildRow\": false,\n \"showChildren\": false,\n \"data\": {},\n \"columnSettings\": null,\n \"rowSettings\": null,\n \"hasChildren\": false,\n \"useGriddleStyles\": true,\n \"useGriddleIcons\": true,\n \"isSubGriddle\": false,\n \"paddingHeight\": null,\n \"rowHeight\": null,\n \"parentRowCollapsedClassName\": \"parent-row\",\n \"parentRowExpandedClassName\": \"parent-row expanded\",\n \"parentRowCollapsedComponent\": \"â–¶\",\n \"parentRowExpandedComponent\": \"â–¼\",\n \"onRowClick\": null,\n \"multipleSelectionSettings\": null,\n \"onRowMouseEnter\": null,\n \"onRowMouseLeave\": null,\n \"onRowWillMount\": null,\n \"onRowWillUnmount\": null\n };\n },\n componentWillMount: function componentWillMount() {\n if (this.props.onRowWillMount !== null && isFunction(this.props.onRowWillMount)) {\n this.props.onRowWillMount(this);\n }\n },\n componentWillUnmount: function componentWillUnmount() {\n if (this.props.onRowWillUnmount !== null && isFunction(this.props.onRowWillUnmount)) {\n this.props.onRowWillUnmount(this);\n }\n },\n handleClick: function handleClick(e) {\n if (this.props.onRowClick !== null && isFunction(this.props.onRowClick)) {\n this.props.onRowClick(this, e);\n } else if (this.props.hasChildren) {\n this.props.toggleChildren();\n }\n },\n handleMouseEnter: function handleMouseEnter(e) {\n if (this.props.onRowMouseEnter !== null && isFunction(this.props.onRowMouseEnter)) {\n this.props.onRowMouseEnter(this, e);\n }\n },\n handleMouseLeave: function handleMouseLeave(e) {\n if (this.props.onRowMouseLeave !== null && isFunction(this.props.onRowMouseLeave)) {\n this.props.onRowMouseLeave(this, e);\n }\n },\n handleSelectionChange: function handleSelectionChange(e) {\n //hack to get around warning that's not super useful in this case\n return;\n },\n handleSelectClick: function handleSelectClick(e) {\n if (this.props.multipleSelectionSettings.isMultipleSelection) {\n if (e.target.type === \"checkbox\") {\n this.props.multipleSelectionSettings.toggleSelectRow(this.props.data, this.refs.selected.checked);\n } else {\n this.props.multipleSelectionSettings.toggleSelectRow(this.props.data, !this.refs.selected.checked);\n }\n }\n },\n verifyProps: function verifyProps() {\n if (this.props.columnSettings === null) {\n console.error(\"gridRow: The columnSettings prop is null and it shouldn't be\");\n }\n },\n formatData: function formatData(data) {\n if (typeof data === 'boolean') {\n return String(data);\n }\n return data;\n },\n render: function render() {\n var _this = this;\n\n this.verifyProps();\n var that = this;\n var columnStyles = null;\n\n if (this.props.useGriddleStyles) {\n columnStyles = {\n margin: \"0px\",\n padding: that.props.paddingHeight + \"px 5px \" + that.props.paddingHeight + \"px 5px\",\n height: that.props.rowHeight ? this.props.rowHeight - that.props.paddingHeight * 2 + \"px\" : null,\n backgroundColor: \"#FFF\",\n borderTopColor: \"#DDD\",\n color: \"#222\"\n };\n }\n\n var columns = this.props.columnSettings.getColumns();\n\n // make sure that all the columns we need have default empty values\n // otherwise they will get clipped\n var defaultValues = zipObject(columns, []);\n\n // creates a 'view' on top the data so we will not alter the original data but will allow us to add default values to missing columns\n var dataView = assign({}, this.props.data);\n\n defaults(dataView, defaultValues);\n var data = toPairs(deep.pick(dataView, without(columns, 'children')));\n var nodes = data.map(function (col, index) {\n var returnValue = null;\n var meta = _this.props.columnSettings.getColumnMetadataByName(col[0]);\n\n //todo: Make this not as ridiculous looking\n var firstColAppend = index === 0 && _this.props.hasChildren && _this.props.showChildren === false && _this.props.useGriddleIcons ? React.createElement('span', { style: _this.props.useGriddleStyles ? { fontSize: \"10px\", marginRight: \"5px\" } : null }, _this.props.parentRowCollapsedComponent) : index === 0 && _this.props.hasChildren && _this.props.showChildren && _this.props.useGriddleIcons ? React.createElement('span', { style: _this.props.useGriddleStyles ? { fontSize: \"10px\" } : null }, _this.props.parentRowExpandedComponent) : \"\";\n\n if (index === 0 && _this.props.isChildRow && _this.props.useGriddleStyles) {\n columnStyles = assign(columnStyles, { paddingLeft: 10 });\n }\n\n if (_this.props.columnSettings.hasColumnMetadata() && typeof meta !== 'undefined' && meta !== null) {\n if (typeof meta.customComponent !== 'undefined' && meta.customComponent !== null) {\n var customComponent = React.createElement(meta.customComponent, { data: col[1], rowData: dataView, metadata: meta });\n returnValue = React.createElement('td', { onClick: _this.handleClick, onMouseEnter: _this.handleMouseEnter, onMouseLeave: _this.handleMouseLeave, className: meta.cssClassName, key: index, style: columnStyles }, customComponent);\n } else {\n returnValue = React.createElement('td', { onClick: _this.handleClick, onMouseEnter: _this.handleMouseEnter, onMouseLeave: _this.handleMouseLeave, className: meta.cssClassName, key: index, style: columnStyles }, firstColAppend, _this.formatData(col[1]));\n }\n }\n\n return returnValue || React.createElement('td', { onClick: _this.handleClick, onMouseEnter: _this.handleMouseEnter, onMouseLeave: _this.handleMouseLeave, key: index, style: columnStyles }, firstColAppend, col[1]);\n });\n\n // Don't compete with onRowClick, but if no onRowClick function then\n // clicking on the row should trigger select\n var trOnClick, tdOnClick;\n if (this.props.onRowClick !== null && isFunction(this.props.onRowClick)) {\n trOnClick = null;\n tdOnClick = this.handleSelectClick;\n } else {\n if (this.props.multipleSelectionSettings && this.props.multipleSelectionSettings.isMultipleSelection) {\n trOnClick = this.handleSelectClick;\n tdOnClick = null;\n } else {\n trOnClick = null;\n tdOnClick = null;\n }\n }\n\n if (nodes && this.props.multipleSelectionSettings && this.props.multipleSelectionSettings.isMultipleSelection) {\n var selectedRowIds = this.props.multipleSelectionSettings.getSelectedRowIds();\n\n nodes.unshift(React.createElement('td', {\n key: 'selection',\n style: columnStyles,\n className: 'griddle-select griddle-select-cell',\n onClick: tdOnClick\n }, React.createElement('input', {\n type: 'checkbox',\n checked: this.props.multipleSelectionSettings.getIsRowChecked(dataView),\n onChange: this.handleSelectionChange,\n ref: 'selected'\n })));\n }\n\n //Get the row from the row settings.\n var className = that.props.rowSettings && that.props.rowSettings.getBodyRowMetadataClass(that.props.data) || \"standard-row\";\n\n if (that.props.isChildRow) {\n className = \"child-row\";\n } else if (that.props.hasChildren) {\n className = that.props.showChildren ? this.props.parentRowExpandedClassName : this.props.parentRowCollapsedClassName;\n }\n\n return React.createElement('tr', { onClick: trOnClick, className: className }, nodes);\n }\n});\n\nmodule.exports = GridRow;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridRow.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridRow.jsx.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\nvar ColumnProperties = require('./columnProperties.js');\nvar pick = require('lodash/pick');\n\nvar GridRowContainer = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"useGriddleStyles\": true,\n \"useGriddleIcons\": true,\n \"isSubGriddle\": false,\n \"columnSettings\": null,\n \"rowSettings\": null,\n \"paddingHeight\": null,\n \"rowHeight\": null,\n \"parentRowCollapsedClassName\": \"parent-row\",\n \"parentRowExpandedClassName\": \"parent-row expanded\",\n \"parentRowCollapsedComponent\": \"â–¶\",\n \"parentRowExpandedComponent\": \"â–¼\",\n \"onRowClick\": null,\n \"onRowMouseEnter\": null,\n \"onRowMouseLeave\": null,\n \"onRowWillMount\": null,\n \"onRowWillUnmount\": null,\n \"multipleSelectionSettings\": null\n };\n },\n getInitialState: function getInitialState() {\n return {\n \"data\": {},\n \"showChildren\": false\n };\n },\n componentWillReceiveProps: function componentWillReceiveProps() {\n this.setShowChildren(false);\n },\n toggleChildren: function toggleChildren() {\n this.setShowChildren(this.state.showChildren === false);\n },\n setShowChildren: function setShowChildren(visible) {\n this.setState({\n showChildren: visible\n });\n },\n verifyProps: function verifyProps() {\n if (this.props.columnSettings === null) {\n console.error(\"gridRowContainer: The columnSettings prop is null and it shouldn't be\");\n }\n },\n render: function render() {\n this.verifyProps();\n var that = this;\n if (typeof this.props.data === \"undefined\") {\n return React.createElement('tbody', null);\n }\n var arr = [];\n\n var columns = this.props.columnSettings.getColumns();\n\n arr.push(React.createElement(this.props.rowSettings.rowComponent, {\n useGriddleStyles: this.props.useGriddleStyles,\n isSubGriddle: this.props.isSubGriddle,\n data: this.props.rowSettings.isCustom ? pick(this.props.data, columns) : this.props.data,\n rowData: this.props.rowSettings.isCustom ? this.props.data : null,\n columnSettings: this.props.columnSettings,\n rowSettings: this.props.rowSettings,\n hasChildren: that.props.hasChildren,\n toggleChildren: that.toggleChildren,\n showChildren: that.state.showChildren,\n key: that.props.uniqueId + '_base_row',\n useGriddleIcons: that.props.useGriddleIcons,\n parentRowExpandedClassName: this.props.parentRowExpandedClassName,\n parentRowCollapsedClassName: this.props.parentRowCollapsedClassName,\n parentRowExpandedComponent: this.props.parentRowExpandedComponent,\n parentRowCollapsedComponent: this.props.parentRowCollapsedComponent,\n paddingHeight: that.props.paddingHeight,\n rowHeight: that.props.rowHeight,\n onRowClick: that.props.onRowClick,\n onRowMouseEnter: that.props.onRowMouseEnter,\n onRowMouseLeave: that.props.onRowMouseLeave,\n multipleSelectionSettings: this.props.multipleSelectionSettings,\n onRowWillMount: that.props.onRowWillMount,\n onRowWillUnmount: that.props.onRowWillUnmount }));\n\n var children = null;\n\n if (that.state.showChildren) {\n children = that.props.hasChildren && this.props.data[\"children\"].map(function (row, index) {\n var key = that.props.rowSettings.getRowKey(row, index);\n\n if (typeof row[\"children\"] !== \"undefined\") {\n var Griddle = that.constructor.Griddle;\n return React.createElement('tr', { key: key, style: { paddingLeft: 5 } }, React.createElement('td', { colSpan: that.props.columnSettings.getVisibleColumnCount(), className: 'griddle-parent', style: that.props.useGriddleStyles ? { border: \"none\", \"padding\": \"0 0 0 5px\" } : null }, React.createElement(Griddle, {\n rowMetadata: { key: 'id' },\n isSubGriddle: true,\n results: [row],\n columns: that.props.columnSettings.getColumns(),\n tableClassName: that.props.tableClassName,\n parentRowExpandedClassName: that.props.parentRowExpandedClassName,\n parentRowCollapsedClassName: that.props.parentRowCollapsedClassName,\n showTableHeading: false,\n showPager: false,\n columnMetadata: that.props.columnSettings.columnMetadata,\n parentRowExpandedComponent: that.props.parentRowExpandedComponent,\n parentRowCollapsedComponent: that.props.parentRowCollapsedComponent,\n paddingHeight: that.props.paddingHeight,\n rowHeight: that.props.rowHeight\n })));\n }\n\n return React.createElement(that.props.rowSettings.rowComponent, {\n useGriddleStyles: that.props.useGriddleStyles,\n isSubGriddle: that.props.isSubGriddle,\n data: row,\n columnSettings: that.props.columnSettings,\n isChildRow: true,\n columnMetadata: that.props.columnSettings.columnMetadata,\n key: key\n });\n });\n }\n\n return that.props.hasChildren === false ? arr[0] : React.createElement('tbody', null, that.state.showChildren ? arr.concat(children) : arr);\n }\n});\n\nmodule.exports = GridRowContainer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridRowContainer.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridRowContainer.jsx.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\nvar includes = require('lodash/includes');\nvar without = require('lodash/without');\nvar find = require('lodash/find');\n\nvar GridSettings = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"columns\": [],\n \"columnMetadata\": [],\n \"selectedColumns\": [],\n \"settingsText\": \"\",\n \"maxRowsText\": \"\",\n \"resultsPerPage\": 0,\n \"enableToggleCustom\": false,\n \"useCustomComponent\": false,\n \"useGriddleStyles\": true,\n \"toggleCustomComponent\": function toggleCustomComponent() {}\n };\n },\n setPageSize: function setPageSize(event) {\n var value = parseInt(event.target.value, 10);\n this.props.setPageSize(value);\n },\n handleChange: function handleChange(event) {\n var columnName = event.target.dataset ? event.target.dataset.name : event.target.getAttribute('data-name');\n if (event.target.checked === true && includes(this.props.selectedColumns, columnName) === false) {\n this.props.selectedColumns.push(columnName);\n this.props.setColumns(this.props.selectedColumns);\n } else {\n /* redraw with the selected columns minus the one just unchecked */\n this.props.setColumns(without(this.props.selectedColumns, columnName));\n }\n },\n render: function render() {\n var that = this;\n\n var nodes = [];\n //don't show column selector if we're on a custom component\n if (that.props.useCustomComponent === false) {\n nodes = this.props.columns.map(function (col, index) {\n var checked = includes(that.props.selectedColumns, col);\n //check column metadata -- if this one is locked make it disabled and don't put an onChange event\n var meta = find(that.props.columnMetadata, { columnName: col });\n var displayName = col;\n\n if (typeof meta !== \"undefined\" && typeof meta.displayName !== \"undefined\" && meta.displayName != null) {\n displayName = meta.displayName;\n }\n\n if (typeof meta !== \"undefined\" && meta != null && meta.locked) {\n return React.createElement('div', { className: 'column checkbox' }, React.createElement('label', null, React.createElement('input', { type: 'checkbox', disabled: true, name: 'check', checked: checked, 'data-name': col }), displayName));\n } else if (typeof meta !== \"undefined\" && meta != null && typeof meta.visible !== \"undefined\" && meta.visible === false) {\n return null;\n }\n return React.createElement('div', { className: 'griddle-column-selection checkbox', key: col, style: that.props.useGriddleStyles ? { \"float\": \"left\", width: \"20%\" } : null }, React.createElement('label', null, React.createElement('input', { type: 'checkbox', name: 'check', onChange: that.handleChange, checked: checked, 'data-name': col }), displayName));\n });\n }\n\n var toggleCustom = that.props.enableToggleCustom ? React.createElement('div', { className: 'form-group' }, React.createElement('label', { htmlFor: 'maxRows' }, React.createElement('input', { type: 'checkbox', checked: this.props.useCustomComponent, onChange: this.props.toggleCustomComponent }), ' ', this.props.enableCustomFormatText)) : \"\";\n\n var setPageSize = this.props.showSetPageSize ? React.createElement('div', null, React.createElement('label', { htmlFor: 'maxRows' }, this.props.maxRowsText, ':', React.createElement('select', { onChange: this.setPageSize, value: this.props.resultsPerPage }, React.createElement('option', { value: '5' }, '5'), React.createElement('option', { value: '10' }, '10'), React.createElement('option', { value: '25' }, '25'), React.createElement('option', { value: '50' }, '50'), React.createElement('option', { value: '100' }, '100')))) : \"\";\n\n return React.createElement('div', { className: 'griddle-settings', style: this.props.useGriddleStyles ? { backgroundColor: \"#FFF\", border: \"1px solid #DDD\", color: \"#222\", padding: \"10px\", marginBottom: \"10px\" } : null }, React.createElement('h6', null, this.props.settingsText), React.createElement('div', { className: 'griddle-columns', style: this.props.useGriddleStyles ? { clear: \"both\", display: \"table\", width: \"100%\", borderBottom: \"1px solid #EDEDED\", marginBottom: \"10px\" } : null }, nodes), setPageSize, toggleCustom);\n }\n});\n\nmodule.exports = GridSettings;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridSettings.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridSettings.jsx.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\nvar GridTitle = require('./gridTitle.jsx');\nvar GridRowContainer = require('./gridRowContainer.jsx');\nvar ColumnProperties = require('./columnProperties.js');\nvar RowProperties = require('./rowProperties.js');\n\nvar GridTable = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"data\": [],\n \"columnSettings\": null,\n \"rowSettings\": null,\n \"sortSettings\": null,\n \"multipleSelectionSettings\": null,\n \"className\": \"\",\n \"enableInfiniteScroll\": false,\n \"nextPage\": null,\n \"hasMorePages\": false,\n \"useFixedHeader\": false,\n \"useFixedLayout\": true,\n \"paddingHeight\": null,\n \"rowHeight\": null,\n \"filterByColumn\": null,\n \"infiniteScrollLoadTreshold\": null,\n \"bodyHeight\": null,\n \"useGriddleStyles\": true,\n \"useGriddleIcons\": true,\n \"isSubGriddle\": false,\n \"parentRowCollapsedClassName\": \"parent-row\",\n \"parentRowExpandedClassName\": \"parent-row expanded\",\n \"parentRowCollapsedComponent\": \"â–¶\",\n \"parentRowExpandedComponent\": \"â–¼\",\n \"externalLoadingComponent\": null,\n \"externalIsLoading\": false,\n \"onRowClick\": null,\n \"onRowMouseEnter\": null,\n \"onRowMouseLeave\": null,\n \"onRowWillMount\": null,\n \"onRowWillUnmount\": null\n };\n },\n getInitialState: function getInitialState() {\n return {\n scrollTop: 0,\n scrollHeight: this.props.bodyHeight,\n clientHeight: this.props.bodyHeight\n };\n },\n componentDidMount: function componentDidMount() {\n // After the initial render, see if we need to load additional pages.\n this.gridScroll();\n },\n componentDidUpdate: function componentDidUpdate(prevProps, prevState) {\n // After the subsequent renders, see if we need to load additional pages.\n this.gridScroll();\n },\n gridScroll: function gridScroll() {\n if (this.props.enableInfiniteScroll && !this.props.externalIsLoading) {\n // If the scroll height is greater than the current amount of rows displayed, update the page.\n var scrollable = this.refs.scrollable;\n var scrollTop = scrollable.scrollTop;\n var scrollHeight = scrollable.scrollHeight;\n var clientHeight = scrollable.clientHeight;\n\n // If the scroll position changed and the difference is greater than a row height\n if (this.props.rowHeight !== null && this.state.scrollTop !== scrollTop && Math.abs(this.state.scrollTop - scrollTop) >= this.getAdjustedRowHeight()) {\n var newState = {\n scrollTop: scrollTop,\n scrollHeight: scrollHeight,\n clientHeight: clientHeight\n };\n\n // Set the state to the new state\n this.setState(newState);\n }\n\n // Determine the diff by subtracting the amount scrolled by the total height, taking into consideratoin\n // the spacer's height.\n var scrollHeightDiff = scrollHeight - (scrollTop + clientHeight) - this.props.infiniteScrollLoadTreshold;\n\n // Make sure that we load results a little before reaching the bottom.\n var compareHeight = scrollHeightDiff * 0.6;\n\n if (compareHeight <= this.props.infiniteScrollLoadTreshold) {\n this.props.nextPage();\n }\n }\n },\n verifyProps: function verifyProps() {\n if (this.props.columnSettings === null) {\n console.error(\"gridTable: The columnSettings prop is null and it shouldn't be\");\n }\n if (this.props.rowSettings === null) {\n console.error(\"gridTable: The rowSettings prop is null and it shouldn't be\");\n }\n },\n getAdjustedRowHeight: function getAdjustedRowHeight() {\n return this.props.rowHeight + this.props.paddingHeight * 2; // account for padding.\n },\n getNodeContent: function getNodeContent() {\n this.verifyProps();\n var that = this;\n\n //figure out if we need to wrap the group in one tbody or many\n var anyHasChildren = false;\n\n // If the data is still being loaded, don't build the nodes unless this is an infinite scroll table.\n if (!this.props.externalIsLoading || this.props.enableInfiniteScroll) {\n var nodeData = that.props.data;\n var aboveSpacerRow = null;\n var belowSpacerRow = null;\n var usingDefault = false;\n\n // If we have a row height specified, only render what's going to be visible.\n if (this.props.enableInfiniteScroll && this.props.rowHeight !== null && this.refs.scrollable !== undefined) {\n var adjustedHeight = that.getAdjustedRowHeight();\n var visibleRecordCount = Math.ceil(that.state.clientHeight / adjustedHeight);\n\n // Inspired by : http://jsfiddle.net/vjeux/KbWJ2/9/\n var displayStart = Math.max(0, Math.floor(that.state.scrollTop / adjustedHeight) - visibleRecordCount * 0.25);\n var displayEnd = Math.min(displayStart + visibleRecordCount * 1.25, this.props.data.length - 1);\n\n // Split the amount of nodes.\n nodeData = nodeData.slice(displayStart, displayEnd + 1);\n\n // Set the above and below nodes.\n var aboveSpacerRowStyle = { height: displayStart * adjustedHeight + \"px\" };\n aboveSpacerRow = React.createElement('tr', { key: 'above-' + aboveSpacerRowStyle.height, style: aboveSpacerRowStyle });\n var belowSpacerRowStyle = { height: (this.props.data.length - displayEnd) * adjustedHeight + \"px\" };\n belowSpacerRow = React.createElement('tr', { key: 'below-' + belowSpacerRowStyle.height, style: belowSpacerRowStyle });\n }\n\n var nodes = nodeData.map(function (row, index) {\n var hasChildren = typeof row[\"children\"] !== \"undefined\" && row[\"children\"].length > 0;\n var uniqueId = that.props.rowSettings.getRowKey(row, index);\n\n //at least one item in the group has children.\n if (hasChildren) {\n anyHasChildren = hasChildren;\n }\n\n return React.createElement(GridRowContainer, {\n useGriddleStyles: that.props.useGriddleStyles,\n isSubGriddle: that.props.isSubGriddle,\n parentRowExpandedClassName: that.props.parentRowExpandedClassName,\n parentRowCollapsedClassName: that.props.parentRowCollapsedClassName,\n parentRowExpandedComponent: that.props.parentRowExpandedComponent,\n parentRowCollapsedComponent: that.props.parentRowCollapsedComponent,\n data: row,\n key: uniqueId + '-container',\n uniqueId: uniqueId,\n columnSettings: that.props.columnSettings,\n rowSettings: that.props.rowSettings,\n paddingHeight: that.props.paddingHeight,\n multipleSelectionSettings: that.props.multipleSelectionSettings,\n rowHeight: that.props.rowHeight,\n hasChildren: hasChildren,\n tableClassName: that.props.className,\n onRowClick: that.props.onRowClick,\n onRowMouseEnter: that.props.onRowMouseEnter,\n onRowMouseLeave: that.props.onRowMouseLeave,\n onRowWillMount: that.props.onRowWillMount,\n onRowWillUnmount: that.props.onRowWillUnmount\n });\n });\n\n // no data section\n if (this.props.showNoData) {\n var colSpan = this.props.columnSettings.getVisibleColumnCount();\n nodes.push(React.createElement('tr', { key: 'no-data-section' }, React.createElement('td', { colSpan: colSpan }, this.props.noDataSection)));\n }\n\n // Add the spacer rows for nodes we're not rendering.\n if (aboveSpacerRow) {\n nodes.unshift(aboveSpacerRow);\n }\n if (belowSpacerRow) {\n nodes.push(belowSpacerRow);\n }\n\n // Send back the nodes.\n return {\n nodes: nodes,\n anyHasChildren: anyHasChildren\n };\n } else {\n return null;\n }\n },\n render: function render() {\n var that = this;\n var nodes = [];\n\n // for if we need to wrap the group in one tbody or many\n var anyHasChildren = false;\n\n // Grab the nodes to render\n var nodeContent = this.getNodeContent();\n if (nodeContent) {\n nodes = nodeContent.nodes;\n anyHasChildren = nodeContent.anyHasChildren;\n }\n\n var gridStyle = null;\n var loadingContent = null;\n var tableStyle = {\n width: \"100%\"\n };\n\n if (this.props.useFixedLayout) {\n tableStyle.tableLayout = \"fixed\";\n }\n\n if (this.props.enableInfiniteScroll) {\n // If we're enabling infinite scrolling, we'll want to include the max height of the grid body + allow scrolling.\n gridStyle = {\n \"position\": \"relative\",\n \"overflowY\": \"scroll\",\n \"height\": this.props.bodyHeight + \"px\",\n \"width\": \"100%\"\n };\n }\n\n // If we're currently loading, populate the loading content\n if (this.props.externalIsLoading) {\n var defaultLoadingStyle = null;\n var defaultColSpan = null;\n\n if (this.props.useGriddleStyles) {\n defaultLoadingStyle = {\n textAlign: \"center\",\n paddingBottom: \"40px\"\n };\n }\n\n defaultColSpan = this.props.columnSettings.getVisibleColumnCount();\n\n var loadingComponent = this.props.externalLoadingComponent ? React.createElement(this.props.externalLoadingComponent, null) : React.createElement('div', null, 'Loading...');\n\n loadingContent = React.createElement('tbody', null, React.createElement('tr', null, React.createElement('td', { style: defaultLoadingStyle, colSpan: defaultColSpan }, loadingComponent)));\n }\n\n //construct the table heading component\n var tableHeading = this.props.showTableHeading ? React.createElement(GridTitle, { useGriddleStyles: this.props.useGriddleStyles, useGriddleIcons: this.props.useGriddleIcons,\n sortSettings: this.props.sortSettings,\n multipleSelectionSettings: this.props.multipleSelectionSettings,\n columnSettings: this.props.columnSettings,\n filterByColumn: this.props.filterByColumn,\n rowSettings: this.props.rowSettings }) : undefined;\n\n //check to see if any of the rows have children... if they don't wrap everything in a tbody so the browser doesn't auto do this\n if (!anyHasChildren) {\n nodes = React.createElement('tbody', null, nodes);\n }\n\n var pagingContent = React.createElement('tbody', null);\n if (this.props.showPager) {\n var pagingStyles = this.props.useGriddleStyles ? {\n padding: \"0px\",\n backgroundColor: \"#EDEDED\",\n border: \"0px\",\n color: \"#222\",\n height: this.props.showNoData ? \"20px\" : null\n } : null;\n pagingContent = React.createElement('tbody', null, React.createElement('tr', null, React.createElement('td', { colSpan: this.props.multipleSelectionSettings.isMultipleSelection ? this.props.columnSettings.getVisibleColumnCount() + 1 : this.props.columnSettings.getVisibleColumnCount(), style: pagingStyles, className: 'footer-container' }, !this.props.showNoData ? this.props.pagingContent : null)));\n }\n\n // If we have a fixed header, split into two tables.\n if (this.props.useFixedHeader) {\n if (this.props.useGriddleStyles) {\n tableStyle.tableLayout = \"fixed\";\n }\n\n return React.createElement('div', null, React.createElement('table', { className: this.props.className, style: this.props.useGriddleStyles && tableStyle || null }, tableHeading), React.createElement('div', { ref: 'scrollable', onScroll: this.gridScroll, style: gridStyle }, React.createElement('table', { className: this.props.className, style: this.props.useGriddleStyles && tableStyle || null }, nodes, loadingContent, pagingContent)));\n }\n\n return React.createElement('div', { ref: 'scrollable', onScroll: this.gridScroll, style: gridStyle }, React.createElement('table', { className: this.props.className, style: this.props.useGriddleStyles && tableStyle || null }, tableHeading, nodes, loadingContent, pagingContent));\n }\n});\n\nmodule.exports = GridTable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridTable.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridTable.jsx.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n */\n'use strict';\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }return target;\n};\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\nvar ColumnProperties = require('./columnProperties.js');\nvar assign = require('lodash/assign');\n\nvar DefaultHeaderComponent = createReactClass({\n render: function render() {\n return React.createElement('span', null, this.props.displayName);\n }\n});\n\nvar GridTitle = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"columnSettings\": null,\n \"filterByColumn\": function filterByColumn() {},\n \"rowSettings\": null,\n \"sortSettings\": null,\n \"multipleSelectionSettings\": null,\n \"headerStyle\": null,\n \"useGriddleStyles\": true,\n \"useGriddleIcons\": true,\n \"headerStyles\": {}\n };\n },\n componentWillMount: function componentWillMount() {\n this.verifyProps();\n },\n sort: function sort(column) {\n var that = this;\n return function (event) {\n that.props.sortSettings.changeSort(column);\n };\n },\n toggleSelectAll: function toggleSelectAll(event) {\n this.props.multipleSelectionSettings.toggleSelectAll();\n },\n handleSelectionChange: function handleSelectionChange(event) {\n //hack to get around warning message that's not helpful in this case\n return;\n },\n verifyProps: function verifyProps() {\n if (this.props.columnSettings === null) {\n console.error(\"gridTitle: The columnSettings prop is null and it shouldn't be\");\n }\n\n if (this.props.sortSettings === null) {\n console.error(\"gridTitle: The sortSettings prop is null and it shouldn't be\");\n }\n },\n render: function render() {\n this.verifyProps();\n var that = this;\n var titleStyles = {};\n\n var nodes = this.props.columnSettings.getColumns().map(function (col, index) {\n var defaultTitleStyles = {};\n var columnSort = \"\";\n var columnIsSortable = that.props.columnSettings.getMetadataColumnProperty(col, \"sortable\", true);\n var sortComponent = columnIsSortable ? that.props.sortSettings.sortDefaultComponent : null;\n\n if (that.props.sortSettings.sortColumn == col && that.props.sortSettings.sortDirection === 'asc') {\n columnSort = that.props.sortSettings.sortAscendingClassName;\n sortComponent = that.props.useGriddleIcons && that.props.sortSettings.sortAscendingComponent;\n } else if (that.props.sortSettings.sortColumn == col && that.props.sortSettings.sortDirection === 'desc') {\n columnSort += that.props.sortSettings.sortDescendingClassName;\n sortComponent = that.props.useGriddleIcons && that.props.sortSettings.sortDescendingComponent;\n }\n\n var meta = that.props.columnSettings.getColumnMetadataByName(col);\n var displayName = that.props.columnSettings.getMetadataColumnProperty(col, \"displayName\", col);\n var HeaderComponent = that.props.columnSettings.getMetadataColumnProperty(col, \"customHeaderComponent\", DefaultHeaderComponent);\n var headerProps = that.props.columnSettings.getMetadataColumnProperty(col, \"customHeaderComponentProps\", {});\n\n columnSort = meta == null ? columnSort : (columnSort && columnSort + \" \" || columnSort) + that.props.columnSettings.getMetadataColumnProperty(col, \"cssClassName\", \"\");\n\n if (that.props.useGriddleStyles) {\n defaultTitleStyles = {\n backgroundColor: \"#EDEDEF\",\n border: \"0px\",\n borderBottom: \"1px solid #DDD\",\n color: \"#222\",\n padding: \"5px\",\n cursor: columnIsSortable ? \"pointer\" : \"default\"\n };\n }\n titleStyles = meta && meta.titleStyles ? assign({}, defaultTitleStyles, meta.titleStyles) : assign({}, defaultTitleStyles);\n\n var ComponentClass = displayName ? 'th' : 'td';\n return React.createElement(ComponentClass, { onClick: columnIsSortable ? that.sort(col) : null, 'data-title': col, className: columnSort, key: col,\n style: titleStyles }, React.createElement(HeaderComponent, _extends({ columnName: col, displayName: displayName,\n filterByColumn: that.props.filterByColumn }, headerProps)), sortComponent);\n });\n\n if (nodes && this.props.multipleSelectionSettings.isMultipleSelection) {\n nodes.unshift(React.createElement('th', { key: 'selection', onClick: this.toggleSelectAll, style: titleStyles, className: 'griddle-select griddle-select-title' }, React.createElement('input', {\n type: 'checkbox',\n checked: this.props.multipleSelectionSettings.getIsSelectAllChecked(),\n onChange: this.handleSelectionChange\n })));\n }\n\n //Get the row from the row settings.\n var className = that.props.rowSettings && that.props.rowSettings.getHeaderRowMetadataClass() || null;\n\n return React.createElement('thead', null, React.createElement('tr', {\n className: className,\n style: this.props.headerStyles }, nodes));\n }\n});\n\nmodule.exports = GridTitle;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridTitle.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridTitle.jsx.js\n// module chunks = 0","/*\r\n Griddle - Simple Grid Component for React\r\n https://github.com/DynamicTyped/Griddle\r\n Copyright (c) 2014 Ryan Lanciaux | DynamicTyped\r\n\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }return target;\n};\n\nvar React = require('react');\nvar PropTypes = require('prop-types');\nvar createReactClass = require('create-react-class');\nvar GridTable = require('./gridTable.jsx');\nvar GridFilter = require('./gridFilter.jsx');\nvar GridPagination = require('./gridPagination.jsx');\nvar GridSettings = require('./gridSettings.jsx');\nvar GridNoData = require('./gridNoData.jsx');\nvar GridRow = require('./gridRow.jsx');\nvar GridRowContainer = require('./gridRowContainer.jsx');\nvar CustomRowComponentContainer = require('./customRowComponentContainer.jsx');\nvar CustomPaginationContainer = require('./customPaginationContainer.jsx');\nvar CustomFilterContainer = require('./customFilterContainer.jsx');\nvar ColumnProperties = require('./columnProperties');\nvar RowProperties = require('./rowProperties');\nvar deep = require('./deep');\n\nvar drop = require('lodash/drop');\nvar dropRight = require('lodash/dropRight');\nvar find = require('lodash/find');\nvar first = require('lodash/take');\nvar forEach = require('lodash/forEach');\nvar initial = require('lodash/initial');\nvar intersection = require('lodash/intersection');\nvar isArray = require('lodash/isArray');\nvar isEmpty = require('lodash/isEmpty');\nvar isNull = require('lodash/isNull');\nvar isUndefined = require('lodash/isUndefined');\nvar omit = require('lodash/omit');\nvar map = require('lodash/map');\nvar extend = require('lodash/assign');\nvar _filter = require('lodash/filter');\n\nvar _orderBy = require('lodash/orderBy');\nvar _property = require('lodash/property');\nvar _get = require('lodash/get');\nvar _some = require('lodash/some');\n\nvar Griddle = createReactClass({\n statics: {\n GridTable: GridTable,\n GridFilter: GridFilter,\n GridPagination: GridPagination,\n GridSettings: GridSettings,\n GridRow: GridRow\n },\n columnSettings: null,\n rowSettings: null,\n getDefaultProps: function getDefaultProps() {\n return {\n \"columns\": [],\n \"gridMetadata\": null,\n \"columnMetadata\": [],\n \"rowMetadata\": null,\n \"results\": [], // Used if all results are already loaded.\n \"initialSort\": \"\",\n \"gridClassName\": \"\",\n \"tableClassName\": \"\",\n \"customRowComponentClassName\": \"\",\n \"settingsText\": \"Settings\",\n \"filterPlaceholderText\": \"Filter Results\",\n \"nextText\": \"Next\",\n \"previousText\": \"Previous\",\n \"maxRowsText\": \"Rows per page\",\n \"enableCustomFormatText\": \"Enable Custom Formatting\",\n //this column will determine which column holds subgrid data\n //it will be passed through with the data object but will not be rendered\n \"childrenColumnName\": \"children\",\n //Any column in this list will be treated as metadata and will be passed through with the data but won't be rendered\n \"metadataColumns\": [],\n \"showFilter\": false,\n \"showSettings\": false,\n \"useCustomRowComponent\": false,\n \"useCustomGridComponent\": false,\n \"useCustomPagerComponent\": false,\n \"useCustomFilterer\": false,\n \"useCustomFilterComponent\": false,\n \"useGriddleStyles\": true,\n \"useGriddleIcons\": true,\n \"customRowComponent\": null,\n \"customGridComponent\": null,\n \"customPagerComponent\": {},\n \"customFilterComponent\": null,\n \"customFilterer\": null,\n \"globalData\": null,\n \"enableToggleCustom\": false,\n \"noDataMessage\": \"There is no data to display.\",\n \"noDataClassName\": \"griddle-nodata\",\n \"customNoDataComponent\": null,\n \"customNoDataComponentProps\": null,\n \"allowEmptyGrid\": false,\n \"showTableHeading\": true,\n \"showPager\": true,\n \"useFixedHeader\": false,\n \"useExternal\": false,\n \"externalSetPage\": null,\n \"externalChangeSort\": null,\n \"externalSetFilter\": null,\n \"externalSetPageSize\": null,\n \"externalMaxPage\": null,\n \"externalCurrentPage\": null,\n \"externalSortColumn\": null,\n \"externalSortAscending\": true,\n \"externalLoadingComponent\": null,\n \"externalIsLoading\": false,\n \"enableInfiniteScroll\": false,\n \"bodyHeight\": null,\n \"paddingHeight\": 5,\n \"rowHeight\": 25,\n \"infiniteScrollLoadTreshold\": 50,\n \"useFixedLayout\": true,\n \"isSubGriddle\": false,\n \"enableSort\": true,\n \"onRowClick\": null,\n \"onRowMouseEnter\": null,\n \"onRowMouseLeave\": null,\n \"onRowWillMount\": null,\n \"onRowWillUnmount\": null,\n /* css class names */\n \"sortAscendingClassName\": \"sort-ascending\",\n \"sortDescendingClassName\": \"sort-descending\",\n \"parentRowCollapsedClassName\": \"parent-row\",\n \"parentRowExpandedClassName\": \"parent-row expanded\",\n \"settingsToggleClassName\": \"settings\",\n \"nextClassName\": \"griddle-next\",\n \"previousClassName\": \"griddle-previous\",\n \"headerStyles\": {},\n /* icon components */\n \"sortAscendingComponent\": \" â–²\",\n \"sortDescendingComponent\": \" â–¼\",\n \"sortDefaultComponent\": null,\n \"parentRowCollapsedComponent\": \"â–¶\",\n \"parentRowExpandedComponent\": \"â–¼\",\n \"settingsIconComponent\": \"\",\n \"nextIconComponent\": \"\",\n \"previousIconComponent\": \"\",\n \"isMultipleSelection\": false, //currently does not support subgrids\n \"selectedRowIds\": [],\n \"uniqueIdentifier\": \"id\",\n \"onSelectionChange\": null,\n \"columnFilterFunc\": null\n };\n },\n propTypes: {\n isMultipleSelection: PropTypes.bool,\n selectedRowIds: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.arrayOf(PropTypes.string)]),\n uniqueIdentifier: PropTypes.string,\n onSelectionChange: PropTypes.func,\n columnFilterFunc: PropTypes.func\n },\n defaultFilter: function defaultFilter(results, filter) {\n var that = this;\n return _filter(results, function (item) {\n var arr = deep.keys(item);\n for (var i = 0; i < arr.length; i++) {\n var isFilterable = that.columnSettings.getMetadataColumnProperty(arr[i], \"filterable\", true);\n if (isFilterable && (deep.getAt(item, arr[i]) || \"\").toString().toLowerCase().indexOf(filter.toLowerCase()) >= 0) {\n return true;\n }\n }\n return false;\n });\n },\n\n defaultColumnFilter: function defaultColumnFilter(columnName, value, filter) {\n var filters = map(isArray(filter) ? filter : [filter], function (filter) {\n return (filter || '').toLowerCase();\n });\n return _some(deep.getObjectValues(value), function (value) {\n value = value.toString().toLowerCase();\n return _some(filters, function (filter) {\n return value.indexOf(filter) >= 0;\n });\n });\n },\n\n filterByColumnFilters: function filterByColumnFilters(columnFilters) {\n var filterFunction = this.props.columnFilterFunc || this.defaultColumnFilter;\n var filteredResults = Object.keys(columnFilters).reduce(function (previous, current) {\n return _filter(previous, function (item) {\n var value = deep.getAt(item, current || \"\");\n var filter = columnFilters[current];\n return filterFunction(current || '', value, filter);\n });\n }, this.props.results);\n\n var newState = {\n columnFilters: columnFilters\n };\n\n if (columnFilters) {\n newState.filteredResults = filteredResults;\n newState.maxPage = this.getMaxPage(newState.filteredResults);\n } else if (this.state.filter) {\n newState.filteredResults = this.props.useCustomFilterer ? this.props.customFilterer(this.props.results, filter) : this.defaultFilter(this.props.results, filter);\n } else {\n newState.filteredResults = null;\n }\n\n this.setState(newState);\n },\n\n filterByColumn: function filterByColumn(filter, column) {\n var columnFilters = this.state.columnFilters;\n\n //if filter is \"\" remove it from the columnFilters object\n if (columnFilters.hasOwnProperty(column) && !filter) {\n columnFilters = omit(columnFilters, column);\n } else {\n var newObject = {};\n newObject[column] = filter;\n columnFilters = extend({}, columnFilters, newObject);\n }\n\n this.filterByColumnFilters(columnFilters);\n },\n\n /* if we have a filter display the max page and results accordingly */\n setFilter: function setFilter(filter) {\n var updatedResults = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n\n if (this.props.useExternal) {\n this.props.externalSetFilter(filter);\n return;\n }\n\n var that = this,\n updatedState = {\n page: 0,\n filter: filter\n };\n\n // Obtain the state results.\n updatedState.filteredResults = this.props.useCustomFilterer ? this.props.customFilterer(updatedResults || this.props.results, filter) : this.defaultFilter(updatedResults || this.props.results, filter);\n\n // Update the max page.\n updatedState.maxPage = that.getMaxPage(updatedState.filteredResults);\n\n //if filter is null or undefined reset the filter.\n if (isUndefined(filter) || isNull(filter) || isEmpty(filter)) {\n updatedState.filter = filter;\n updatedState.filteredResults = null;\n }\n\n // Set the state.\n that.setState(updatedState);\n\n this._resetSelectedRows();\n },\n setPageSize: function setPageSize(size) {\n if (this.props.useExternal) {\n this.setState({\n resultsPerPage: size\n });\n this.props.externalSetPageSize(size);\n return;\n }\n //make this better.\n this.state.resultsPerPage = size;\n this.setMaxPage();\n },\n toggleColumnChooser: function toggleColumnChooser() {\n this.setState({\n showColumnChooser: !this.state.showColumnChooser\n });\n },\n isNullOrUndefined: function isNullOrUndefined(value) {\n return value === undefined || value === null;\n },\n shouldUseCustomRowComponent: function shouldUseCustomRowComponent() {\n return this.isNullOrUndefined(this.state.useCustomRowComponent) ? this.props.useCustomRowComponent : this.state.useCustomRowComponent;\n },\n shouldUseCustomGridComponent: function shouldUseCustomGridComponent() {\n return this.isNullOrUndefined(this.state.useCustomGridComponent) ? this.props.useCustomGridComponent : this.state.useCustomGridComponent;\n },\n toggleCustomComponent: function toggleCustomComponent() {\n if (this.state.customComponentType === \"grid\") {\n this.setState({\n useCustomGridComponent: !this.shouldUseCustomGridComponent()\n });\n } else if (this.state.customComponentType === \"row\") {\n this.setState({\n useCustomRowComponent: !this.shouldUseCustomRowComponent()\n });\n }\n },\n getMaxPage: function getMaxPage(results, totalResults) {\n if (this.props.useExternal) {\n return this.props.externalMaxPage;\n }\n\n if (!totalResults) {\n totalResults = (results || this.getCurrentResults()).length;\n }\n var maxPage = Math.ceil(totalResults / this.state.resultsPerPage);\n return maxPage;\n },\n setMaxPage: function setMaxPage(results) {\n var maxPage = this.getMaxPage(results);\n //re-render if we have new max page value\n if (this.state.maxPage !== maxPage) {\n this.setState({ page: 0, maxPage: maxPage, filteredColumns: this.columnSettings.filteredColumns });\n }\n },\n setPage: function setPage(number) {\n if (this.props.useExternal) {\n this.props.externalSetPage(number);\n return;\n }\n\n //check page size and move the filteredResults to pageSize * pageNumber\n if (number * this.state.resultsPerPage <= this.state.resultsPerPage * this.state.maxPage) {\n var that = this,\n state = {\n page: number\n };\n\n that.setState(state);\n }\n\n //When infinite scrolling is enabled, uncheck the \"select all\" checkbox, since more unchecked rows will be appended at the end\n if (this.props.enableInfiniteScroll) {\n this.setState({\n isSelectAllChecked: false\n });\n }\n },\n setColumns: function setColumns(columns) {\n this.columnSettings.filteredColumns = isArray(columns) ? columns : [columns];\n\n this.setState({\n filteredColumns: this.columnSettings.filteredColumns\n });\n },\n nextPage: function nextPage() {\n var currentPage = this.getCurrentPage();\n if (currentPage < this.getCurrentMaxPage() - 1) {\n this.setPage(currentPage + 1);\n }\n },\n previousPage: function previousPage() {\n var currentPage = this.getCurrentPage();\n if (currentPage > 0) {\n this.setPage(currentPage - 1);\n }\n },\n changeSort: function changeSort(column) {\n if (this.props.enableSort === false) {\n return;\n }\n\n if (this.props.useExternal) {\n var isAscending = this.props.externalSortColumn === column ? !this.props.externalSortAscending : true;\n this.setState({\n sortColumn: column,\n sortDirection: isAscending ? 'asc' : 'desc'\n });\n this.props.externalChangeSort(column, isAscending);\n return;\n }\n var columnMeta = find(this.props.columnMetadata, { columnName: column }) || {};\n var sortDirectionCycle = columnMeta.sortDirectionCycle ? columnMeta.sortDirectionCycle : [null, 'asc', 'desc'];\n var sortDirection = null;\n // Find the current position in the cycle (or -1).\n var i = sortDirectionCycle.indexOf(this.state.sortDirection && column === this.state.sortColumn ? this.state.sortDirection : null);\n\n // Proceed to the next position in the cycle (or start at the beginning).\n i = (i + 1) % sortDirectionCycle.length;\n\n if (sortDirectionCycle[i]) {\n sortDirection = sortDirectionCycle[i];\n } else {\n sortDirection = null;\n }\n\n var state = {\n page: 0,\n sortColumn: column,\n sortDirection: sortDirection\n };\n\n this.setState(state);\n },\n componentWillReceiveProps: function componentWillReceiveProps(nextProps) {\n // Check if results props changed\n if (nextProps.results !== this.props.results) {\n this.setFilter(this.state.filter, nextProps.results);\n }\n\n this.setMaxPage(nextProps.results);\n if (nextProps.resultsPerPage !== this.props.resultsPerPage) {\n this.setPageSize(nextProps.resultsPerPage);\n }\n //This will updaet the column Metadata\n this.columnSettings.columnMetadata = nextProps.columnMetadata;\n if (nextProps.results.length > 0) {\n var deepKeys = deep.keys(nextProps.results[0]);\n\n var is_same = this.columnSettings.allColumns.length == deepKeys.length && this.columnSettings.allColumns.every(function (element, index) {\n return element === deepKeys[index];\n });\n\n if (!is_same) {\n this.columnSettings.allColumns = deepKeys;\n }\n } else if (this.columnSettings.allColumns.length > 0) {\n this.columnSettings.allColumns = [];\n }\n\n if (nextProps.selectedRowIds) {\n var visibleRows = this.getDataForRender(this.getCurrentResults(nextProps.results), this.columnSettings.getColumns(), true);\n\n this.setState({\n isSelectAllChecked: this._getAreAllRowsChecked(nextProps.selectedRowIds, map(visibleRows, this.props.uniqueIdentifier)),\n selectedRowIds: nextProps.selectedRowIds\n });\n }\n },\n getInitialState: function getInitialState() {\n var state = {\n maxPage: 0,\n page: 0,\n filteredResults: null,\n filteredColumns: [],\n filter: \"\",\n //this sets the individual column filters\n columnFilters: {},\n resultsPerPage: this.props.resultsPerPage || 5,\n showColumnChooser: false,\n isSelectAllChecked: false,\n selectedRowIds: this.props.selectedRowIds\n };\n return state;\n },\n componentWillMount: function componentWillMount() {\n this.verifyExternal();\n this.verifyCustom();\n\n this.columnSettings = new ColumnProperties(this.props.results.length > 0 ? deep.keys(this.props.results[0]) : [], this.props.columns, this.props.childrenColumnName, this.props.columnMetadata, this.props.metadataColumns);\n\n this.rowSettings = new RowProperties(this.props.rowMetadata, this.props.useCustomTableRowComponent && this.props.customTableRowComponent ? this.props.customTableRowComponent : GridRow, this.props.useCustomTableRowComponent);\n\n if (this.props.initialSort) {\n // shouldn't change Sort on init for external\n if (this.props.useExternal) {\n this.setState({\n sortColumn: this.props.externalSortColumn,\n sortDirection: this.props.externalSortAscending ? 'asc' : 'desc'\n });\n } else {\n this.changeSort(this.props.initialSort);\n }\n }\n this.setMaxPage();\n\n //don't like the magic strings\n if (this.shouldUseCustomGridComponent()) {\n this.setState({\n customComponentType: \"grid\"\n });\n } else if (this.shouldUseCustomRowComponent()) {\n this.setState({\n customComponentType: \"row\"\n });\n } else {\n this.setState({\n filteredColumns: this.columnSettings.filteredColumns\n });\n }\n },\n componentDidMount: function componentDidMount() {\n if (this.props.componentDidMount && typeof this.props.componentDidMount === \"function\") {\n return this.props.componentDidMount();\n }\n },\n componentDidUpdate: function componentDidUpdate() {\n if (this.props.componentDidUpdate && typeof this.props.componentDidUpdate === \"function\") {\n return this.props.componentDidUpdate(this.state);\n }\n },\n //todo: clean these verify methods up\n verifyExternal: function verifyExternal() {\n if (this.props.useExternal === true) {\n //hooray for big ugly nested if\n if (this.props.externalSetPage === null) {\n console.error(\"useExternal is set to true but there is no externalSetPage function specified.\");\n }\n\n if (this.props.externalChangeSort === null) {\n console.error(\"useExternal is set to true but there is no externalChangeSort function specified.\");\n }\n\n if (this.props.externalSetFilter === null) {\n console.error(\"useExternal is set to true but there is no externalSetFilter function specified.\");\n }\n\n if (this.props.externalSetPageSize === null) {\n console.error(\"useExternal is set to true but there is no externalSetPageSize function specified.\");\n }\n\n if (this.props.externalMaxPage === null) {\n console.error(\"useExternal is set to true but externalMaxPage is not set.\");\n }\n\n if (this.props.externalCurrentPage === null) {\n console.error(\"useExternal is set to true but externalCurrentPage is not set. Griddle will not page correctly without that property when using external data.\");\n }\n }\n },\n //TODO: Do this with propTypes\n verifyCustom: function verifyCustom() {\n if (this.props.useCustomGridComponent === true && this.props.customGridComponent === null) {\n console.error(\"useCustomGridComponent is set to true but no custom component was specified.\");\n }\n if (this.props.useCustomRowComponent === true && this.props.customRowComponent === null) {\n console.error(\"useCustomRowComponent is set to true but no custom component was specified.\");\n }\n if (this.props.useCustomGridComponent === true && this.props.useCustomRowComponent === true) {\n console.error(\"Cannot currently use both customGridComponent and customRowComponent.\");\n }\n if (this.props.useCustomFilterer === true && this.props.customFilterer === null) {\n console.error(\"useCustomFilterer is set to true but no custom filter function was specified.\");\n }\n if (this.props.useCustomFilterComponent === true && this.props.customFilterComponent === null) {\n console.error(\"useCustomFilterComponent is set to true but no customFilterComponent was specified.\");\n }\n },\n getDataForRender: function getDataForRender(data, cols, pageList) {\n var _this = this;\n\n var that = this;\n\n if (!this.props.useExternal) {\n if (this.state.sortColumn !== \"\") {\n var column = this.state.sortColumn;\n var sortColumn = _filter(this.props.columnMetadata, { columnName: column });\n var customCompareFn;\n var multiSort = {\n columns: [],\n orders: []\n };\n\n if (sortColumn.length > 0) {\n customCompareFn = sortColumn[0].hasOwnProperty(\"customCompareFn\") && sortColumn[0][\"customCompareFn\"];\n if (sortColumn[0][\"multiSort\"]) {\n multiSort = sortColumn[0][\"multiSort\"];\n }\n }\n\n if (this.state.sortDirection) {\n if (typeof customCompareFn === 'function') {\n if (customCompareFn.length === 2) {\n data = data.sort(function (a, b) {\n return customCompareFn(_get(a, column), _get(b, column));\n });\n\n if (this.state.sortDirection === 'desc') {\n data.reverse();\n }\n } else if (customCompareFn.length === 1) {\n data = _orderBy(data, function (item) {\n return customCompareFn(_get(item, column));\n }, [this.state.sortDirection]);\n }\n } else {\n var iteratees = [function (row) {\n return (_get(row, column) || '').toString().toLowerCase();\n }];\n var orders = [this.state.sortDirection];\n multiSort.columns.forEach(function (col, i) {\n iteratees.push(function (row) {\n return (_get(row, col) || '').toString().toLowerCase();\n });\n if (multiSort.orders[i] === 'asc' || multiSort.orders[i] === 'desc') {\n orders.push(multiSort.orders[i]);\n } else {\n orders.push(_this.state.sortDirection);\n }\n });\n\n data = _orderBy(data, iteratees, orders);\n }\n }\n }\n\n var currentPage = this.getCurrentPage();\n\n if (!this.props.useExternal && pageList && this.state.resultsPerPage * (currentPage + 1) <= this.state.resultsPerPage * this.state.maxPage && currentPage >= 0) {\n if (this.isInfiniteScrollEnabled()) {\n // If we're doing infinite scroll, grab all results up to the current page.\n data = first(data, (currentPage + 1) * this.state.resultsPerPage);\n } else {\n //the 'rest' is grabbing the whole array from index on and the 'initial' is getting the first n results\n var rest = drop(data, currentPage * this.state.resultsPerPage);\n data = (dropRight || initial)(rest, rest.length - this.state.resultsPerPage);\n }\n }\n }\n\n var transformedData = [];\n\n for (var i = 0; i < data.length; i++) {\n var mappedData = data[i];\n\n if (typeof mappedData[that.props.childrenColumnName] !== \"undefined\" && mappedData[that.props.childrenColumnName].length > 0) {\n //internally we're going to use children instead of whatever it is so we don't have to pass the custom name around\n mappedData[\"children\"] = that.getDataForRender(mappedData[that.props.childrenColumnName], cols, false);\n\n if (that.props.childrenColumnName !== \"children\") {\n delete mappedData[that.props.childrenColumnName];\n }\n }\n\n transformedData.push(mappedData);\n }\n return transformedData;\n },\n getCurrentResults: function getCurrentResults(results) {\n return this.state.filteredResults || results || this.props.results;\n },\n getCurrentPage: function getCurrentPage() {\n return this.props.externalCurrentPage || this.state.page;\n },\n getCurrentSort: function getCurrentSort() {\n return this.props.useExternal ? this.props.externalSortColumn : this.state.sortColumn;\n },\n getCurrentSortAscending: function getCurrentSortAscending() {\n return this.props.useExternal ? this.props.externalSortAscending : this.state.sortDirection === 'asc';\n },\n getCurrentMaxPage: function getCurrentMaxPage() {\n return this.props.useExternal ? this.props.externalMaxPage : this.state.maxPage;\n },\n //This takes the props relating to sort and puts them in one object\n getSortObject: function getSortObject() {\n return {\n enableSort: this.props.enableSort,\n changeSort: this.changeSort,\n sortColumn: this.getCurrentSort(),\n sortAscending: this.getCurrentSortAscending(),\n sortDirection: this.state.sortDirection,\n sortAscendingClassName: this.props.sortAscendingClassName,\n sortDescendingClassName: this.props.sortDescendingClassName,\n sortAscendingComponent: this.props.sortAscendingComponent,\n sortDescendingComponent: this.props.sortDescendingComponent,\n sortDefaultComponent: this.props.sortDefaultComponent\n };\n },\n _toggleSelectAll: function _toggleSelectAll() {\n var visibleRows = this.getDataForRender(this.getCurrentResults(), this.columnSettings.getColumns(), true),\n newIsSelectAllChecked = !this.state.isSelectAllChecked,\n newSelectedRowIds = JSON.parse(JSON.stringify(this.state.selectedRowIds));\n\n var self = this;\n forEach(visibleRows, function (row) {\n self._updateSelectedRowIds(row[self.props.uniqueIdentifier], newSelectedRowIds, newIsSelectAllChecked);\n }, this);\n\n this.setState({\n isSelectAllChecked: newIsSelectAllChecked,\n selectedRowIds: newSelectedRowIds\n });\n\n if (this.props.onSelectionChange) {\n this.props.onSelectionChange(newSelectedRowIds, newIsSelectAllChecked);\n }\n },\n _toggleSelectRow: function _toggleSelectRow(row, isChecked) {\n var visibleRows = this.getDataForRender(this.getCurrentResults(), this.columnSettings.getColumns(), true),\n newSelectedRowIds = JSON.parse(JSON.stringify(this.state.selectedRowIds));\n\n this._updateSelectedRowIds(row[this.props.uniqueIdentifier], newSelectedRowIds, isChecked);\n\n var newIsSelectAllChecked = this._getAreAllRowsChecked(newSelectedRowIds, map(visibleRows, this.props.uniqueIdentifier));\n\n this.setState({\n isSelectAllChecked: newIsSelectAllChecked,\n selectedRowIds: newSelectedRowIds\n });\n\n if (this.props.onSelectionChange) {\n this.props.onSelectionChange(newSelectedRowIds, newIsSelectAllChecked);\n }\n },\n _updateSelectedRowIds: function _updateSelectedRowIds(id, selectedRowIds, isChecked) {\n\n var isFound;\n\n if (isChecked) {\n isFound = find(selectedRowIds, function (item) {\n return id === item;\n });\n\n if (isFound === undefined) {\n selectedRowIds.push(id);\n }\n } else {\n selectedRowIds.splice(selectedRowIds.indexOf(id), 1);\n }\n },\n _getIsSelectAllChecked: function _getIsSelectAllChecked() {\n\n return this.state.isSelectAllChecked;\n },\n _getAreAllRowsChecked: function _getAreAllRowsChecked(selectedRowIds, visibleRowIds) {\n\n return visibleRowIds.length === intersection(visibleRowIds, selectedRowIds).length;\n },\n _getIsRowChecked: function _getIsRowChecked(row) {\n\n return this.state.selectedRowIds.indexOf(row[this.props.uniqueIdentifier]) > -1 ? true : false;\n },\n getSelectedRowIds: function getSelectedRowIds() {\n\n return this.state.selectedRowIds;\n },\n _resetSelectedRows: function _resetSelectedRows() {\n\n this.setState({\n isSelectAllChecked: false,\n selectedRowIds: []\n });\n },\n //This takes the props relating to multiple selection and puts them in one object\n getMultipleSelectionObject: function getMultipleSelectionObject() {\n\n return {\n isMultipleSelection: find(this.props.results, function (result) {\n return 'children' in result;\n }) ? false : this.props.isMultipleSelection, //does not support subgrids\n toggleSelectAll: this._toggleSelectAll,\n getIsSelectAllChecked: this._getIsSelectAllChecked,\n toggleSelectRow: this._toggleSelectRow,\n getSelectedRowIds: this.getSelectedRowIds,\n getIsRowChecked: this._getIsRowChecked\n };\n },\n isInfiniteScrollEnabled: function isInfiniteScrollEnabled() {\n // If a custom pager is included, don't allow for infinite scrolling.\n if (this.props.useCustomPagerComponent) {\n return false;\n }\n\n // Otherwise, send back the property.\n return this.props.enableInfiniteScroll;\n },\n getClearFixStyles: function getClearFixStyles() {\n return {\n clear: \"both\",\n display: \"table\",\n width: \"100%\"\n };\n },\n getSettingsStyles: function getSettingsStyles() {\n return {\n \"float\": \"left\",\n width: \"50%\",\n textAlign: \"right\"\n };\n },\n getFilterStyles: function getFilterStyles() {\n return {\n \"float\": \"left\",\n width: \"50%\",\n textAlign: \"left\",\n color: \"#222\",\n minHeight: \"1px\"\n };\n },\n getFilter: function getFilter() {\n return this.props.showFilter && this.shouldUseCustomGridComponent() === false ? this.props.useCustomFilterComponent ? React.createElement(CustomFilterContainer, { changeFilter: this.setFilter, placeholderText: this.props.filterPlaceholderText, customFilterComponent: this.props.customFilterComponent, results: this.props.results, currentResults: this.getCurrentResults() }) : React.createElement(GridFilter, { changeFilter: this.setFilter, placeholderText: this.props.filterPlaceholderText }) : \"\";\n },\n getSettings: function getSettings() {\n return this.props.showSettings ? React.createElement('button', { type: 'button', className: this.props.settingsToggleClassName, onClick: this.toggleColumnChooser,\n style: this.props.useGriddleStyles ? { background: \"none\", border: \"none\", padding: 0, margin: 0, fontSize: 14 } : null }, this.props.settingsText, this.props.settingsIconComponent) : \"\";\n },\n getTopSection: function getTopSection(filter, settings) {\n if (this.props.showFilter === false && this.props.showSettings === false) {\n return \"\";\n }\n\n var filterStyles = null,\n settingsStyles = null,\n topContainerStyles = null;\n\n if (this.props.useGriddleStyles) {\n filterStyles = this.getFilterStyles();\n settingsStyles = this.getSettingsStyles();\n\n topContainerStyles = this.getClearFixStyles();\n }\n\n return React.createElement('div', { className: 'top-section', style: topContainerStyles }, React.createElement('div', { className: 'griddle-filter', style: filterStyles }, filter), React.createElement('div', { className: 'griddle-settings-toggle', style: settingsStyles }, settings));\n },\n getPagingSection: function getPagingSection(currentPage, maxPage) {\n if ((this.props.showPager && !this.isInfiniteScrollEnabled() && !this.shouldUseCustomGridComponent()) === false) {\n return undefined;\n }\n\n return React.createElement('div', { className: 'griddle-footer' }, this.props.useCustomPagerComponent ? React.createElement(CustomPaginationContainer, { customPagerComponentOptions: this.props.customPagerComponentOptions, next: this.nextPage, previous: this.previousPage, currentPage: currentPage, maxPage: maxPage, setPage: this.setPage, nextText: this.props.nextText, previousText: this.props.previousText, customPagerComponent: this.props.customPagerComponent }) : React.createElement(GridPagination, { useGriddleStyles: this.props.useGriddleStyles, next: this.nextPage, previous: this.previousPage, nextClassName: this.props.nextClassName, nextIconComponent: this.props.nextIconComponent, previousClassName: this.props.previousClassName, previousIconComponent: this.props.previousIconComponent, currentPage: currentPage, maxPage: maxPage, setPage: this.setPage, nextText: this.props.nextText, previousText: this.props.previousText }));\n },\n getColumnSelectorSection: function getColumnSelectorSection(keys, cols) {\n return this.state.showColumnChooser ? React.createElement(GridSettings, { columns: keys, selectedColumns: cols, setColumns: this.setColumns, settingsText: this.props.settingsText,\n settingsIconComponent: this.props.settingsIconComponent, maxRowsText: this.props.maxRowsText, setPageSize: this.setPageSize,\n showSetPageSize: !this.shouldUseCustomGridComponent(), resultsPerPage: this.state.resultsPerPage, enableToggleCustom: this.props.enableToggleCustom,\n toggleCustomComponent: this.toggleCustomComponent, useCustomComponent: this.shouldUseCustomRowComponent() || this.shouldUseCustomGridComponent(),\n useGriddleStyles: this.props.useGriddleStyles, enableCustomFormatText: this.props.enableCustomFormatText, columnMetadata: this.props.columnMetadata }) : \"\";\n },\n getCustomGridSection: function getCustomGridSection() {\n return React.createElement(this.props.customGridComponent, _extends({ data: this.props.results, className: this.props.customGridComponentClassName }, this.props.gridMetadata));\n },\n getCustomRowSection: function getCustomRowSection(data, cols, meta, pagingContent, globalData) {\n return React.createElement('div', null, React.createElement(CustomRowComponentContainer, { data: data, columns: cols, metadataColumns: meta, globalData: globalData,\n className: this.props.customRowComponentClassName, customComponent: this.props.customRowComponent,\n style: this.props.useGriddleStyles ? this.getClearFixStyles() : null }), this.props.showPager && pagingContent);\n },\n getStandardGridSection: function getStandardGridSection(data, cols, meta, pagingContent, hasMorePages) {\n var sortProperties = this.getSortObject();\n var multipleSelectionProperties = this.getMultipleSelectionObject();\n\n // no data section\n var showNoData = this.shouldShowNoDataSection(data);\n var noDataSection = this.getNoDataSection();\n\n return React.createElement('div', { className: 'griddle-body' }, React.createElement(GridTable, { useGriddleStyles: this.props.useGriddleStyles,\n noDataSection: noDataSection,\n showNoData: showNoData,\n columnSettings: this.columnSettings,\n rowSettings: this.rowSettings,\n sortSettings: sortProperties,\n multipleSelectionSettings: multipleSelectionProperties,\n filterByColumn: this.filterByColumn,\n isSubGriddle: this.props.isSubGriddle,\n useGriddleIcons: this.props.useGriddleIcons,\n useFixedLayout: this.props.useFixedLayout,\n showPager: this.props.showPager,\n pagingContent: pagingContent,\n data: data,\n className: this.props.tableClassName,\n enableInfiniteScroll: this.isInfiniteScrollEnabled(),\n nextPage: this.nextPage,\n showTableHeading: this.props.showTableHeading,\n useFixedHeader: this.props.useFixedHeader,\n parentRowCollapsedClassName: this.props.parentRowCollapsedClassName,\n parentRowExpandedClassName: this.props.parentRowExpandedClassName,\n parentRowCollapsedComponent: this.props.parentRowCollapsedComponent,\n parentRowExpandedComponent: this.props.parentRowExpandedComponent,\n bodyHeight: this.props.bodyHeight,\n paddingHeight: this.props.paddingHeight,\n rowHeight: this.props.rowHeight,\n infiniteScrollLoadTreshold: this.props.infiniteScrollLoadTreshold,\n externalLoadingComponent: this.props.externalLoadingComponent,\n externalIsLoading: this.props.externalIsLoading,\n hasMorePages: hasMorePages,\n onRowClick: this.props.onRowClick,\n onRowMouseEnter: this.props.onRowMouseEnter,\n onRowMouseLeave: this.props.onRowMouseLeave,\n onRowWillMount: this.props.onRowWillMount,\n onRowWillUnmount: this.props.onRowWillUnmount }));\n },\n getContentSection: function getContentSection(data, cols, meta, pagingContent, hasMorePages, globalData) {\n if (this.shouldUseCustomGridComponent() && this.props.customGridComponent !== null) {\n return this.getCustomGridSection();\n } else if (this.shouldUseCustomRowComponent()) {\n return this.getCustomRowSection(data, cols, meta, pagingContent, globalData);\n } else {\n return this.getStandardGridSection(data, cols, meta, pagingContent, hasMorePages);\n }\n },\n getNoDataSection: function getNoDataSection() {\n if (this.props.customNoDataComponent != null) {\n return React.createElement('div', { className: this.props.noDataClassName }, React.createElement(this.props.customNoDataComponent, this.props.customNoDataComponentProps));\n }\n return React.createElement(GridNoData, { noDataMessage: this.props.noDataMessage });\n },\n shouldShowNoDataSection: function shouldShowNoDataSection(results) {\n if (this.props.allowEmptyGrid) {\n return false;\n }\n\n return this.props.useExternal === false && (typeof results === 'undefined' || results.length === 0) || this.props.useExternal === true && this.props.externalIsLoading === false && results.length === 0;\n },\n render: function render() {\n var that = this,\n results = this.getCurrentResults(); // Attempt to assign to the filtered results, if we have any.\n\n var headerTableClassName = this.props.tableClassName + \" table-header\";\n\n //figure out if we want to show the filter section\n var filter = this.getFilter();\n var settings = this.getSettings();\n\n //if we have neither filter or settings don't need to render this stuff\n var topSection = this.getTopSection(filter, settings);\n\n var keys = [];\n var cols = this.columnSettings.getColumns();\n //figure out which columns are displayed and show only those\n var data = this.getDataForRender(results, cols, true);\n\n var meta = this.columnSettings.getMetadataColumns();\n\n if (this.props.columnMetadata) {\n // Get column keys from column metadata\n forEach(this.props.columnMetadata, function (meta) {\n if (!(typeof meta.visible === 'boolean' && meta.visible === false)) {\n keys.push(meta.columnName);\n }\n });\n } else {\n // Grab the column keys from the first results\n keys = deep.keys(omit(results[0], meta));\n }\n\n // sort keys by order\n keys = this.columnSettings.orderColumns(keys);\n\n // Grab the current and max page values.\n var currentPage = this.getCurrentPage();\n var maxPage = this.getCurrentMaxPage();\n\n // Determine if we need to enable infinite scrolling on the table.\n var hasMorePages = currentPage + 1 < maxPage;\n\n // Grab the paging content if it's to be displayed\n var pagingContent = this.getPagingSection(currentPage, maxPage);\n\n var resultContent = this.getContentSection(data, cols, meta, pagingContent, hasMorePages, this.props.globalData);\n\n var columnSelector = this.getColumnSelectorSection(keys, cols);\n\n var gridClassName = this.props.gridClassName.length > 0 ? \"griddle \" + this.props.gridClassName : \"griddle\";\n //add custom to the class name so we can style it differently\n gridClassName += this.shouldUseCustomRowComponent() ? \" griddle-custom\" : \"\";\n\n return React.createElement('div', { className: gridClassName }, topSection, columnSelector, React.createElement('div', { className: 'griddle-container', style: this.props.useGriddleStyles && !this.props.isSubGriddle ? { border: \"1px solid #DDD\" } : null }, resultContent));\n }\n});\n\nGridRowContainer.Griddle = module.exports = Griddle;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/griddle.jsx.js\n// module id = ./node_modules/griddle-react/modules/griddle.jsx.js\n// module chunks = 0","'use strict';\n\nvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\nvar _uniqueId = require('lodash/uniqueId');\n\nvar RowProperties = (function () {\n function RowProperties() {\n var rowMetadata = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n var rowComponent = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n var isCustom = arguments.length <= 2 || arguments[2] === undefined ? false : arguments[2];\n\n _classCallCheck(this, RowProperties);\n\n this.rowMetadata = rowMetadata;\n this.rowComponent = rowComponent;\n this.isCustom = isCustom;\n // assign unique Id to each griddle instance\n }\n\n _createClass(RowProperties, [{\n key: 'getRowKey',\n value: function getRowKey(row, key) {\n var uniqueId;\n\n if (this.hasRowMetadataKey()) {\n uniqueId = row[this.rowMetadata.key];\n } else {\n uniqueId = _uniqueId(\"grid_row\");\n }\n\n //todo: add error handling\n\n return uniqueId;\n }\n }, {\n key: 'hasRowMetadataKey',\n value: function hasRowMetadataKey() {\n return this.hasRowMetadata() && this.rowMetadata.key !== null && this.rowMetadata.key !== undefined;\n }\n }, {\n key: 'getBodyRowMetadataClass',\n value: function getBodyRowMetadataClass(rowData) {\n if (this.hasRowMetadata() && this.rowMetadata.bodyCssClassName !== null && this.rowMetadata.bodyCssClassName !== undefined) {\n if (typeof this.rowMetadata.bodyCssClassName === 'function') {\n return this.rowMetadata.bodyCssClassName(rowData);\n } else {\n return this.rowMetadata.bodyCssClassName;\n }\n }\n return null;\n }\n }, {\n key: 'getHeaderRowMetadataClass',\n value: function getHeaderRowMetadataClass() {\n return this.hasRowMetadata() && this.rowMetadata.headerCssClassName !== null && this.rowMetadata.headerCssClassName !== undefined ? this.rowMetadata.headerCssClassName : null;\n }\n }, {\n key: 'hasRowMetadata',\n value: function hasRowMetadata() {\n return this.rowMetadata !== null;\n }\n }]);\n\n return RowProperties;\n})();\n\nmodule.exports = RowProperties;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/rowProperties.js\n// module id = ./node_modules/griddle-react/modules/rowProperties.js\n// module chunks = 0","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_DataView.js\n// module id = ./node_modules/lodash/_DataView.js\n// module chunks = 0","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction 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// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_Hash.js\n// module id = ./node_modules/lodash/_Hash.js\n// module chunks = 0","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction 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// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_ListCache.js\n// module id = ./node_modules/lodash/_ListCache.js\n// module chunks = 0","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_Map.js\n// module id = ./node_modules/lodash/_Map.js\n// module chunks = 0","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\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 */\nfunction 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// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_MapCache.js\n// module id = ./node_modules/lodash/_MapCache.js\n// module chunks = 0","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_Promise.js\n// module id = ./node_modules/lodash/_Promise.js\n// module chunks = 0","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_Set.js\n// module id = ./node_modules/lodash/_Set.js\n// module chunks = 0","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\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 */\nfunction 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// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_SetCache.js\n// module id = ./node_modules/lodash/_SetCache.js\n// module chunks = 0","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\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 */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_Stack.js\n// module id = ./node_modules/lodash/_Stack.js\n// module chunks = 0","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_Symbol.js\n// module id = ./node_modules/lodash/_Symbol.js\n// module chunks = 0","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_Uint8Array.js\n// module id = ./node_modules/lodash/_Uint8Array.js\n// module chunks = 0","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_WeakMap.js\n// module id = ./node_modules/lodash/_WeakMap.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = apply;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_apply.js\n// module id = ./node_modules/lodash/_apply.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = arrayEach;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arrayEach.js\n// module id = ./node_modules/lodash/_arrayEach.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = arrayFilter;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arrayFilter.js\n// module id = ./node_modules/lodash/_arrayFilter.js\n// module chunks = 0","var baseIndexOf = require('./_baseIndexOf');\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 */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arrayIncludes.js\n// module id = ./node_modules/lodash/_arrayIncludes.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = arrayIncludesWith;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arrayIncludesWith.js\n// module id = ./node_modules/lodash/_arrayIncludesWith.js\n// module chunks = 0","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = arrayLikeKeys;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arrayLikeKeys.js\n// module id = ./node_modules/lodash/_arrayLikeKeys.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = arrayMap;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arrayMap.js\n// module id = ./node_modules/lodash/_arrayMap.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = arrayPush;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arrayPush.js\n// module id = ./node_modules/lodash/_arrayPush.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = arraySome;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arraySome.js\n// module id = ./node_modules/lodash/_arraySome.js\n// module chunks = 0","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = assignValue;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_assignValue.js\n// module id = ./node_modules/lodash/_assignValue.js\n// module chunks = 0","var eq = require('./eq');\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 */\nfunction 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\nmodule.exports = assocIndexOf;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_assocIndexOf.js\n// module id = ./node_modules/lodash/_assocIndexOf.js\n// module chunks = 0","var copyObject = require('./_copyObject'),\n keys = require('./keys');\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 */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseAssign.js\n// module id = ./node_modules/lodash/_baseAssign.js\n// module chunks = 0","var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\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 */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseAssignIn.js\n// module id = ./node_modules/lodash/_baseAssignIn.js\n// module chunks = 0","var defineProperty = require('./_defineProperty');\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 */\nfunction 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\nmodule.exports = baseAssignValue;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseAssignValue.js\n// module id = ./node_modules/lodash/_baseAssignValue.js\n// module chunks = 0","var Stack = require('./_Stack'),\n arrayEach = require('./_arrayEach'),\n assignValue = require('./_assignValue'),\n baseAssign = require('./_baseAssign'),\n baseAssignIn = require('./_baseAssignIn'),\n cloneBuffer = require('./_cloneBuffer'),\n copyArray = require('./_copyArray'),\n copySymbols = require('./_copySymbols'),\n copySymbolsIn = require('./_copySymbolsIn'),\n getAllKeys = require('./_getAllKeys'),\n getAllKeysIn = require('./_getAllKeysIn'),\n getTag = require('./_getTag'),\n initCloneArray = require('./_initCloneArray'),\n initCloneByTag = require('./_initCloneByTag'),\n initCloneObject = require('./_initCloneObject'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isMap = require('./isMap'),\n isObject = require('./isObject'),\n isSet = require('./isSet'),\n keys = require('./keys');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar 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 identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\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 */\nfunction 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 } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\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\nmodule.exports = baseClone;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseClone.js\n// module id = ./node_modules/lodash/_baseClone.js\n// module chunks = 0","var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\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 */\nvar 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\nmodule.exports = baseCreate;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseCreate.js\n// module id = ./node_modules/lodash/_baseCreate.js\n// module chunks = 0","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n arrayMap = require('./_arrayMap'),\n baseUnary = require('./_baseUnary'),\n cacheHas = require('./_cacheHas');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\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 */\nfunction 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\nmodule.exports = baseDifference;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseDifference.js\n// module id = ./node_modules/lodash/_baseDifference.js\n// module chunks = 0","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\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 */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseEach.js\n// module id = ./node_modules/lodash/_baseEach.js\n// module chunks = 0","var baseEach = require('./_baseEach');\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 */\nfunction 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\nmodule.exports = baseFilter;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseFilter.js\n// module id = ./node_modules/lodash/_baseFilter.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = baseFindIndex;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseFindIndex.js\n// module id = ./node_modules/lodash/_baseFindIndex.js\n// module chunks = 0","var arrayPush = require('./_arrayPush'),\n isFlattenable = require('./_isFlattenable');\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 */\nfunction 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\nmodule.exports = baseFlatten;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseFlatten.js\n// module id = ./node_modules/lodash/_baseFlatten.js\n// module chunks = 0","var createBaseFor = require('./_createBaseFor');\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 */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseFor.js\n// module id = ./node_modules/lodash/_baseFor.js\n// module chunks = 0","var baseFor = require('./_baseFor'),\n keys = require('./keys');\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 */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseForOwn.js\n// module id = ./node_modules/lodash/_baseForOwn.js\n// module chunks = 0","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\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 */\nfunction 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\nmodule.exports = baseGet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseGet.js\n// module id = ./node_modules/lodash/_baseGet.js\n// module chunks = 0","var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\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 */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseGetAllKeys.js\n// module id = ./node_modules/lodash/_baseGetAllKeys.js\n// module chunks = 0","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\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 */\nfunction 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\nmodule.exports = baseGetTag;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseGetTag.js\n// module id = ./node_modules/lodash/_baseGetTag.js\n// module chunks = 0","/**\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 */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseHasIn.js\n// module id = ./node_modules/lodash/_baseHasIn.js\n// module chunks = 0","var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\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 */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIndexOf.js\n// module id = ./node_modules/lodash/_baseIndexOf.js\n// module chunks = 0","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n arrayMap = require('./_arrayMap'),\n baseUnary = require('./_baseUnary'),\n cacheHas = require('./_cacheHas');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMin = Math.min;\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 */\nfunction 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\nmodule.exports = baseIntersection;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIntersection.js\n// module id = ./node_modules/lodash/_baseIntersection.js\n// module chunks = 0","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\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 */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsArguments.js\n// module id = ./node_modules/lodash/_baseIsArguments.js\n// module chunks = 0","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\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 */\nfunction 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\nmodule.exports = baseIsEqual;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsEqual.js\n// module id = ./node_modules/lodash/_baseIsEqual.js\n// module chunks = 0","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = baseIsEqualDeep;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsEqualDeep.js\n// module id = ./node_modules/lodash/_baseIsEqualDeep.js\n// module chunks = 0","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\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 */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsMap.js\n// module id = ./node_modules/lodash/_baseIsMap.js\n// module chunks = 0","var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\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 */\nfunction 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\nmodule.exports = baseIsMatch;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsMatch.js\n// module id = ./node_modules/lodash/_baseIsMatch.js\n// module chunks = 0","/**\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 */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsNaN.js\n// module id = ./node_modules/lodash/_baseIsNaN.js\n// module chunks = 0","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\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 */\nfunction 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\nmodule.exports = baseIsNative;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsNative.js\n// module id = ./node_modules/lodash/_baseIsNative.js\n// module chunks = 0","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\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 */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsSet.js\n// module id = ./node_modules/lodash/_baseIsSet.js\n// module chunks = 0","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar 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 identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\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 */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsTypedArray.js\n// module id = ./node_modules/lodash/_baseIsTypedArray.js\n// module chunks = 0","var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\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 */\nfunction 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\nmodule.exports = baseIteratee;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIteratee.js\n// module id = ./node_modules/lodash/_baseIteratee.js\n// module chunks = 0","var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = baseKeys;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseKeys.js\n// module id = ./node_modules/lodash/_baseKeys.js\n// module chunks = 0","var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = baseKeysIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseKeysIn.js\n// module id = ./node_modules/lodash/_baseKeysIn.js\n// module chunks = 0","var baseEach = require('./_baseEach'),\n isArrayLike = require('./isArrayLike');\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 */\nfunction 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\nmodule.exports = baseMap;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseMap.js\n// module id = ./node_modules/lodash/_baseMap.js\n// module chunks = 0","var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\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 */\nfunction 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\nmodule.exports = baseMatches;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseMatches.js\n// module id = ./node_modules/lodash/_baseMatches.js\n// module chunks = 0","var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\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 */\nfunction 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\nmodule.exports = baseMatchesProperty;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseMatchesProperty.js\n// module id = ./node_modules/lodash/_baseMatchesProperty.js\n// module chunks = 0","var arrayMap = require('./_arrayMap'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n baseSortBy = require('./_baseSortBy'),\n baseUnary = require('./_baseUnary'),\n compareMultiple = require('./_compareMultiple'),\n identity = require('./identity');\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 */\nfunction baseOrderBy(collection, iteratees, orders) {\n var index = -1;\n iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(baseIteratee));\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\nmodule.exports = baseOrderBy;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseOrderBy.js\n// module id = ./node_modules/lodash/_baseOrderBy.js\n// module chunks = 0","var basePickBy = require('./_basePickBy'),\n hasIn = require('./hasIn');\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 */\nfunction basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n}\n\nmodule.exports = basePick;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_basePick.js\n// module id = ./node_modules/lodash/_basePick.js\n// module chunks = 0","var baseGet = require('./_baseGet'),\n baseSet = require('./_baseSet'),\n castPath = require('./_castPath');\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 */\nfunction 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\nmodule.exports = basePickBy;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_basePickBy.js\n// module id = ./node_modules/lodash/_basePickBy.js\n// module chunks = 0","/**\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 */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseProperty.js\n// module id = ./node_modules/lodash/_baseProperty.js\n// module chunks = 0","var baseGet = require('./_baseGet');\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 */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_basePropertyDeep.js\n// module id = ./node_modules/lodash/_basePropertyDeep.js\n// module chunks = 0","var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\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 */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseRest.js\n// module id = ./node_modules/lodash/_baseRest.js\n// module chunks = 0","var assignValue = require('./_assignValue'),\n castPath = require('./_castPath'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject'),\n toKey = require('./_toKey');\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 */\nfunction 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\nmodule.exports = baseSet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseSet.js\n// module id = ./node_modules/lodash/_baseSet.js\n// module chunks = 0","var constant = require('./constant'),\n defineProperty = require('./_defineProperty'),\n identity = require('./identity');\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 */\nvar 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\nmodule.exports = baseSetToString;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseSetToString.js\n// module id = ./node_modules/lodash/_baseSetToString.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = baseSlice;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseSlice.js\n// module id = ./node_modules/lodash/_baseSlice.js\n// module chunks = 0","var baseEach = require('./_baseEach');\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 */\nfunction 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\nmodule.exports = baseSome;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseSome.js\n// module id = ./node_modules/lodash/_baseSome.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = baseSortBy;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseSortBy.js\n// module id = ./node_modules/lodash/_baseSortBy.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = baseTimes;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseTimes.js\n// module id = ./node_modules/lodash/_baseTimes.js\n// module chunks = 0","var arrayMap = require('./_arrayMap');\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 */\nfunction baseToPairs(object, props) {\n return arrayMap(props, function(key) {\n return [key, object[key]];\n });\n}\n\nmodule.exports = baseToPairs;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseToPairs.js\n// module id = ./node_modules/lodash/_baseToPairs.js\n// module chunks = 0","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\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 */\nfunction 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\nmodule.exports = baseToString;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseToString.js\n// module id = ./node_modules/lodash/_baseToString.js\n// module chunks = 0","/**\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 */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseUnary.js\n// module id = ./node_modules/lodash/_baseUnary.js\n// module chunks = 0","var castPath = require('./_castPath'),\n last = require('./last'),\n parent = require('./_parent'),\n toKey = require('./_toKey');\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 */\nfunction baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n}\n\nmodule.exports = baseUnset;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseUnset.js\n// module id = ./node_modules/lodash/_baseUnset.js\n// module chunks = 0","var arrayMap = require('./_arrayMap');\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 */\nfunction baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n}\n\nmodule.exports = baseValues;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseValues.js\n// module id = ./node_modules/lodash/_baseValues.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = baseZipObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseZipObject.js\n// module id = ./node_modules/lodash/_baseZipObject.js\n// module chunks = 0","/**\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 */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_cacheHas.js\n// module id = ./node_modules/lodash/_cacheHas.js\n// module chunks = 0","var isArrayLikeObject = require('./isArrayLikeObject');\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 */\nfunction castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n}\n\nmodule.exports = castArrayLikeObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_castArrayLikeObject.js\n// module id = ./node_modules/lodash/_castArrayLikeObject.js\n// module chunks = 0","var identity = require('./identity');\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 */\nfunction castFunction(value) {\n return typeof value == 'function' ? value : identity;\n}\n\nmodule.exports = castFunction;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_castFunction.js\n// module id = ./node_modules/lodash/_castFunction.js\n// module chunks = 0","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\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 */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_castPath.js\n// module id = ./node_modules/lodash/_castPath.js\n// module chunks = 0","var Uint8Array = require('./_Uint8Array');\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 */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_cloneArrayBuffer.js\n// module id = ./node_modules/lodash/_cloneArrayBuffer.js\n// module chunks = 0","var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\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 */\nfunction 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\nmodule.exports = cloneBuffer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_cloneBuffer.js\n// module id = ./node_modules/lodash/_cloneBuffer.js\n// module chunks = 0","var cloneArrayBuffer = require('./_cloneArrayBuffer');\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 */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_cloneDataView.js\n// module id = ./node_modules/lodash/_cloneDataView.js\n// module chunks = 0","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\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 */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_cloneRegExp.js\n// module id = ./node_modules/lodash/_cloneRegExp.js\n// module chunks = 0","var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\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 */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_cloneSymbol.js\n// module id = ./node_modules/lodash/_cloneSymbol.js\n// module chunks = 0","var cloneArrayBuffer = require('./_cloneArrayBuffer');\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 */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_cloneTypedArray.js\n// module id = ./node_modules/lodash/_cloneTypedArray.js\n// module chunks = 0","var isSymbol = require('./isSymbol');\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 */\nfunction 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\nmodule.exports = compareAscending;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_compareAscending.js\n// module id = ./node_modules/lodash/_compareAscending.js\n// module chunks = 0","var compareAscending = require('./_compareAscending');\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 */\nfunction 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\nmodule.exports = compareMultiple;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_compareMultiple.js\n// module id = ./node_modules/lodash/_compareMultiple.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = copyArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_copyArray.js\n// module id = ./node_modules/lodash/_copyArray.js\n// module chunks = 0","var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\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 */\nfunction 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\nmodule.exports = copyObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_copyObject.js\n// module id = ./node_modules/lodash/_copyObject.js\n// module chunks = 0","var copyObject = require('./_copyObject'),\n getSymbols = require('./_getSymbols');\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 */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_copySymbols.js\n// module id = ./node_modules/lodash/_copySymbols.js\n// module chunks = 0","var copyObject = require('./_copyObject'),\n getSymbolsIn = require('./_getSymbolsIn');\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 */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_copySymbolsIn.js\n// module id = ./node_modules/lodash/_copySymbolsIn.js\n// module chunks = 0","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_coreJsData.js\n// module id = ./node_modules/lodash/_coreJsData.js\n// module chunks = 0","var baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\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 */\nfunction 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\nmodule.exports = createAssigner;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_createAssigner.js\n// module id = ./node_modules/lodash/_createAssigner.js\n// module chunks = 0","var isArrayLike = require('./isArrayLike');\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 */\nfunction 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\nmodule.exports = createBaseEach;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_createBaseEach.js\n// module id = ./node_modules/lodash/_createBaseEach.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = createBaseFor;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_createBaseFor.js\n// module id = ./node_modules/lodash/_createBaseFor.js\n// module chunks = 0","var baseIteratee = require('./_baseIteratee'),\n isArrayLike = require('./isArrayLike'),\n keys = require('./keys');\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 */\nfunction createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = baseIteratee(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\nmodule.exports = createFind;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_createFind.js\n// module id = ./node_modules/lodash/_createFind.js\n// module chunks = 0","var baseToPairs = require('./_baseToPairs'),\n getTag = require('./_getTag'),\n mapToArray = require('./_mapToArray'),\n setToPairs = require('./_setToPairs');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\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 */\nfunction 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\nmodule.exports = createToPairs;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_createToPairs.js\n// module id = ./node_modules/lodash/_createToPairs.js\n// module chunks = 0","var isPlainObject = require('./isPlainObject');\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 */\nfunction customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n}\n\nmodule.exports = customOmitClone;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_customOmitClone.js\n// module id = ./node_modules/lodash/_customOmitClone.js\n// module chunks = 0","var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_defineProperty.js\n// module id = ./node_modules/lodash/_defineProperty.js\n// module chunks = 0","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\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 */\nfunction 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\nmodule.exports = equalArrays;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_equalArrays.js\n// module id = ./node_modules/lodash/_equalArrays.js\n// module chunks = 0","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\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 */\nfunction 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\nmodule.exports = equalByTag;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_equalByTag.js\n// module id = ./node_modules/lodash/_equalByTag.js\n// module chunks = 0","var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = equalObjects;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_equalObjects.js\n// module id = ./node_modules/lodash/_equalObjects.js\n// module chunks = 0","var flatten = require('./flatten'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\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 */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nmodule.exports = flatRest;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_flatRest.js\n// module id = ./node_modules/lodash/_flatRest.js\n// module chunks = 0","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_freeGlobal.js\n// module id = ./node_modules/lodash/_freeGlobal.js\n// module chunks = 0","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\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 */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getAllKeys.js\n// module id = ./node_modules/lodash/_getAllKeys.js\n// module chunks = 0","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbolsIn = require('./_getSymbolsIn'),\n keysIn = require('./keysIn');\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 */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getAllKeysIn.js\n// module id = ./node_modules/lodash/_getAllKeysIn.js\n// module chunks = 0","var isKeyable = require('./_isKeyable');\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 */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getMapData.js\n// module id = ./node_modules/lodash/_getMapData.js\n// module chunks = 0","var isStrictComparable = require('./_isStrictComparable'),\n keys = require('./keys');\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 */\nfunction 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\nmodule.exports = getMatchData;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getMatchData.js\n// module id = ./node_modules/lodash/_getMatchData.js\n// module chunks = 0","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\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 */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getNative.js\n// module id = ./node_modules/lodash/_getNative.js\n// module chunks = 0","var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getPrototype.js\n// module id = ./node_modules/lodash/_getPrototype.js\n// module chunks = 0","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\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 */\nfunction 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\nmodule.exports = getRawTag;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getRawTag.js\n// module id = ./node_modules/lodash/_getRawTag.js\n// module chunks = 0","var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\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 */\nvar 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\nmodule.exports = getSymbols;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getSymbols.js\n// module id = ./node_modules/lodash/_getSymbols.js\n// module chunks = 0","var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\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 */\nvar 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\nmodule.exports = getSymbolsIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getSymbolsIn.js\n// module id = ./node_modules/lodash/_getSymbolsIn.js\n// module chunks = 0","var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\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 */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((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\nmodule.exports = getTag;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getTag.js\n// module id = ./node_modules/lodash/_getTag.js\n// module chunks = 0","/**\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 */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getValue.js\n// module id = ./node_modules/lodash/_getValue.js\n// module chunks = 0","var castPath = require('./_castPath'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isIndex = require('./_isIndex'),\n isLength = require('./isLength'),\n toKey = require('./_toKey');\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 */\nfunction 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\nmodule.exports = hasPath;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_hasPath.js\n// module id = ./node_modules/lodash/_hasPath.js\n// module chunks = 0","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_hashClear.js\n// module id = ./node_modules/lodash/_hashClear.js\n// module chunks = 0","/**\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 */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_hashDelete.js\n// module id = ./node_modules/lodash/_hashDelete.js\n// module chunks = 0","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = hashGet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_hashGet.js\n// module id = ./node_modules/lodash/_hashGet.js\n// module chunks = 0","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_hashHas.js\n// module id = ./node_modules/lodash/_hashHas.js\n// module chunks = 0","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\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 */\nfunction 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\nmodule.exports = hashSet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_hashSet.js\n// module id = ./node_modules/lodash/_hashSet.js\n// module chunks = 0","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = initCloneArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_initCloneArray.js\n// module id = ./node_modules/lodash/_initCloneArray.js\n// module chunks = 0","var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar 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/**\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 */\nfunction 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\nmodule.exports = initCloneByTag;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_initCloneByTag.js\n// module id = ./node_modules/lodash/_initCloneByTag.js\n// module chunks = 0","var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\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 */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_initCloneObject.js\n// module id = ./node_modules/lodash/_initCloneObject.js\n// module chunks = 0","var Symbol = require('./_Symbol'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray');\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\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 */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isFlattenable.js\n// module id = ./node_modules/lodash/_isFlattenable.js\n// module chunks = 0","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\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 */\nfunction 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\nmodule.exports = isIndex;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isIndex.js\n// module id = ./node_modules/lodash/_isIndex.js\n// module chunks = 0","var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\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 */\nfunction 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\nmodule.exports = isIterateeCall;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isIterateeCall.js\n// module id = ./node_modules/lodash/_isIterateeCall.js\n// module chunks = 0","var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\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 */\nfunction 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\nmodule.exports = isKey;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isKey.js\n// module id = ./node_modules/lodash/_isKey.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = isKeyable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isKeyable.js\n// module id = ./node_modules/lodash/_isKeyable.js\n// module chunks = 0","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\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 */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isMasked.js\n// module id = ./node_modules/lodash/_isMasked.js\n// module chunks = 0","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\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 */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isPrototype.js\n// module id = ./node_modules/lodash/_isPrototype.js\n// module chunks = 0","var isObject = require('./isObject');\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 */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isStrictComparable.js\n// module id = ./node_modules/lodash/_isStrictComparable.js\n// module chunks = 0","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_listCacheClear.js\n// module id = ./node_modules/lodash/_listCacheClear.js\n// module chunks = 0","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\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 */\nfunction 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\nmodule.exports = listCacheDelete;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_listCacheDelete.js\n// module id = ./node_modules/lodash/_listCacheDelete.js\n// module chunks = 0","var assocIndexOf = require('./_assocIndexOf');\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 */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_listCacheGet.js\n// module id = ./node_modules/lodash/_listCacheGet.js\n// module chunks = 0","var assocIndexOf = require('./_assocIndexOf');\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 */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_listCacheHas.js\n// module id = ./node_modules/lodash/_listCacheHas.js\n// module chunks = 0","var assocIndexOf = require('./_assocIndexOf');\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 */\nfunction 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\nmodule.exports = listCacheSet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_listCacheSet.js\n// module id = ./node_modules/lodash/_listCacheSet.js\n// module chunks = 0","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_mapCacheClear.js\n// module id = ./node_modules/lodash/_mapCacheClear.js\n// module chunks = 0","var getMapData = require('./_getMapData');\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 */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_mapCacheDelete.js\n// module id = ./node_modules/lodash/_mapCacheDelete.js\n// module chunks = 0","var getMapData = require('./_getMapData');\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 */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_mapCacheGet.js\n// module id = ./node_modules/lodash/_mapCacheGet.js\n// module chunks = 0","var getMapData = require('./_getMapData');\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 */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_mapCacheHas.js\n// module id = ./node_modules/lodash/_mapCacheHas.js\n// module chunks = 0","var getMapData = require('./_getMapData');\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 */\nfunction 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\nmodule.exports = mapCacheSet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_mapCacheSet.js\n// module id = ./node_modules/lodash/_mapCacheSet.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = mapToArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_mapToArray.js\n// module id = ./node_modules/lodash/_mapToArray.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = matchesStrictComparable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_matchesStrictComparable.js\n// module id = ./node_modules/lodash/_matchesStrictComparable.js\n// module chunks = 0","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\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 */\nfunction 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\nmodule.exports = memoizeCapped;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_memoizeCapped.js\n// module id = ./node_modules/lodash/_memoizeCapped.js\n// module chunks = 0","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_nativeCreate.js\n// module id = ./node_modules/lodash/_nativeCreate.js\n// module chunks = 0","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_nativeKeys.js\n// module id = ./node_modules/lodash/_nativeKeys.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = nativeKeysIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_nativeKeysIn.js\n// module id = ./node_modules/lodash/_nativeKeysIn.js\n// module chunks = 0","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_nodeUtil.js\n// module id = ./node_modules/lodash/_nodeUtil.js\n// module chunks = 0","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\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 */\nvar nativeObjectToString = objectProto.toString;\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 */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_objectToString.js\n// module id = ./node_modules/lodash/_objectToString.js\n// module chunks = 0","/**\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 */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_overArg.js\n// module id = ./node_modules/lodash/_overArg.js\n// module chunks = 0","var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\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 */\nfunction 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\nmodule.exports = overRest;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_overRest.js\n// module id = ./node_modules/lodash/_overRest.js\n// module chunks = 0","var baseGet = require('./_baseGet'),\n baseSlice = require('./_baseSlice');\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 */\nfunction parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n}\n\nmodule.exports = parent;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_parent.js\n// module id = ./node_modules/lodash/_parent.js\n// module chunks = 0","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_root.js\n// module id = ./node_modules/lodash/_root.js\n// module chunks = 0","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\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 */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_setCacheAdd.js\n// module id = ./node_modules/lodash/_setCacheAdd.js\n// module chunks = 0","/**\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 */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_setCacheHas.js\n// module id = ./node_modules/lodash/_setCacheHas.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = setToArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_setToArray.js\n// module id = ./node_modules/lodash/_setToArray.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = setToPairs;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_setToPairs.js\n// module id = ./node_modules/lodash/_setToPairs.js\n// module chunks = 0","var baseSetToString = require('./_baseSetToString'),\n shortOut = require('./_shortOut');\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 */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_setToString.js\n// module id = ./node_modules/lodash/_setToString.js\n// module chunks = 0","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\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 */\nfunction 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\nmodule.exports = shortOut;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_shortOut.js\n// module id = ./node_modules/lodash/_shortOut.js\n// module chunks = 0","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_stackClear.js\n// module id = ./node_modules/lodash/_stackClear.js\n// module chunks = 0","/**\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 */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_stackDelete.js\n// module id = ./node_modules/lodash/_stackDelete.js\n// module chunks = 0","/**\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 */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_stackGet.js\n// module id = ./node_modules/lodash/_stackGet.js\n// module chunks = 0","/**\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 */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_stackHas.js\n// module id = ./node_modules/lodash/_stackHas.js\n// module chunks = 0","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\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 */\nfunction 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\nmodule.exports = stackSet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_stackSet.js\n// module id = ./node_modules/lodash/_stackSet.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = strictIndexOf;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_strictIndexOf.js\n// module id = ./node_modules/lodash/_strictIndexOf.js\n// module chunks = 0","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\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 */\nvar 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\nmodule.exports = stringToPath;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_stringToPath.js\n// module id = ./node_modules/lodash/_stringToPath.js\n// module chunks = 0","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\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 */\nfunction 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\nmodule.exports = toKey;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_toKey.js\n// module id = ./node_modules/lodash/_toKey.js\n// module chunks = 0","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\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 */\nfunction 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\nmodule.exports = toSource;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_toSource.js\n// module id = ./node_modules/lodash/_toSource.js\n// module chunks = 0","var assignValue = require('./_assignValue'),\n copyObject = require('./_copyObject'),\n createAssigner = require('./_createAssigner'),\n isArrayLike = require('./isArrayLike'),\n isPrototype = require('./_isPrototype'),\n keys = require('./keys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nvar 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\nmodule.exports = assign;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/assign.js\n// module id = ./node_modules/lodash/assign.js\n// module chunks = 0","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/constant.js\n// module id = ./node_modules/lodash/constant.js\n// module chunks = 0","var baseRest = require('./_baseRest'),\n eq = require('./eq'),\n isIterateeCall = require('./_isIterateeCall'),\n keysIn = require('./keysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nvar 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\nmodule.exports = defaults;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/defaults.js\n// module id = ./node_modules/lodash/defaults.js\n// module chunks = 0","var baseDifference = require('./_baseDifference'),\n baseFlatten = require('./_baseFlatten'),\n baseRest = require('./_baseRest'),\n isArrayLikeObject = require('./isArrayLikeObject');\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 */\nvar difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n});\n\nmodule.exports = difference;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/difference.js\n// module id = ./node_modules/lodash/difference.js\n// module chunks = 0","var baseSlice = require('./_baseSlice'),\n toInteger = require('./toInteger');\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 */\nfunction 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\nmodule.exports = drop;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/drop.js\n// module id = ./node_modules/lodash/drop.js\n// module chunks = 0","var baseSlice = require('./_baseSlice'),\n toInteger = require('./toInteger');\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 */\nfunction 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\nmodule.exports = dropRight;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/dropRight.js\n// module id = ./node_modules/lodash/dropRight.js\n// module chunks = 0","/**\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 */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/eq.js\n// module id = ./node_modules/lodash/eq.js\n// module chunks = 0","var arrayFilter = require('./_arrayFilter'),\n baseFilter = require('./_baseFilter'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\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 */\nfunction filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = filter;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/filter.js\n// module id = ./node_modules/lodash/filter.js\n// module chunks = 0","var createFind = require('./_createFind'),\n findIndex = require('./findIndex');\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 */\nvar find = createFind(findIndex);\n\nmodule.exports = find;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/find.js\n// module id = ./node_modules/lodash/find.js\n// module chunks = 0","var baseFindIndex = require('./_baseFindIndex'),\n baseIteratee = require('./_baseIteratee'),\n toInteger = require('./toInteger');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\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 */\nfunction 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, baseIteratee(predicate, 3), index);\n}\n\nmodule.exports = findIndex;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/findIndex.js\n// module id = ./node_modules/lodash/findIndex.js\n// module chunks = 0","var baseFlatten = require('./_baseFlatten');\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 */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/flatten.js\n// module id = ./node_modules/lodash/flatten.js\n// module chunks = 0","var arrayEach = require('./_arrayEach'),\n baseEach = require('./_baseEach'),\n castFunction = require('./_castFunction'),\n isArray = require('./isArray');\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 */\nfunction forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, castFunction(iteratee));\n}\n\nmodule.exports = forEach;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/forEach.js\n// module id = ./node_modules/lodash/forEach.js\n// module chunks = 0","var baseForOwn = require('./_baseForOwn'),\n castFunction = require('./_castFunction');\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 */\nfunction forOwn(object, iteratee) {\n return object && baseForOwn(object, castFunction(iteratee));\n}\n\nmodule.exports = forOwn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/forOwn.js\n// module id = ./node_modules/lodash/forOwn.js\n// module chunks = 0","var baseGet = require('./_baseGet');\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 */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/get.js\n// module id = ./node_modules/lodash/get.js\n// module chunks = 0","var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\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 */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/hasIn.js\n// module id = ./node_modules/lodash/hasIn.js\n// module chunks = 0","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/identity.js\n// module id = ./node_modules/lodash/identity.js\n// module chunks = 0","var baseIndexOf = require('./_baseIndexOf'),\n isArrayLike = require('./isArrayLike'),\n isString = require('./isString'),\n toInteger = require('./toInteger'),\n values = require('./values');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\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 */\nfunction 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\nmodule.exports = includes;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/includes.js\n// module id = ./node_modules/lodash/includes.js\n// module chunks = 0","var baseSlice = require('./_baseSlice');\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 */\nfunction initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n}\n\nmodule.exports = initial;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/initial.js\n// module id = ./node_modules/lodash/initial.js\n// module chunks = 0","var arrayMap = require('./_arrayMap'),\n baseIntersection = require('./_baseIntersection'),\n baseRest = require('./_baseRest'),\n castArrayLikeObject = require('./_castArrayLikeObject');\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 */\nvar intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n});\n\nmodule.exports = intersection;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/intersection.js\n// module id = ./node_modules/lodash/intersection.js\n// module chunks = 0","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\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 */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isArguments.js\n// module id = ./node_modules/lodash/isArguments.js\n// module chunks = 0","/**\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 */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isArray.js\n// module id = ./node_modules/lodash/isArray.js\n// module chunks = 0","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\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 */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isArrayLike.js\n// module id = ./node_modules/lodash/isArrayLike.js\n// module chunks = 0","var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\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 */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isArrayLikeObject.js\n// module id = ./node_modules/lodash/isArrayLikeObject.js\n// module chunks = 0","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\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 */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isBuffer.js\n// module id = ./node_modules/lodash/isBuffer.js\n// module chunks = 0","var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLike = require('./isArrayLike'),\n isBuffer = require('./isBuffer'),\n isPrototype = require('./_isPrototype'),\n isTypedArray = require('./isTypedArray');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = isEmpty;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isEmpty.js\n// module id = ./node_modules/lodash/isEmpty.js\n// module chunks = 0","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\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 */\nfunction 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\nmodule.exports = isFunction;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isFunction.js\n// module id = ./node_modules/lodash/isFunction.js\n// module chunks = 0","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\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 */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isLength.js\n// module id = ./node_modules/lodash/isLength.js\n// module chunks = 0","var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\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 */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isMap.js\n// module id = ./node_modules/lodash/isMap.js\n// module chunks = 0","/**\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 */\nfunction isNull(value) {\n return value === null;\n}\n\nmodule.exports = isNull;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isNull.js\n// module id = ./node_modules/lodash/isNull.js\n// module chunks = 0","/**\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 */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isObject.js\n// module id = ./node_modules/lodash/isObject.js\n// module chunks = 0","/**\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 */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isObjectLike.js\n// module id = ./node_modules/lodash/isObjectLike.js\n// module chunks = 0","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\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 */\nfunction 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\nmodule.exports = isPlainObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isPlainObject.js\n// module id = ./node_modules/lodash/isPlainObject.js\n// module chunks = 0","var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\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 */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isSet.js\n// module id = ./node_modules/lodash/isSet.js\n// module chunks = 0","var baseGetTag = require('./_baseGetTag'),\n isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\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 */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isString.js\n// module id = ./node_modules/lodash/isString.js\n// module chunks = 0","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\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 */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isSymbol.js\n// module id = ./node_modules/lodash/isSymbol.js\n// module chunks = 0","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\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 */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isTypedArray.js\n// module id = ./node_modules/lodash/isTypedArray.js\n// module chunks = 0","/**\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 */\nfunction isUndefined(value) {\n return value === undefined;\n}\n\nmodule.exports = isUndefined;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isUndefined.js\n// module id = ./node_modules/lodash/isUndefined.js\n// module chunks = 0","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\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 */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/keys.js\n// module id = ./node_modules/lodash/keys.js\n// module chunks = 0","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\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 */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/keysIn.js\n// module id = ./node_modules/lodash/keysIn.js\n// module chunks = 0","/**\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 */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/last.js\n// module id = ./node_modules/lodash/last.js\n// module chunks = 0","var arrayMap = require('./_arrayMap'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n isArray = require('./isArray');\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 */\nfunction map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, baseIteratee(iteratee, 3));\n}\n\nmodule.exports = map;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/map.js\n// module id = ./node_modules/lodash/map.js\n// module chunks = 0","var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\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 */\nfunction 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`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/memoize.js\n// module id = ./node_modules/lodash/memoize.js\n// module chunks = 0","var arrayMap = require('./_arrayMap'),\n baseClone = require('./_baseClone'),\n baseUnset = require('./_baseUnset'),\n castPath = require('./_castPath'),\n copyObject = require('./_copyObject'),\n customOmitClone = require('./_customOmitClone'),\n flatRest = require('./_flatRest'),\n getAllKeysIn = require('./_getAllKeysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\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 */\nvar 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\nmodule.exports = omit;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/omit.js\n// module id = ./node_modules/lodash/omit.js\n// module chunks = 0","var baseOrderBy = require('./_baseOrderBy'),\n isArray = require('./isArray');\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 */\nfunction 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\nmodule.exports = orderBy;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/orderBy.js\n// module id = ./node_modules/lodash/orderBy.js\n// module chunks = 0","var basePick = require('./_basePick'),\n flatRest = require('./_flatRest');\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 */\nvar pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n});\n\nmodule.exports = pick;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/pick.js\n// module id = ./node_modules/lodash/pick.js\n// module chunks = 0","var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/property.js\n// module id = ./node_modules/lodash/property.js\n// module chunks = 0","var arraySome = require('./_arraySome'),\n baseIteratee = require('./_baseIteratee'),\n baseSome = require('./_baseSome'),\n isArray = require('./isArray'),\n isIterateeCall = require('./_isIterateeCall');\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 */\nfunction 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, baseIteratee(predicate, 3));\n}\n\nmodule.exports = some;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/some.js\n// module id = ./node_modules/lodash/some.js\n// module chunks = 0","var baseFlatten = require('./_baseFlatten'),\n baseOrderBy = require('./_baseOrderBy'),\n baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\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 */\nvar 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\nmodule.exports = sortBy;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/sortBy.js\n// module id = ./node_modules/lodash/sortBy.js\n// module chunks = 0","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/stubArray.js\n// module id = ./node_modules/lodash/stubArray.js\n// module chunks = 0","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/stubFalse.js\n// module id = ./node_modules/lodash/stubFalse.js\n// module chunks = 0","var baseSlice = require('./_baseSlice'),\n toInteger = require('./toInteger');\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 */\nfunction 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\nmodule.exports = take;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/take.js\n// module id = ./node_modules/lodash/take.js\n// module chunks = 0","var toNumber = require('./toNumber');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\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 */\nfunction 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\nmodule.exports = toFinite;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/toFinite.js\n// module id = ./node_modules/lodash/toFinite.js\n// module chunks = 0","var toFinite = require('./toFinite');\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 */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/toInteger.js\n// module id = ./node_modules/lodash/toInteger.js\n// module chunks = 0","var isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\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 */\nfunction 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\nmodule.exports = toNumber;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/toNumber.js\n// module id = ./node_modules/lodash/toNumber.js\n// module chunks = 0","var createToPairs = require('./_createToPairs'),\n keys = require('./keys');\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 */\nvar toPairs = createToPairs(keys);\n\nmodule.exports = toPairs;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/toPairs.js\n// module id = ./node_modules/lodash/toPairs.js\n// module chunks = 0","var baseToString = require('./_baseToString');\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 */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/toString.js\n// module id = ./node_modules/lodash/toString.js\n// module chunks = 0","var toString = require('./toString');\n\n/** Used to generate unique IDs. */\nvar idCounter = 0;\n\n/**\n * Generates a unique ID. If `prefix` is given, the ID is appended to it.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {string} [prefix=''] The value to prefix the ID with.\n * @returns {string} Returns the unique ID.\n * @example\n *\n * _.uniqueId('contact_');\n * // => 'contact_104'\n *\n * _.uniqueId();\n * // => '105'\n */\nfunction uniqueId(prefix) {\n var id = ++idCounter;\n return toString(prefix) + id;\n}\n\nmodule.exports = uniqueId;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/uniqueId.js\n// module id = ./node_modules/lodash/uniqueId.js\n// module chunks = 0","var baseValues = require('./_baseValues'),\n keys = require('./keys');\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 */\nfunction values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n}\n\nmodule.exports = values;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/values.js\n// module id = ./node_modules/lodash/values.js\n// module chunks = 0","var baseDifference = require('./_baseDifference'),\n baseRest = require('./_baseRest'),\n isArrayLikeObject = require('./isArrayLikeObject');\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 */\nvar without = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, values)\n : [];\n});\n\nmodule.exports = without;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/without.js\n// module id = ./node_modules/lodash/without.js\n// module chunks = 0","var assignValue = require('./_assignValue'),\n baseZipObject = require('./_baseZipObject');\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 */\nfunction zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n}\n\nmodule.exports = zipObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/zipObject.js\n// module id = ./node_modules/lodash/zipObject.js\n// module chunks = 0","/*\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\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/object-assign/index.js\n// module id = ./node_modules/object-assign/index.js\n// module chunks = 0","(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :\n\ttypeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :\n\t(factory((global.ReactResizeAware = global.ReactResizeAware || {}),global.React));\n}(this, (function (exports,react) { 'use strict';\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n//\n// react-resize-aware component\n//\n// Triggers a `resize` event everytime the component changes its sizes\n// MIT License\n// Copyright 2016, Federico Zivolo\n//\n\nvar style = {\n display: 'block',\n opacity: 0,\n position: 'absolute',\n top: 0,\n left: 0,\n height: '100%',\n width: '100%',\n overflow: 'hidden',\n pointerEvents: 'none',\n zIndex: -1\n};\n\nvar ResizeAware = function (_Component) {\n _inherits(ResizeAware, _Component);\n\n function ResizeAware() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, ResizeAware);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = ResizeAware.__proto__ || Object.getPrototypeOf(ResizeAware)).call.apply(_ref, [this].concat(args))), _this), _this.state = {}, _this.handleObjectLoad = function (evt) {\n _this.setState({\n resizeTarget: evt.target.contentDocument.defaultView\n }, function () {\n _this.state.resizeTarget.addEventListener('resize', _this.handleResize);\n _this.handleResize();\n });\n }, _this.handleResize = function () {\n var sizes = {\n width: _this.container.offsetWidth,\n height: _this.container.offsetHeight\n };\n _this.setState(sizes);\n _this.props.onResize && _this.props.onResize(sizes);\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(ResizeAware, [{\n key: 'componentDidMount',\n\n\n // Init the resizeElement\n value: function componentDidMount() {\n this.resizeElement.data = 'about:blank';\n }\n\n // Called when the object is loaded\n\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n var resizeTarget = this.state.resizeTarget;\n\n // ensure the resizeTarget exists and is in fact an event listener\n // this fixes an issue where contentDocument.defaultView is not a real window object\n // as can be the case when used with react portals\n\n var isListener = resizeTarget && typeof resizeTarget.removeEventListener === 'function';\n\n isListener && resizeTarget.removeEventListener('resize', this.handleResize);\n }\n\n // Function called on component resize\n\n }, {\n key: 'render',\n value: function render() {\n var _sizes,\n _this2 = this;\n\n var _props = this.props,\n children = _props.children,\n onResize = _props.onResize,\n onlyEvent = _props.onlyEvent,\n component = _props.component,\n widthPropName = _props.widthPropName,\n heightPropName = _props.heightPropName,\n props = _objectWithoutProperties(_props, ['children', 'onResize', 'onlyEvent', 'component', 'widthPropName', 'heightPropName']);\n\n var _state = this.state,\n width = _state.width,\n height = _state.height;\n\n\n var hasCustomComponent = typeof component !== 'string';\n\n var widthProp = [widthPropName || 'width'];\n var heightProp = [heightPropName || 'height'];\n\n var sizes = (_sizes = {}, _defineProperty(_sizes, widthProp, width), _defineProperty(_sizes, heightProp, height), _sizes);\n\n return react.createElement(component, _extends(_defineProperty({}, hasCustomComponent ? 'getRef' : 'ref', function (el) {\n return _this2.container = el;\n }), hasCustomComponent && sizes, props), react.createElement('object', {\n type: 'text/html',\n style: style,\n ref: function ref(el) {\n return _this2.resizeElement = el;\n },\n onLoad: this.handleObjectLoad,\n 'aria-hidden': true,\n tabIndex: -1\n }), typeof children === 'function' ? children({ width: width, height: height }) : react.Children.map(children, function (child) {\n return react.isValidElement(child) ? react.cloneElement(child, !onlyEvent ? sizes : null) : child;\n }));\n }\n }]);\n\n return ResizeAware;\n}(react.Component);\n\nResizeAware.defaultProps = {\n component: 'div',\n // don't define here the defaults to avoid to break\n // the render result of previous versions\n // TODO: use defaultProps to define default values\n widthPropName: undefined,\n heightPropName: undefined\n};\nfunction makeResizeAware(component) {\n return function (props) {\n return react.createElement(ResizeAware, _extends({ component: component }, props));\n };\n}\n\nexports['default'] = ResizeAware;\nexports.makeResizeAware = makeResizeAware;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n//# sourceMappingURL=index.js.map\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-resize-aware/dist/index.js\n// module id = ./node_modules/react-resize-aware/dist/index.js\n// module chunks = 0","/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([bth[buf[i++]], bth[buf[i++]], \n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]]]).join('');\n}\n\nmodule.exports = bytesToUuid;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/uuid/lib/bytesToUuid.js\n// module id = ./node_modules/uuid/lib/bytesToUuid.js\n// module chunks = 0","// Unique ID creation requires a high quality random # generator. In the\n// browser this is a little complicated due to unknown quality of Math.random()\n// and inconsistent support for the `crypto` API. We do the best we can via\n// feature-detection\n\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto\n// implementation. Also, find the complete implementation of crypto on IE11.\nvar getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||\n (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));\n\nif (getRandomValues) {\n // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto\n var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef\n\n module.exports = function whatwgRNG() {\n getRandomValues(rnds8);\n return rnds8;\n };\n} else {\n // Math.random()-based (RNG)\n //\n // If all else fails, use Math.random(). It's fast, but is of unspecified\n // quality.\n var rnds = new Array(16);\n\n module.exports = function mathRNG() {\n for (var i = 0, r; i < 16; i++) {\n if ((i & 0x03) === 0) r = Math.random() * 0x100000000;\n rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;\n }\n\n return rnds;\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/uuid/lib/rng-browser.js\n// module id = ./node_modules/uuid/lib/rng-browser.js\n// module chunks = 0","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nvar _nodeId;\nvar _clockseq;\n\n// Previous uuid creation time\nvar _lastMSecs = 0;\nvar _lastNSecs = 0;\n\n// See https://github.com/broofa/node-uuid for API details\nfunction v1(options, buf, offset) {\n var i = buf && offset || 0;\n var b = buf || [];\n\n options = options || {};\n var node = options.node || _nodeId;\n var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;\n\n // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n if (node == null || clockseq == null) {\n var seedBytes = rng();\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [\n seedBytes[0] | 0x01,\n seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]\n ];\n }\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n }\n\n // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();\n\n // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;\n\n // Time since last uuid creation (in msecs)\n var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;\n\n // Per 4.2.1.2, Bump clockseq on clock regression\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n }\n\n // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n }\n\n // Per 4.2.1.2 Throw error if too many uuids are requested\n if (nsecs >= 10000) {\n throw new Error('uuid.v1(): Can\\'t create more than 10M uuids/sec');\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq;\n\n // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n msecs += 12219292800000;\n\n // `time_low`\n var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff;\n\n // `time_mid`\n var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff;\n\n // `time_high_and_version`\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n b[i++] = tmh >>> 16 & 0xff;\n\n // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n b[i++] = clockseq >>> 8 | 0x80;\n\n // `clock_seq_low`\n b[i++] = clockseq & 0xff;\n\n // `node`\n for (var n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf ? buf : bytesToUuid(b);\n}\n\nmodule.exports = v1;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/uuid/v1.js\n// module id = ./node_modules/uuid/v1.js\n// module chunks = 0","var g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// (webpack)/buildin/global.js\n// module id = ./node_modules/webpack/buildin/global.js\n// module chunks = 0","module.exports = function(module) {\r\n\tif(!module.webpackPolyfill) {\r\n\t\tmodule.deprecate = function() {};\r\n\t\tmodule.paths = [];\r\n\t\t// module.parent = undefined by default\r\n\t\tif(!module.children) module.children = [];\r\n\t\tObject.defineProperty(module, \"loaded\", {\r\n\t\t\tenumerable: true,\r\n\t\t\tget: function() {\r\n\t\t\t\treturn module.l;\r\n\t\t\t}\r\n\t\t});\r\n\t\tObject.defineProperty(module, \"id\", {\r\n\t\t\tenumerable: true,\r\n\t\t\tget: function() {\r\n\t\t\t\treturn module.i;\r\n\t\t\t}\r\n\t\t});\r\n\t\tmodule.webpackPolyfill = 1;\r\n\t}\r\n\treturn module;\r\n};\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// (webpack)/buildin/module.js\n// module id = ./node_modules/webpack/buildin/module.js\n// module chunks = 0","module.exports = React;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"React\"\n// module id = 0\n// module chunks = 0","module.exports = PropTypes;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"PropTypes\"\n// module id = 1\n// module chunks = 0","module.exports = Reactstrap;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"Reactstrap\"\n// module id = 10\n// module chunks = 0","module.exports = ViewModeActions;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"ViewModeActions\"\n// module id = 11\n// module chunks = 0","module.exports = jQuery;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"jQuery\"\n// module id = 12\n// module chunks = 0","module.exports = Config;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"Config\"\n// module id = 13\n// module chunks = 0","module.exports = FormBuilderLoader;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"FormBuilderLoader\"\n// module id = 14\n// module chunks = 0","module.exports = ReactDom;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"ReactDom\"\n// module id = 15\n// module chunks = 0","module.exports = moment;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"moment\"\n// module id = 16\n// module chunks = 0","module.exports = Injector;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"Injector\"\n// module id = 2\n// module chunks = 0","module.exports = i18n;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"i18n\"\n// module id = 3\n// module chunks = 0","module.exports = ReactRedux;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"ReactRedux\"\n// module id = 4\n// module chunks = 0","module.exports = Redux;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"Redux\"\n// module id = 5\n// module chunks = 0","module.exports = classnames;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"classnames\"\n// module id = 6\n// module chunks = 0","module.exports = ReactApollo;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"ReactApollo\"\n// module id = 7\n// module chunks = 0","module.exports = GraphQLTag;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"GraphQLTag\"\n// module id = 8\n// module chunks = 0","module.exports = Loading;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"Loading\"\n// module id = 9\n// module chunks = 0"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///webpack/bootstrap 9e4a75d12048cf67ff07","webpack:///./client/src/boot/index.js","webpack:///./client/src/boot/registerComponents.js","webpack:///./client/src/boot/registerReducers.js","webpack:///./client/src/bundles/bundle.js","webpack:///./client/src/components/HistoryViewer/HistoryViewer.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerCompareWarning.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerHeading.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerSnapshot.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerSnapshotState.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerToolbar.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerVersion.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerVersionDetail.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerVersionList.js","webpack:///./client/src/components/HistoryViewer/HistoryViewerVersionState.js","webpack:///./client/src/components/HistoryViewer/RollbackMutation.js","webpack:///./client/src/components/HistoryViewer/SnapshotViewerContainer.js","webpack:///./client/src/containers/HistoryViewer/HistoryViewerConfig.js","webpack:///./client/src/graphql/createRollbackMutation.js","webpack:///./client/src/graphql/createSnapshotsQuery.js","webpack:///./client/src/helpers/getDateFromVersion.js","webpack:///./client/src/legacy/ArchiveAdmin/ArchiveAdmin.js","webpack:///./client/src/legacy/HistoryViewer/HistoryViewerEntwine.js","webpack:///./client/src/state/historyviewer/HistoryViewerActionTypes.js","webpack:///./client/src/state/historyviewer/HistoryViewerActions.js","webpack:///./client/src/state/historyviewer/HistoryViewerReducer.js","webpack:///./client/src/types/compareType.js","webpack:///./client/src/types/messageType.js","webpack:///./client/src/types/versionType.js","webpack:///./~/create-react-class/factory.js","webpack:///./~/create-react-class/index.js","webpack:///./client/src/components/HistoryViewer/HistoryViewer.js-exposed","webpack:///./client/src/types/versionType.js-exposed","webpack:///./~/fbjs/lib/emptyFunction.js","webpack:///./~/fbjs/lib/emptyObject.js","webpack:///./~/fbjs/lib/invariant.js","webpack:///./~/fbjs/lib/warning.js","webpack:///./~/griddle-react/modules/columnProperties.js","webpack:///./~/griddle-react/modules/customFilterContainer.jsx.js","webpack:///./~/griddle-react/modules/customPaginationContainer.jsx.js","webpack:///./~/griddle-react/modules/customRowComponentContainer.jsx.js","webpack:///./~/griddle-react/modules/deep.js","webpack:///./~/griddle-react/modules/gridFilter.jsx.js","webpack:///./~/griddle-react/modules/gridNoData.jsx.js","webpack:///./~/griddle-react/modules/gridPagination.jsx.js","webpack:///./~/griddle-react/modules/gridRow.jsx.js","webpack:///./~/griddle-react/modules/gridRowContainer.jsx.js","webpack:///./~/griddle-react/modules/gridSettings.jsx.js","webpack:///./~/griddle-react/modules/gridTable.jsx.js","webpack:///./~/griddle-react/modules/gridTitle.jsx.js","webpack:///./~/griddle-react/modules/griddle.jsx.js","webpack:///./~/griddle-react/modules/rowProperties.js","webpack:///./~/lodash/_DataView.js","webpack:///./~/lodash/_Hash.js","webpack:///./~/lodash/_ListCache.js","webpack:///./~/lodash/_Map.js","webpack:///./~/lodash/_MapCache.js","webpack:///./~/lodash/_Promise.js","webpack:///./~/lodash/_Set.js","webpack:///./~/lodash/_SetCache.js","webpack:///./~/lodash/_Stack.js","webpack:///./~/lodash/_Symbol.js","webpack:///./~/lodash/_Uint8Array.js","webpack:///./~/lodash/_WeakMap.js","webpack:///./~/lodash/_apply.js","webpack:///./~/lodash/_arrayEach.js","webpack:///./~/lodash/_arrayFilter.js","webpack:///./~/lodash/_arrayIncludes.js","webpack:///./~/lodash/_arrayIncludesWith.js","webpack:///./~/lodash/_arrayLikeKeys.js","webpack:///./~/lodash/_arrayMap.js","webpack:///./~/lodash/_arrayPush.js","webpack:///./~/lodash/_arraySome.js","webpack:///./~/lodash/_assignValue.js","webpack:///./~/lodash/_assocIndexOf.js","webpack:///./~/lodash/_baseAssign.js","webpack:///./~/lodash/_baseAssignIn.js","webpack:///./~/lodash/_baseAssignValue.js","webpack:///./~/lodash/_baseClone.js","webpack:///./~/lodash/_baseCreate.js","webpack:///./~/lodash/_baseDifference.js","webpack:///./~/lodash/_baseEach.js","webpack:///./~/lodash/_baseFilter.js","webpack:///./~/lodash/_baseFindIndex.js","webpack:///./~/lodash/_baseFlatten.js","webpack:///./~/lodash/_baseFor.js","webpack:///./~/lodash/_baseForOwn.js","webpack:///./~/lodash/_baseGet.js","webpack:///./~/lodash/_baseGetAllKeys.js","webpack:///./~/lodash/_baseGetTag.js","webpack:///./~/lodash/_baseHasIn.js","webpack:///./~/lodash/_baseIndexOf.js","webpack:///./~/lodash/_baseIntersection.js","webpack:///./~/lodash/_baseIsArguments.js","webpack:///./~/lodash/_baseIsEqual.js","webpack:///./~/lodash/_baseIsEqualDeep.js","webpack:///./~/lodash/_baseIsMap.js","webpack:///./~/lodash/_baseIsMatch.js","webpack:///./~/lodash/_baseIsNaN.js","webpack:///./~/lodash/_baseIsNative.js","webpack:///./~/lodash/_baseIsSet.js","webpack:///./~/lodash/_baseIsTypedArray.js","webpack:///./~/lodash/_baseIteratee.js","webpack:///./~/lodash/_baseKeys.js","webpack:///./~/lodash/_baseKeysIn.js","webpack:///./~/lodash/_baseMap.js","webpack:///./~/lodash/_baseMatches.js","webpack:///./~/lodash/_baseMatchesProperty.js","webpack:///./~/lodash/_baseOrderBy.js","webpack:///./~/lodash/_basePick.js","webpack:///./~/lodash/_basePickBy.js","webpack:///./~/lodash/_baseProperty.js","webpack:///./~/lodash/_basePropertyDeep.js","webpack:///./~/lodash/_baseRest.js","webpack:///./~/lodash/_baseSet.js","webpack:///./~/lodash/_baseSetToString.js","webpack:///./~/lodash/_baseSlice.js","webpack:///./~/lodash/_baseSome.js","webpack:///./~/lodash/_baseSortBy.js","webpack:///./~/lodash/_baseTimes.js","webpack:///./~/lodash/_baseToPairs.js","webpack:///./~/lodash/_baseToString.js","webpack:///./~/lodash/_baseTrim.js","webpack:///./~/lodash/_baseUnary.js","webpack:///./~/lodash/_baseUnset.js","webpack:///./~/lodash/_baseValues.js","webpack:///./~/lodash/_baseZipObject.js","webpack:///./~/lodash/_cacheHas.js","webpack:///./~/lodash/_castArrayLikeObject.js","webpack:///./~/lodash/_castFunction.js","webpack:///./~/lodash/_castPath.js","webpack:///./~/lodash/_cloneArrayBuffer.js","webpack:///./~/lodash/_cloneBuffer.js","webpack:///./~/lodash/_cloneDataView.js","webpack:///./~/lodash/_cloneRegExp.js","webpack:///./~/lodash/_cloneSymbol.js","webpack:///./~/lodash/_cloneTypedArray.js","webpack:///./~/lodash/_compareAscending.js","webpack:///./~/lodash/_compareMultiple.js","webpack:///./~/lodash/_copyArray.js","webpack:///./~/lodash/_copyObject.js","webpack:///./~/lodash/_copySymbols.js","webpack:///./~/lodash/_copySymbolsIn.js","webpack:///./~/lodash/_coreJsData.js","webpack:///./~/lodash/_createAssigner.js","webpack:///./~/lodash/_createBaseEach.js","webpack:///./~/lodash/_createBaseFor.js","webpack:///./~/lodash/_createFind.js","webpack:///./~/lodash/_createToPairs.js","webpack:///./~/lodash/_customOmitClone.js","webpack:///./~/lodash/_defineProperty.js","webpack:///./~/lodash/_equalArrays.js","webpack:///./~/lodash/_equalByTag.js","webpack:///./~/lodash/_equalObjects.js","webpack:///./~/lodash/_flatRest.js","webpack:///./~/lodash/_freeGlobal.js","webpack:///./~/lodash/_getAllKeys.js","webpack:///./~/lodash/_getAllKeysIn.js","webpack:///./~/lodash/_getMapData.js","webpack:///./~/lodash/_getMatchData.js","webpack:///./~/lodash/_getNative.js","webpack:///./~/lodash/_getPrototype.js","webpack:///./~/lodash/_getRawTag.js","webpack:///./~/lodash/_getSymbols.js","webpack:///./~/lodash/_getSymbolsIn.js","webpack:///./~/lodash/_getTag.js","webpack:///./~/lodash/_getValue.js","webpack:///./~/lodash/_hasPath.js","webpack:///./~/lodash/_hashClear.js","webpack:///./~/lodash/_hashDelete.js","webpack:///./~/lodash/_hashGet.js","webpack:///./~/lodash/_hashHas.js","webpack:///./~/lodash/_hashSet.js","webpack:///./~/lodash/_initCloneArray.js","webpack:///./~/lodash/_initCloneByTag.js","webpack:///./~/lodash/_initCloneObject.js","webpack:///./~/lodash/_isFlattenable.js","webpack:///./~/lodash/_isIndex.js","webpack:///./~/lodash/_isIterateeCall.js","webpack:///./~/lodash/_isKey.js","webpack:///./~/lodash/_isKeyable.js","webpack:///./~/lodash/_isMasked.js","webpack:///./~/lodash/_isPrototype.js","webpack:///./~/lodash/_isStrictComparable.js","webpack:///./~/lodash/_listCacheClear.js","webpack:///./~/lodash/_listCacheDelete.js","webpack:///./~/lodash/_listCacheGet.js","webpack:///./~/lodash/_listCacheHas.js","webpack:///./~/lodash/_listCacheSet.js","webpack:///./~/lodash/_mapCacheClear.js","webpack:///./~/lodash/_mapCacheDelete.js","webpack:///./~/lodash/_mapCacheGet.js","webpack:///./~/lodash/_mapCacheHas.js","webpack:///./~/lodash/_mapCacheSet.js","webpack:///./~/lodash/_mapToArray.js","webpack:///./~/lodash/_matchesStrictComparable.js","webpack:///./~/lodash/_memoizeCapped.js","webpack:///./~/lodash/_nativeCreate.js","webpack:///./~/lodash/_nativeKeys.js","webpack:///./~/lodash/_nativeKeysIn.js","webpack:///./~/lodash/_nodeUtil.js","webpack:///./~/lodash/_objectToString.js","webpack:///./~/lodash/_overArg.js","webpack:///./~/lodash/_overRest.js","webpack:///./~/lodash/_parent.js","webpack:///./~/lodash/_root.js","webpack:///./~/lodash/_setCacheAdd.js","webpack:///./~/lodash/_setCacheHas.js","webpack:///./~/lodash/_setToArray.js","webpack:///./~/lodash/_setToPairs.js","webpack:///./~/lodash/_setToString.js","webpack:///./~/lodash/_shortOut.js","webpack:///./~/lodash/_stackClear.js","webpack:///./~/lodash/_stackDelete.js","webpack:///./~/lodash/_stackGet.js","webpack:///./~/lodash/_stackHas.js","webpack:///./~/lodash/_stackSet.js","webpack:///./~/lodash/_strictIndexOf.js","webpack:///./~/lodash/_stringToPath.js","webpack:///./~/lodash/_toKey.js","webpack:///./~/lodash/_toSource.js","webpack:///./~/lodash/_trimmedEndIndex.js","webpack:///./~/lodash/assign.js","webpack:///./~/lodash/constant.js","webpack:///./~/lodash/defaults.js","webpack:///./~/lodash/difference.js","webpack:///./~/lodash/drop.js","webpack:///./~/lodash/dropRight.js","webpack:///./~/lodash/eq.js","webpack:///./~/lodash/filter.js","webpack:///./~/lodash/find.js","webpack:///./~/lodash/findIndex.js","webpack:///./~/lodash/flatten.js","webpack:///./~/lodash/forEach.js","webpack:///./~/lodash/forOwn.js","webpack:///./~/lodash/get.js","webpack:///./~/lodash/hasIn.js","webpack:///./~/lodash/identity.js","webpack:///./~/lodash/includes.js","webpack:///./~/lodash/initial.js","webpack:///./~/lodash/intersection.js","webpack:///./~/lodash/isArguments.js","webpack:///./~/lodash/isArray.js","webpack:///./~/lodash/isArrayLike.js","webpack:///./~/lodash/isArrayLikeObject.js","webpack:///./~/lodash/isBuffer.js","webpack:///./~/lodash/isEmpty.js","webpack:///./~/lodash/isFunction.js","webpack:///./~/lodash/isLength.js","webpack:///./~/lodash/isMap.js","webpack:///./~/lodash/isNull.js","webpack:///./~/lodash/isObject.js","webpack:///./~/lodash/isObjectLike.js","webpack:///./~/lodash/isPlainObject.js","webpack:///./~/lodash/isSet.js","webpack:///./~/lodash/isString.js","webpack:///./~/lodash/isSymbol.js","webpack:///./~/lodash/isTypedArray.js","webpack:///./~/lodash/isUndefined.js","webpack:///./~/lodash/keys.js","webpack:///./~/lodash/keysIn.js","webpack:///./~/lodash/last.js","webpack:///./~/lodash/map.js","webpack:///./~/lodash/memoize.js","webpack:///./~/lodash/omit.js","webpack:///./~/lodash/orderBy.js","webpack:///./~/lodash/pick.js","webpack:///./~/lodash/property.js","webpack:///./~/lodash/some.js","webpack:///./~/lodash/sortBy.js","webpack:///./~/lodash/stubArray.js","webpack:///./~/lodash/stubFalse.js","webpack:///./~/lodash/take.js","webpack:///./~/lodash/toFinite.js","webpack:///./~/lodash/toInteger.js","webpack:///./~/lodash/toNumber.js","webpack:///./~/lodash/toPairs.js","webpack:///./~/lodash/toString.js","webpack:///./~/lodash/uniqueId.js","webpack:///./~/lodash/values.js","webpack:///./~/lodash/without.js","webpack:///./~/lodash/zipObject.js","webpack:///./~/object-assign/index.js","webpack:///./~/react-resize-aware/dist/index.js","webpack:///./~/uuid/lib/bytesToUuid.js","webpack:///./~/uuid/lib/rng-browser.js","webpack:///./~/uuid/v1.js","webpack:///(webpack)/buildin/global.js","webpack:///(webpack)/buildin/module.js","webpack:///external \"React\"","webpack:///external \"PropTypes\"","webpack:///external \"Reactstrap\"","webpack:///external \"ViewModeActions\"","webpack:///external \"jQuery\"","webpack:///external \"Config\"","webpack:///external \"FormBuilderLoader\"","webpack:///external \"ReactDom\"","webpack:///external \"moment\"","webpack:///external \"Injector\"","webpack:///external \"i18n\"","webpack:///external \"ReactRedux\"","webpack:///external \"Redux\"","webpack:///external \"classnames\"","webpack:///external \"GraphQLTag\"","webpack:///external \"Loading\"","webpack:///external \"ReactApollo\""],"names":["window","document","addEventListener","Injector","component","register","HistoryViewer","SnapshotViewerContainer","RollbackMutation","registerMany","SnapshotHistoryViewerHeading","HistoryViewerHeading","SnapshotHistoryViewerToolbar","HistoryViewerToolbar","SnapshotHistoryViewerVersion","HistoryViewerVersion","SnapshotHistoryViewerVersionDetail","HistoryViewerVersionDetail","SnapshotHistoryViewerVersionList","HistoryViewerVersionList","SnapshotHistoryViewerVersionState","HistoryViewerVersionState","SnapshotHistoryViewerSnapshotState","HistoryViewerSnapshotState","SnapshotHistoryViewerSnapshot","HistoryViewerSnapshot","SnapshotHistoryViewerCompareWarning","HistoryViewerCompareWarning","force","registerReducers","reducer","historyViewer","historyViewerReducer","require","viewModeActions","VERSION_MODE_VERSION","VERSION_MODE_DATE","props","handleSetPage","bind","handleNextPage","handlePrevPage","prevProps","prevPage","page","currentPage","versions","actions","goToPage","onSelect","nodes","snapshotHistory","map","node","originVersion","author","absoluteLink","isFullVersion","version","baseVersion","compare","isInGridField","isListView","currentVersion","latestDraftVersion","getVersions","filter","length","versionFrom","versionTo","onSetPage","isPreviewable","recordId","recordClass","typeName","schemaUrl","VersionDetailComponent","previewState","schemaVersionReplacements","lastEdited","schemaCompareReplacements","schemaSearch","schemaReplacements","latestVersion","getLatestVersion","isLatestVersion","replace","match","compareModeAvailable","getContainerClasses","width","onResize","limit","totalVersions","pageInfo","totalCount","setPage","maxPage","Math","ceil","next","nextText","i18n","_t","previous","previousText","useGriddleStyles","ListComponent","selectionListClasses","CompareWarningComponent","hasVersionFrom","renderComparisonSelectionList","renderPagination","renderVersionDetail","renderVersionList","loading","previewMode","renderCompareMode","Component","propTypes","contextKey","PropTypes","string","number","oneOfType","func","isRequired","offset","bool","versionType","compareType","shape","edges","arrayOf","oneOf","object","defaultProps","mapStateToProps","state","versionedAdmin","activeState","viewMode","mapDispatchToProps","dispatch","id","panelWidth","enableOrDisableSplitMode","historyViewerConfig","handleDismissCompare","onDismissCompare","isCompare","toggle","handleCompareModeChange","dropdownOpen","setState","prevState","compareModeSelected","onCompareModeUnselect","onCompareModeSelect","renderDropdown","handleClick","handleKeyUp","handleClose","extraClass","initial","isComparing","isActive","defaultClasses","e","stopPropagation","event","keyCode","StateComponent","FormActionComponent","firstName","surname","rowTitle","getClassNames","inject","date","activityAgo","title","selectedVersion","showVersion","showDate","FormAction","type","activityDescription","activityType","prefix","translateType","lines","split","l","i","VersionedState","BadgeComponent","handleRevert","handleToggleRevertTooltip","isReverting","revertTooltipOpen","tooltipTimer","rollback","onAfterRevert","versionId","handler","variables","toVersion","then","ViewModeComponent","canRollback","rollbackMessage","revertButtonTitle","buttonStyle","revertToVersion","sprintf","handleCompare","compareFrom","compareTo","onCompareMode","translatedText","renderCompareButton","renderSelectedMessage","renderClearButton","ActivityAgo","getAuthor","renderActions","array","defaultVersion","context","toggleToolbarClass","nextProps","isCompareMode","add","selector","querySelector","className","classList","remove","PreviewComponent","preview","Stage","href","AbsoluteLink","ToolbarComponent","containerClasses","extraListClasses","formClasses","getListVersions","renderToolbar","renderDetails","renderPreview","PureComponent","showHeader","table","isCurrent","isCompareFrom","isCompareTo","FormAlertComponent","messages","data","message","HeadingComponent","headingProps","VersionComponent","SnapshotComponent","renderHeader","index","isVersionActive","messageType","FormAlert","isLiveSnapshot","getPublishedState","getBadges","children","ROLLBACK","SnapshotViewerComponent","QUERY","page_id","error","refetch","readOne","errors","graphQLErrors","graphQLError","HistoryViewerConfigProvider","sectionKey","Config","getSection","formName","queryParts","config","getConfig","getSchemaUrlDetails","schemaUrlBase","form","schemaUrlQuery","concat","join","getSchemaUrl","React","createRollbakMutation","gql","createSnapshotsQuery","getDateFromVersion","moment","locale","detectLocale","format","jQuery","entwine","$","onmatch","attr","onchange","preventDefault","targetClassName","val","othersArchiveUrl","url","loadPanel","pjax","cmsContent","closest","HistoryViewerComponent","schemaData","hasClass","ReactDOM","render","onunmatch","unmountComponentAtNode","onclick","_super","hide","show","parent","css","position","bottom","left","right","reduce","obj","item","Object","assign","showList","setCurrentPage","addMessage","clearMessages","setCompareMode","setCompareFrom","setCompareTo","HISTORY_VIEWER","SHOW_VERSION","payload","SHOW_DATE","SHOW_LIST","SET_CURRENT_PAGE","ADD_MESSAGE","CLEAR_MESSAGES","enabled","SET_COMPARE_MODE","SET_COMPARE_FROM","SET_COMPARE_TO","initialState","defaultCompare","currentDate","initialCompare","memberShape","published","boolean","liveVersion","publisher"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA,mDAA2C,cAAc;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;AAEA;AACA;;;;;;;;;;;AC/DA;;;;AACA;;;;;;AAEAA,OAAOC,QAAP,CAAgBC,gBAAhB,CAAiC,kBAAjC,EAAqD,YAAM;AACzD;;AAEA;AACD,CAJD,E;;;;;;;;;;;;;;ACJA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;;;kBAWe,YAAM;AACnBC,qBAASC,SAAT,CAAmBC,QAAnB,CAA4B,gBAA5B,EAA8CC,uBAA9C;AACAH,qBAASC,SAAT,CAAmBC,QAAnB,CAA4B,yBAA5B,EAAuDE,iCAAvD;AACAJ,qBAASC,SAAT,CAAmBC,QAAnB,CAA4B,uBAA5B,EAAqDC,uBAArD;AACAH,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O,CAAC,uCAAe;;AAErC,kBAAkB,mBAAO,CAAC,wCAAsB;AAChD,iBAAiB,mBAAO,CAAC,sCAAoB;;AAE7C,IAAI,IAAqC;AACzC,gBAAgB,mBAAO,CAAC,oCAAkB;AAC1C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAI,IAAqC;AACzC;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,KAAK;AACpC;AACA;AACA,gBAAgB;AAChB;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,WAAW;AAC1B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,OAAO;AACtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,OAAO;AACtB,eAAe,QAAQ;AACvB,eAAe,QAAQ;AACvB,gBAAgB,QAAQ;AACxB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,OAAO;AACtB,eAAe,QAAQ;AACvB,eAAe,QAAQ;AACvB,eAAe,0BAA0B;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,OAAO;AACtB,eAAe,QAAQ;AACvB,eAAe,QAAQ;AACvB,eAAe,WAAW;AAC1B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,0BAA0B;AACzC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,uBAAuB,mBAAmB;AAC1C;AACA;AACA;AACA,KAAK;AACL;AACA,UAAU,IAAqC;AAC/C;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA,KAAK;AACL;AACA,UAAU,IAAqC;AAC/C;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA,UAAU,IAAqC;AAC/C;AACA;AACA,wCAAwC;AACxC,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,IAAqC;AACjD;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,IAAqC;AAC/C;AACA;;AAEA,YAAY,IAAqC;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,WAAW;AACX;AACA,gBAAgB,IAAqC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2CAA2C;AAC3C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB,aAAa,SAAS;AACtB,cAAc,SAAS;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB,aAAa,SAAS;AACtB,cAAc,SAAS;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,cAAc,SAAS;AACvB;AACA;AACA;AACA,QAAQ,IAAqC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wDAAwD;AACxD;AACA;AACA;AACA,cAAc,IAAqC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,cAAc,IAAqC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA,UAAU,IAAqC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,cAAc,SAAS;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,UAAU,IAAqC;AAC/C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA,UAAU,IAAqC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,QAAQ,IAAqC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,QAAQ,IAAqC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;AC75BA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,YAAY,mBAAO,CAAC,CAAO;AAC3B,cAAc,mBAAO,CAAC,8CAAW;;AAEjC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;AC3BA,2FAA6C,mBAAO,CAAC,mPAAsJ,E;;;;;;;;ACA3M,uFAAyC,mBAAO,CAAC,8NAAoJ,E;;;;;;;;;ACAxL;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,6CAA6C;AAC7C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,+B;;;;;;;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;;AAEA,IAAI,IAAqC;AACzC;AACA;;AAEA,6B;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,IAAI,IAAqC;AACzC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,qDAAqD;AACrD,KAAK;AACL;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA,0BAA0B;AAC1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AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;;AAEA,uCAAuC,YAAY;AACnD;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI,sBAAsB,UAAU;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACpJA;AACA;AACA;AACa;;AAEb,YAAY,mBAAO,CAAC,CAAO;AAC3B,uBAAuB,mBAAO,CAAC,4CAAoB;;AAEnD;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA,2CAA2C,gCAAgC,gCAAgC,gIAAgI;AAC3O;AACA,CAAC;;AAED;;;;;;;;;ACtBA;AACA;AACA;AACa;;AAEb,YAAY,mBAAO,CAAC,CAAO;AAC3B,uBAAuB,mBAAO,CAAC,4CAAoB;;AAEnD;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA,CAAC;;AAED;;;;;;;;;ACrBA;AACA;AACA;AACa;;AAEb,YAAY,mBAAO,CAAC,CAAO;AAC3B,uBAAuB,mBAAO,CAAC,4CAAoB;AACnD,aAAa,mBAAO,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AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA,gCAAgC;;AAEhC;AACA;AACA;AACA;AACA;;AAEA;AACA,4KAA4K,wCAAwC,uCAAuC,SAAS,8KAA8K,wCAAwC,mBAAmB,SAAS;;AAEtf;AACA,qDAAqD,kBAAkB;AACvE;;AAEA;AACA;AACA,qFAAqF,kDAAkD;AACvI,6DAA6D,wKAAwK;AACrO,iBAAiB;AACjB,6DAA6D,wKAAwK;AACrO;AACA;;AAEA,6DAA6D,0IAA0I;AACvM,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,aAAa;AACb;;AAEA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;;AAEA,0CAA0C,2CAA2C;AACrF;AACA,CAAC;;AAED;;;;;;;;;AC9LA;AACA;AACA;AACa;;AAEb,YAAY,mBAAO,CAAC,CAAO;AAC3B,uBAAuB,mBAAO,CAAC,4CAAoB;AACnD,uBAAuB,mBAAO,CAAC,0DAAuB;AACtD,WAAW,mBAAO,CAAC,+BAAa;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,gBAAgB;AAChB;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;;AAErD;;AAEA;AACA;AACA;;AAEA;AACA;AACA,4CAA4C,mBAAmB,iBAAiB,EAAE,6BAA6B,gIAAgI,yCAAyC,SAAS;AACjS,0BAA0B,YAAY;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;;AAEA;AACA;AACA,CAAC;;AAED;;;;;;;;;ACnIA;AACA;AACA;AACa;;AAEb,YAAY,mBAAO,CAAC,CAAO;AAC3B,uBAAuB,mBAAO,CAAC,4CAAoB;AACnD,eAAe,mBAAO,CAAC,mCAAiB;AACxC,cAAc,mBAAO,CAAC,kCAAgB;AACtC,WAAW,mBAAO,CAAC,+BAAa;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,4DAA4D,kBAAkB;AAC9E;;AAEA;AACA;AACA;;AAEA;AACA,uDAAuD,+BAA+B,mEAAmE,sFAAsF;AAC/O,iBAAiB;AACjB;AACA;AACA,mDAAmD,iGAAiG,gCAAgC,SAAS,mEAAmE,mGAAmG;AACnW,aAAa;AACb;;AAEA,uFAAuF,0BAA0B,gCAAgC,qBAAqB,gCAAgC,uGAAuG;;AAE7S,sHAAsH,qBAAqB,8DAA8D,+DAA+D,iCAAiC,aAAa,uCAAuC,cAAc,wCAAwC,cAAc,wCAAwC,cAAc,wCAAwC,eAAe;;AAE9gB,2CAA2C,sEAAsE,0GAA0G,SAAS,wFAAwF,qEAAqE,0GAA0G,SAAS;AACpf;AACA,CAAC;;AAED;;;;;;;;;ACzEA;AACA;AACA;AACa;;AAEb,YAAY,mBAAO,CAAC,CAAO;AAC3B,uBAAuB,mBAAO,CAAC,4CAAoB;AACnD,gBAAgB,mBAAO,CAAC,uDAAiB;AACzC,uBAAuB,mBAAO,CAAC,8DAAwB;AACvD,uBAAuB,mBAAO,CAAC,0DAAuB;AACtD,oBAAoB,mBAAO,CAAC,uDAAoB;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,+DAA+D;AAC/D,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,mCAAmC;AACnC,oDAAoD,yEAAyE;AAC7H,mCAAmC;AACnC,oDAAoD,yEAAyE;AAC7H;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;;AAEP;AACA;AACA;AACA,8CAA8C,yBAAyB,6BAA6B,mBAAmB;AACvH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA,qHAAqH,sDAAsD;AAC3K;;AAEA;AACA,qFAAqF;AACrF;AACA;AACA;AACA;AACA,2CAA2C;;AAE3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,oHAAoH,oOAAoO;AACxV;;AAEA;AACA;AACA;AACA;AACA;;AAEA,4EAA4E,4FAA4F,6CAA6C,iEAAiE,gCAAgC,4FAA4F;AAClZ;;AAEA,uCAAuC,iEAAiE,gCAAgC,4FAA4F;AACpO;AACA,CAAC;;AAED;;;;;;;;;AC9RA;AACA;AACA;AACa;;AAEb;AACA,mBAAmB,sBAAsB;AACzC,kCAAkC;AAClC;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,YAAY,mBAAO,CAAC,CAAO;AAC3B,uBAAuB,mBAAO,CAAC,4CAAoB;AACnD,uBAAuB,mBAAO,CAAC,0DAAuB;AACtD,aAAa,mBAAO,CAAC,iCAAe;;AAEpC;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,0DAA0D;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;A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,kCAAgB;AACtC,cAAc,mBAAO,CAAC,kCAAgB;AACtC,mBAAmB,mBAAO,CAAC,uCAAqB;AAChD,cAAc,mBAAO,CAAC,kCAAgB;AACtC,cAAc,mBAAO,CAAC,kCAAgB;AACtC,aAAa,mBAAO,CAAC,iCAAe;AACpC,kBAAkB,mBAAO,CAAC,sCAAoB;AAC9C,WAAW,mBAAO,CAAC,+BAAa;AAChC,UAAU,mBAAO,CAAC,8BAAY;AAC9B,aAAa,mBAAO,CAAC,iCAAe;AACpC,cAAc,mBAAO,CAAC,iCAAe;;AAErC,eAAe,mBAAO,CAAC,kCAAgB;AACvC,gBAAgB,mBAAO,CAAC,mCAAiB;AACzC,WAAW,mBAAO,CAAC,8BAAY;AAC/B,YAAY,mBAAO,CAAC,+BAAa;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,2BAA2B,gBAAgB;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;;AAEL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;;AAET;AACA;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,qCAAqC;AACrC;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,aAAa;AACb;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,2BAA2B,kFAAkF;AAC7G;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA,SAAS;AACT,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,0DAA0D,qBAAqB;AAC/E;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa;;AAEb;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,aAAa;AACb;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;;AAEA;AACA;AACA;AACA,qEAAqE,qBAAqB;AAC1F;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,6BAA6B;;AAE7B;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA,6BAA6B;AAC7B;AACA,qBAAqB;AACrB;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA,6BAA6B;AAC7B;AACA;AACA,yBAAyB;;AAEzB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,uBAAuB,iBAAiB;AACxC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,KAAK;AACL;;AAEA;;AAEA;AACA;AACA;AACA,aAAa;;AAEb;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;;AAEA;AACA,KAAK;AACL;;AAEA;AACA,KAAK;AACL;;AAEA;AACA,KAAK;AACL;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,0KAA0K,kNAAkN,qCAAqC,kFAAkF;AACnf,KAAK;AACL;AACA,wEAAwE;AACxE,kDAAkD,0EAA0E,SAAS;AACrI,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA,2CAA2C,sDAAsD,8BAA8B,mDAAmD,uCAAuC,8DAA8D;AACvR,KAAK;AACL;AACA;AACA;AACA;;AAEA,2CAA2C,8BAA8B,uFAAuF,wTAAwT,yCAAyC,+aAA+a;AACh7B,KAAK;AACL;AACA,iFAAiF;AACjF;AACA;AACA;AACA,iKAAiK;AACjK,KAAK;AACL;AACA,6EAA6E,+EAA+E;AAC5J,KAAK;AACL;AACA,kGAAkG;AAClG;AACA,kFAAkF;AAClF,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA,2CAA2C,4BAA4B,kCAAkC;AACzG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,+CAA+C,wCAAwC;AACvF;AACA,gDAAgD,0CAA0C;AAC1F,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA,+CAA+C;;AAE/C;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA,2CAA2C,2BAA2B,0DAA0D,mGAAmG,2BAA2B,SAAS;AACvQ;AACA,CAAC;;AAED;;;;;;;;;AC77Ba;;AAEb,iCAAiC,2CAA2C,gBAAgB,kBAAkB,OAAO,2BAA2B,wDAAwD,gCAAgC,uDAAuD,2DAA2D,EAAE,EAAE,yDAAyD,qEAAqE,6DAA6D,oBAAoB,GAAG,EAAE;;AAEljB,iDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,gBAAgB,mBAAO,CAAC,mCAAiB;;AAEzC;AACA;AACA,8EAA8E;AAC9E;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AA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ACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,SAAS;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACrBA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,SAAS;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACxBA,kBAAkB,mBAAO,CAAC,uCAAgB;;AAE1C;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AChBA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,EAAE;AACb,WAAW,SAAS;AACpB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACrBA,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,kBAAkB,mBAAO,CAAC,sCAAe;AACzC,cAAc,mBAAO,CAAC,kCAAW;AACjC,eAAe,mBAAO,CAAC,mCAAY;AACnC,cAAc,mBAAO,CAAC,mCAAY;AAClC,mBAAmB,mBAAO,CAAC,uCAAgB;;AAE3C;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,WAAW,QAAQ;AACnB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,SAAS;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACpBA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,MAAM;AACjB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,SAAS;AACpB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACtBA,sBAAsB,mBAAO,CAAC,2CAAoB;AAClD,SAAS,mBAAO,CAAC,6BAAM;;AAEvB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,EAAE;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC3BA,SAAS,mBAAO,CAAC,6BAAM;;AAEvB;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACpBA,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,WAAW,mBAAO,CAAC,+BAAQ;;AAE3B;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;;;;;;;;AChBA,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,aAAa,mBAAO,CAAC,iCAAU;;AAE/B;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;;;;;;;;AChBA,qBAAqB,mBAAO,CAAC,0CAAmB;;AAEhD;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW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AClB,WAAW,OAAO;AAClB,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;;;;;;;ACrKA,eAAe,mBAAO,CAAC,mCAAY;;AAEnC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;AC7BA,eAAe,mBAAO,CAAC,oCAAa;AACpC,oBAAoB,mBAAO,CAAC,yCAAkB;AAC9C,wBAAwB,mBAAO,CAAC,6CAAsB;AACtD,eAAe,mBAAO,CAAC,oCAAa;AACpC,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,eAAe,mBAAO,CAAC,oCAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,MAAM;AACjB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AClEA,iBAA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ACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACzEA,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,mBAAmB,mBAAO,CAAC,uCAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;;;;;;;;ACjBA,sBAAsB,mBAAO,CAAC,2CAAoB;AAClD,mBAAmB,mBAAO,CAAC,uCAAgB;;AAE3C;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,WAAW,EAAE;AACb,WAAW,QAAQ;AACnB;AACA;AACA,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC3BA,YAAY,mBAAO,CAAC,iCAAU;AAC9B,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,mBAAmB,mBAAO,CAAC,wCAAiB;AAC5C,aAAa,mBAAO,CAAC,kCAAW;AAChC,cAAc,mBAAO,CAAC,kCAAW;AACjC,eAAe,mBAAO,CAAC,mCAAY;AACnC,mBAAmB,mBAAO,CAAC,uCAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AClFA,aAAa,mBAAO,CAAC,kCAAW;AAChC,mBAAmB,mBAAO,CAAC,uCAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;;;;;;;;ACjBA,YAAY,mBAAO,CAAC,iCAAU;AAC9B,kBAAkB,mBAAO,CAAC,uCAAgB;;AAE1C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB,WAAW,SAAS;AACpB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC7DA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;;;;;;;;ACXA,iBAAiB,mBAAO,CAAC,qCAAc;AACvC,eAAe,mBAAO,CAAC,oCAAa;AACpC,eAAe,mBAAO,CAAC,mCAAY;AACnC,eAAe,mBAAO,CAAC,oCAAa;;AAEpC;AACA;AACA;AACA;AACA,oCAAoC;;AAEpC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC9CA,aAAa,mBAAO,CAAC,kCAAW;AAChC,mBAAmB,mBAAO,CAAC,uCAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;;;;;;;;ACjBA,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,eAAe,mBAAO,CAAC,mCAAY;AACnC,mBAAmB,mBAAO,CAAC,uCAAgB;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC3DA,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,0BAA0B,mBAAO,CAAC,+CAAwB;AAC1D,eAAe,mBAAO,CAAC,mCAAY;AACnC,cAAc,mBAAO,CAAC,kCAAW;AACjC,eAAe,mBAAO,CAAC,mCAAY;;AAEnC;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC9BA,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,iBAAiB,mBAAO,CAAC,sCAAe;;AAExC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;A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AACpB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;;;;;;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,SAAS;AACpB,aAAa,MAAM;AACnB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACnBA,eAAe,mBAAO,CAAC,oCAAa;;AAEpC;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;ACjBA,aAAa,mBAAO,CAAC,kCAAW;AAChC,eAAe,mBAAO,CAAC,oCAAa;AACpC,cAAc,mBAAO,CAAC,kCAAW;AACjC,eAAe,mBAAO,CAAC,mCAAY;;AAEnC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACpCA,sBAAsB,mBAAO,CAAC,2CAAoB;;AAElD;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AClBA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACbA,eAAe,mBAAO,CAAC,oCAAa;AACpC,WAAW,mBAAO,CAAC,+BAAQ;AAC3B,aAAa,mBAAO,CAAC,kCAAW;AAChC,YAAY,mBAA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A;;;;;;;;ACfA,yDAAW,mBAAO,CAAC,gCAAS;;AAE5B;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;AClCA,uBAAuB,mBAAO,CAAC,4CAAqB;;AAEpD;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACfA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AChBA,aAAa,mBAAO,CAAC,kCAAW;;AAEhC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;;;;;;;;ACjBA,uBAAuB,mBAAO,CAAC,4CAAqB;;AAEpD;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACfA,eAAe,mBAAO,CAAC,mCAAY;;AAEnC;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACxCA,uBAAuB,mBAAO,CAAC,4CAAqB;;AAEpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,mBAAmB;AAC9B,aAAa,OAAO;AAC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AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;ACpCA,kBAAkB,mBAAO,CAAC,sCAAe;;AAEzC;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC/BA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACxBA,mBAAmB,mBAAO,CAAC,wCAAiB;AAC5C,kBAAkB,mBAAO,CAAC,sCAAe;AACzC,WAAW,mBAAO,CAAC,+BAAQ;;AAE3B;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,+CAA+C;AAChF;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACxBA,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,aAAa,mBAAO,CAAC,kCAAW;AAChC,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,iBAAiB,mBAAO,CAAC,sCAAe;;AAExC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC7BA,oBAAoB,mBAAO,CAAC,wCAAiB;;AAE7C;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,WAAW,OAAO;AAClB,aAAa,EAAE;AACf;AACA;AACA;AACA;;AAEA;;;;;;;;ACfA,gBAAgB,mBAAO,CAAC,qCAAc;;AAEtC;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA,GAAG;AACH,CAAC;;AAED;;;;;;;;ACVA,eAAe,mBAAO,CAAC,oCAAa;AACpC,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,eAAe,mBAAO,CAAC,oCAAa;;AAEpC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACnFA,aAAa,mBAAO,CAAC,kCAAW;AAChC,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,SAAS,mBAAO,CAAC,6BAAM;AACvB,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,iBAAiB,mBAAO,CAAC,sCAAe;;AAExC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC/GA,iBAAiB,mBAAO,CAAC,sCAAe;;AAExC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACzFA,cAAc,mBAAO,CAAC,kCAAW;AACjC,eAAe,mBAAO,CAAC,oCAAa;AACpC,kBAAkB,mBAAO,CAAC,uCAAgB;;AAE1C;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;;;;;;;;ACfA;AACA;;AAEA;;;;;;;;;ACHA,qBAAqB,mBAAO,CAAC,0CAAmB;AAChD,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,WAAW,mBAAO,CAAC,+BAAQ;;AAE3B;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;;AAEA;;;;;;;;ACfA,qBAAqB,mBAAO,CAAC,0CAAmB;AA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ACrB;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACtCA,mBAAmB,mBAAO,CAAC,wCAAiB;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AChBA,mBAAmB,mBAAO,CAAC,wCAAiB;;AAE5C;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC7BA,mBAAmB,mBAAO,CAAC,wCAAiB;;AAE5C;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACtBA,mBAAmB,mBAAO,CAAC,wCAAiB;;AAE5C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACtBA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,aAAa,MAAM;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACzBA,uBAAuB,mBAAO,CAAC,4CAAqB;AACpD,oBAAoB,mBAAO,CAAC,yCAAkB;AAC9C,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,sBAAsB,mBAAO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AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC7BA,cAAc,mBAAO,CAAC,kCAAW;AACjC,eAAe,mBAAO,CAAC,mCAAY;;AAEnC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACdA,iBAAiB,mBAAO,CAAC,sCAAe;;AAExC;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;;;;;;;;ACnBA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;;;;;;;ACjBA,eAAe,mBAAO,CAAC,mCAAY;;AAEnC;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACZA,mBAAmB,mBAAO,CAAC,wCAAiB;;AAE5C;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AClCA,mBAAmB,mBAAO,CAAC,wCAAiB;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,EAAE;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;;;;;;;AClBA,mBAAmB,mBAAO,CAAC,wCAAiB;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;;;;;;;;ACfA,mBAAmB,mBAAO,CAAC,wCAAiB;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;;;;;;;;ACzBA,WAAW,mBAAO,CAAC,gCAAS;AAC5B,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,UAAU,mBAAO,CAAC,+BAAQ;;AAE1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACpBA,iBAAiB,mBAAO,CAAC,sCAAe;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACjBA,iBAAiB,mBAAO,CAAC,sCAAe;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,EAAE;AACf;AACA;AACA;AACA;;AAEA;;;;;;;;ACfA,iBAAiB,mBAAO,CAAC,sCAAe;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;;;;;;;;ACfA,iBAAiB,mBAAO,CAAC,sCAAe;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;ACrBA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,EAAE;AACb,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACnBA,cAAc,mBAAO,CAAC,kCAAW;;AAEjC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;;;;;;;;ACzBA,gBAAgB,mBAAO,CAAC,qCAAc;;AAEtC;AACA;;AAEA;;;;;;;;ACLA,cAAc,mBAAO,CAAC,mCAAY;;AAElC;AACA;;AAEA;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACnBA,+DAAiB,mBAAO,CAAC,sCAAe;;AAExC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH,CAAC;;AAED;;;;;;;;;AC7BA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;;;;;;;;ACrBA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACdA,YAAY,mBAAO,CAAC,iCAAU;;AAE9B;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACnCA,cAAc,mBAAO,CAAC,mCAAY;AAClC,gBAAgB,mBAAO,CAAC,qCAAc;;AAEtC;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB,aAAa,EAAE;AACf;AACA;AACA;AACA;;AAEA;;;;;;;;ACfA,iBAAiB,mBAAO,CAAC,sCAAe;;AAExC;AACA;;AAEA;AACA;;AAEA;;;;;;;;ACRA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;;;;;;;;ACbA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;;;;;;;ACjBA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;;;;;;;ACjBA,sBAAsB,mBAAO,CAAC,2CAAoB;AAClD,eAAe,mBAAO,CAAC,oCAAa;;AAEpC;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,aAAa,SAAS;AACtB;AACA;;AAEA;;;;;;;;ACbA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACpCA,gBAAgB,mBAAO,CAAC,qCAAc;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,EAAE;AACf;AACA;AACA;AACA;;AAEA;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;;;;;;;;ACbA,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,UAAU,mBAAO,CAAC,+BAAQ;AAC1B,eAAe,mBAAO,CAAC,oCAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACjCA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,EAAE;AACb,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACtBA,oBAAoB,mBAAO,CAAC,yCAAkB;;AAE9C;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;;;;;;;;AC1BA,eAAe,mBAAO,CAAC,mCAAY;;AAEnC;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,cAAc;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACpBA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;;;;;;;ACzBA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;AClBA,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,qBAAqB,mBAAO,CAAC,0CAAmB;AAChD,kBAAkB,mBAAO,CAAC,sCAAe;AACzC,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,WAAW,mBAAO,CAAC,+BAAQ;;AAE3B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,UAAU;AACrB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,SAAS;AACtB,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,SAAS;AACtB;AACA;AACA,wCAAwC,SAAS;AACjD;AACA;AACA,WAAW,SAAS,GAAG,SAAS;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACzBA,eAAe,mBAAO,CAAC,oCAAa;AACpC,SAAS,mBAAO,CAAC,6BAAM;AACvB,qBAAqB,mBAAO,CAAC,0CAAmB;AAChD,aAAa,mBAAO,CAAC,iCAAU;;AAE/B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,UAAU;AACrB,aAAa,OAAO;AACpB;AACA;AACA;AACA,eAAe,SAAS,GAAG,SAAS,GAAG,SAAS;AAChD,UAAU;AACV;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,CAAC;;AAED;;;;;;;;AC/DA,qBAAqB,mBAAO,CAAC,0CAAmB;AAChD,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,eAAe,mBAAO,CAAC,oCAAa;AACpC,wBAAwB,mBAAO,CAAC,4CAAqB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,SAAS;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,gBAAgB,mBAAO,CAAC,oCAAa;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACrCA,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,gBAAgB,mBAAO,CAAC,oCAAa;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA,iBAAiB;AACjB,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACpCA,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,mBAAmB,mBAAO,CAAC,wCAAiB;AAC5C,cAAc,mBAAO,CAAC,kCAAW;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA,MAAM,8CAA8C;AACpD,MAAM;AACN;AACA;AACA,gCAAgC,kBAAkB,EAAE;AACpD;AACA;AACA;AACA,oBAAoB,4BAA4B;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,YAAY;AAC5C;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACnDA,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,gBAAgB,mBAAO,CAAC,oCAAa;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,aAAa,EAAE;AACf;AACA;AACA;AACA,MAAM,+CAA+C;AACrD,MAAM,gDAAgD;AACtD,MAAM;AACN;AACA;AACA,8BAA8B,mBAAmB,EAAE;AACnD;AACA;AACA;AACA,kBAAkB,2BAA2B;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACzCA,oBAAoB,mBAAO,CAAC,yCAAkB;AAC9C,mBAAmB,mBAAO,CAAC,wCAAiB;AAC5C,gBAAgB,mBAAO,CAAC,oCAAa;;AAErC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA,MAAM,qCAAqC;AAC3C,MAAM,qCAAqC;AAC3C,MAAM;AACN;AACA;AACA,mCAAmC,2BAA2B,EAAE;AAChE;AACA;AACA;AACA,uBAAuB,kCAAkC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACtDA,kBAAkB,mBAAO,CAAC,uCAAgB;;AAE1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACrBA,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,eAAe,mBAAO,CAAC,oCAAa;AACpC,mBAAmB,mBAAO,CAAC,wCAAiB;AAC5C,cAAc,mBAAO,CAAC,kCAAW;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB,aAAa,aAAa;AAC1B;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,cAAc,iBAAiB;AAC/B;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACxCA,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,mBAAmB,mBAAO,CAAC,wCAAiB;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACnCA,cAAc,mBAAO,CAAC,mCAAY;;AAElC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,aAAa;AACxB,WAAW,EAAE;AACb,aAAa,EAAE;AACf;AACA;AACA,iBAAiB,QAAQ,OAAO,SAAS,EAAE;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,cAAc,mBAAO,CAAC,mCAAY;;AAElC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,aAAa;AACxB,aAAa,QAAQ;AACrB;AACA;AACA,0BAA0B,gBAAgB,SAAS,GAAG;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,EAAE;AACf;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACpBA,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,kBAAkB,mBAAO,CAAC,sCAAe;AACzC,eAAe,mBAAO,CAAC,mCAAY;AACnC,gBAAgB,mBAAO,CAAC,oCAAa;AACrC,aAAa,mBAAO,CAAC,iCAAU;;AAE/B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,oBAAoB;AAC/B,WAAW,EAAE;AACb,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,iBAAiB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACpDA,gBAAgB,mBAAO,CAAC,qCAAc;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACrBA,eAAe,mBAAO,CAAC,oCAAa;AACpC,uBAAuB,mBAAO,CAAC,4CAAqB;AACpD,eAAe,mBAAO,CAAC,oCAAa;AACpC,0BAA0B,mBAAO,CAAC,+CAAwB;;AAE1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;AC7BA,sBAAsB,mBAAO,CAAC,2CAAoB;AAClD,mBAAmB,mBAAO,CAAC,uCAAgB;;AAE3C;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA,6BAA6B,kBAAkB,EAAE;AACjD;AACA;AACA;AACA;AACA;AACA,8CAA8C,kBAAkB,EAAE;AAClE;AACA;AACA;;AAEA;;;;;;;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACzBA,iBAAiB,mBAAO,CAAC,qCAAc;AACvC,eAAe,mBAAO,CAAC,mCAAY;;AAEnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AChCA,kBAAkB,mBAAO,CAAC,sCAAe;AACzC,mBAAmB,mBAAO,CAAC,uCAAgB;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AChCA,yDAAW,mBAAO,CAAC,gCAAS;AAC5B,gBAAgB,mBAAO,CAAC,oCAAa;;AAErC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;ACrCA,eAAe,mBAAO,CAAC,oCAAa;AACpC,aAAa,mBAAO,CAAC,kCAAW;AAChC,kBAAkB,mBAAO,CAAC,sCAAe;AACzC,cAAc,mBAAO,CAAC,kCAAW;AACjC,kBAAkB,mBAAO,CAAC,sCAAe;AACzC,eAAe,mBAAO,CAAC,mCAAY;AACnC,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,mBAAmB,mBAAO,CAAC,uCAAgB;;AAE3C;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,SAAS;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC5EA,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,eAAe,mBAAO,CAAC,mCAAY;;AAEnC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACpCA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AClCA,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,eAAe,mBAAO,CAAC,oCAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC5BA,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,mBAAmB,mBAAO,CAAC,wCAAiB;AAC5C,mBAAmB,mBAAO,CAAC,uCAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,iBAAiB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC7DA,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,eAAe,mBAAO,CAAC,oCAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC1BA,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,cAAc,mBAAO,CAAC,kCAAW;AACjC,mBAAmB,mBAAO,CAAC,uCAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC7BA,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,mBAAmB,mBAAO,CAAC,uCAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC5BA,uBAAuB,mBAAO,CAAC,4CAAqB;AACpD,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,eAAe,mBAAO,CAAC,oCAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACrBA,oBAAoB,mBAAO,CAAC,yCAAkB;AAC9C,eAAe,mBAAO,CAAC,oCAAa;AACpC,kBAAkB,mBAAO,CAAC,sCAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACpCA,oBAAoB,mBAAO,CAAC,yCAAkB;AAC9C,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,kBAAkB,mBAAO,CAAC,sCAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACnBA,eAAe,mBAAO,CAAC,oCAAa;AACpC,mBAAmB,mBAAO,CAAC,wCAAiB;AAC5C,cAAc,mBAAO,CAAC,mCAAY;AAClC,cAAc,mBAAO,CAAC,kCAAW;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,iBAAiB;AAC3B;AACA;AACA;AACA,MAAM,mBAAmB;AACzB,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACpDA,eAAe,mBAAO,CAAC,oCAAa;;AAEpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,aAAa,SAAS;AACtB;AACA;AACA,iBAAiB;AACjB,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;;;;;;;ACxEA,eAAe,mBAAO,CAAC,oCAAa;AACpC,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,eAAe,mBAAO,CAAC,oCAAa;AACpC,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,sBAAsB,mBAAO,CAAC,2CAAoB;AAClD,eAAe,mBAAO,CAAC,oCAAa;AACpC,mBAAmB,mBAAO,CAAC,wCAAiB;;AAE5C;AACA;AACA;AACA;;AAEA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,qBAAqB;AAChC,aAAa,OAAO;AACpB;AACA;AACA,iBAAiB;AACjB;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;ACxDA,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,cAAc,mBAAO,CAAC,kCAAW;;A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,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,mCAAmC;AACzC,MAAM;AACN;AACA;AACA;AACA,kBAAkB,oCAAoC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AClDA,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,eAAe,mBAAO,CAAC,oCAAa;AACpC,qBAAqB,mBAAO,CAAC,0CAAmB;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,yBAAyB;AACpC;AACA,aAAa,MAAM;AACnB;AACA;AACA;AACA,MAAM,8BAA8B;AACpC,MAAM,8BAA8B;AACpC,MAAM,8BAA8B;AACpC,MAAM;AACN;AACA;AACA,iCAAiC,eAAe,EAAE;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACjBA,gBAAgB,mBAAO,CAAC,qCAAc;AACtC,gBAAgB,mBAAO,CAAC,oCAAa;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACpCA,eAAe,mBAAO,CAAC,mCAAY;;AAEnC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACzCA,eAAe,mBAAO,CAAC,mCAAY;;AAEnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;;;;;;;ACnCA,eAAe,mBAAO,CAAC,oCAAa;AACpC,eAAe,mBAAO,CAAC,mCAAY;AACnC,eAAe,mBAAO,CAAC,mCAAY;;AAEnC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC/DA,oBAAoB,mBAAO,CAAC,yCAAkB;AAC9C,WAAW,mBAAO,CAAC,+BAAQ;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC7BA,mBAAmB,mBAAO,CAAC,wCAAiB;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC3BA,eAAe,mBAAO,CAAC,mCAAY;;AAEnC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC3BA,iBAAiB,mBAAO,CAAC,sCAAe;AACxC,WAAW,mBAAO,CAAC,+BAAQ;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACjCA,qBAAqB,mBAAO,CAAC,0CAAmB;AAChD,eAAe,mBAAO,CAAC,oCAAa;AACpC,wBAAwB,mBAAO,CAAC,4CAAqB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,KAAK;AAChB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;AC9BA,kBAAkB,mBAAO,CAAC,uCAAgB;AAC1C,oBAAoB,mBAAO,CAAC,yCAAkB;;AAE9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,MAAM;AACjB,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;;AAEa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,gCAAgC;AAChC;AACA;AACA;AAC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P,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;;AAEA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;;AAEA;AACA;;AAEA,8BAA8B;;AAE9B,uEAAuE;AACvE;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO,8CAA8C,+BAA+B;AACpF;AACA,OAAO;AACP;AACA,GAAG;;AAEH;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sDAAsD,uBAAuB;AAC7E;AACA;;AAEA;AACA;;AAEA,8CAA8C,cAAc;;AAE5D,CAAC;AACD;;;;;;;;ACtKA;AACA;AACA;AACA;AACA;AACA,eAAe,SAAS;AACxB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACzBA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,iCAAiC;;AAEjC;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,QAAQ;AAC9B;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;ACjCA,UAAU,mBAAO,CAAC,wCAAW;AAC7B,kBAAkB,mBAAO,CAAC,wCAAmB;;AAE7C;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,mCAAmC;AACnC;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,iBAAiB,OAAO;AACxB;AACA;;AAEA;AACA;;AAEA;;;;;;;;AC5GA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;;AAE5C;;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;;;;;;;ACrBA,uB;;;;;;;ACAA,2B;;;;;;;ACAA,4B;;;;;;;ACAA,iC;;;;;;;ACAA,wB;;;;;;;ACAA,wB;;;;;;;ACAA,mC;;;;;;;ACAA,0B;;;;;;;ACAA,wB;;;;;;;ACAA,0B;;;;;;;ACAA,sB;;;;;;;ACAA,4B;;;;;;;ACAA,uB;;;;;;;ACAA,4B;;;;;;;ACAA,4B;;;;;;;ACAA,yB;;;;;;;ACAA,6B","file":"js/bundle.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// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\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// 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 \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./client/src/bundles/bundle.js\");\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 9e4a75d12048cf67ff07","/* global window */\nimport registerComponents from 'boot/registerComponents';\nimport registerReducers from 'boot/registerReducers';\n\nwindow.document.addEventListener('DOMContentLoaded', () => {\n registerComponents();\n\n registerReducers();\n});\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/boot/index.js","import Injector from 'lib/Injector';\nimport HistoryViewer from 'components/HistoryViewer/HistoryViewer';\nimport SnapshotViewerContainer from 'components/HistoryViewer/SnapshotViewerContainer';\nimport HistoryViewerHeading from 'components/HistoryViewer/HistoryViewerHeading';\nimport HistoryViewerToolbar from 'components/HistoryViewer/HistoryViewerToolbar';\nimport HistoryViewerVersion from 'components/HistoryViewer/HistoryViewerVersion';\nimport HistoryViewerVersionDetail from 'components/HistoryViewer/HistoryViewerVersionDetail';\nimport HistoryViewerVersionList from 'components/HistoryViewer/HistoryViewerVersionList';\nimport HistoryViewerVersionState from 'components/HistoryViewer/HistoryViewerVersionState';\nimport HistoryViewerSnapshotState from 'components/HistoryViewer/HistoryViewerSnapshotState';\nimport HistoryViewerSnapshot from 'components/HistoryViewer/HistoryViewerSnapshot';\nimport HistoryViewerCompareWarning from 'components/HistoryViewer/HistoryViewerCompareWarning';\nimport RollbackMutation from 'components/HistoryViewer/RollbackMutation';\n\n/**\n * The reason we have not gone down the route of using the same name for components\n * is that we were running into race conditions with the injector. For example we\n * had the HistoryViewer component having two graphql HoCs applied to it. The last one\n * applied would \"win\" and update it's state\n *\n * We've opted to go down the route of renaming references rather than names in the hopes that\n * in the future when the injector is able to support removing registered HoC's\n */\nexport default () => {\n Injector.component.register('SnapshotViewer', HistoryViewer);\n Injector.component.register('SnapshotViewerContainer', SnapshotViewerContainer);\n Injector.component.register('SnapshotHistoryViewer', HistoryViewer);\n Injector.component.register('SnapshotRollbackMutation', RollbackMutation);\n Injector.component.registerMany({\n SnapshotHistoryViewerHeading: HistoryViewerHeading,\n SnapshotHistoryViewerToolbar: HistoryViewerToolbar,\n SnapshotHistoryViewerVersion: HistoryViewerVersion,\n SnapshotHistoryViewerVersionDetail: HistoryViewerVersionDetail,\n SnapshotHistoryViewerVersionList: HistoryViewerVersionList,\n SnapshotHistoryViewerVersionState: HistoryViewerVersionState,\n SnapshotHistoryViewerSnapshotState: HistoryViewerSnapshotState,\n SnapshotHistoryViewerSnapshot: HistoryViewerSnapshot,\n SnapshotHistoryViewerCompareWarning: HistoryViewerCompareWarning,\n }, { force: true });\n};\n\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/boot/registerComponents.js","import Injector from 'lib/Injector';\nimport { combineReducers } from 'redux';\nimport historyViewerReducer from 'state/historyviewer/HistoryViewerReducer';\n\nconst registerReducers = () => {\n Injector.reducer.register('versionedAdmin', combineReducers({\n historyViewer: historyViewerReducer,\n }), { force: true });\n};\n\nexport default registerReducers;\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/boot/registerReducers.js","/* eslint-disable\n import/no-webpack-loader-syntax,\n import/no-extraneous-dependencies,\n import/no-unresolved\n */\n\n// Expose fields (see webpack config for matching \"externals\" config)\nrequire('expose-loader?SnapshotsViewer!components/HistoryViewer/HistoryViewer');\n\nrequire('expose-loader?versionType!types/versionType');\n\n// Legacy CMS\nrequire('../legacy/ArchiveAdmin/ArchiveAdmin');\n\n// Legacy form fields\n// Fields used by core legacy UIs, or available to users\n// To do: determine better way of using webpack to pull in optional javascript\nrequire('../legacy/HistoryViewer/HistoryViewerEntwine');\n\nrequire('boot');\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/bundles/bundle.js","/* global window */\n\nimport React, { Component } from 'react';\nimport { compose } from 'redux';\nimport { connect } from 'react-redux';\nimport Griddle from 'griddle-react';\nimport historyViewerConfig from 'containers/HistoryViewer/HistoryViewerConfig';\nimport i18n from 'i18n';\nimport { inject } from 'lib/Injector';\nimport Loading from 'components/Loading/Loading';\nimport {\n setCurrentPage,\n showVersion,\n clearMessages,\n} from 'state/historyviewer/HistoryViewerActions';\nimport { versionType } from 'types/versionType';\nimport { compareType } from 'types/compareType';\nimport classNames from 'classnames';\nimport ResizeAware from 'react-resize-aware';\nimport * as viewModeActions from 'state/viewMode/ViewModeActions';\nimport PropTypes from 'prop-types';\n\nconst VERSION_MODE_VERSION = 'VERSION';\nconst VERSION_MODE_DATE = 'DATE';\n\nexport {\n VERSION_MODE_VERSION,\n VERSION_MODE_DATE,\n};\n\n/**\n * The HistoryViewer component is abstract, and requires an Injector component\n * to be connected providing the GraphQL query implementation for the appropriate\n * DataObject type\n */\nclass HistoryViewer extends Component {\n constructor(props) {\n super(props);\n\n this.handleSetPage = this.handleSetPage.bind(this);\n this.handleNextPage = this.handleNextPage.bind(this);\n this.handlePrevPage = this.handlePrevPage.bind(this);\n }\n\n /**\n * Manually handle state changes in the page number, because Griddle doesn't support Redux.\n * See: https://github.com/GriddleGriddle/Griddle/issues/626\n *\n * @param {object} prevProps\n */\n componentDidUpdate(prevProps) {\n const { page: prevPage } = prevProps;\n const { page: currentPage, actions: { versions } } = this.props;\n\n if (prevPage !== currentPage && typeof versions.goToPage === 'function') {\n versions.goToPage(currentPage);\n }\n }\n\n /**\n * Reset the selected version when unmounting HistoryViewer to prevent data leaking\n * between instances\n */\n componentWillUnmount() {\n const { onSelect } = this.props;\n if (typeof onSelect === 'function') {\n onSelect(false);\n }\n }\n\n /**\n * Returns the result of the GraphQL version history query\n *\n * @returns {Array}\n */\n getVersions() {\n const { versions } = this.props;\n const nodes = (versions && versions.snapshotHistory && versions.snapshotHistory.nodes)\n ? versions.snapshotHistory.nodes\n : [];\n return nodes.map(node => ({\n ...node,\n ...node.originVersion,\n // Snapshots author is authoritative\n author: {\n ...node.author\n },\n absoluteLink: (node.isFullVersion && node.originVersion)\n ? node.originVersion.absoluteLink\n : versions.absoluteLink,\n version: node.isFullVersion && node.originVersion\n ? node.originVersion.version\n : node.baseVersion,\n }));\n }\n\n /**\n * Returns a string to be used as the \"class\" attribute on the history viewer container\n *\n * @returns {string}\n */\n getContainerClasses() {\n const { compare, isInGridField } = this.props;\n\n // GridFieldDetailForm provides its own padding, so apply a class to counteract this.\n return classNames('history-viewer', 'fill-height', {\n 'history-viewer__compare-mode': compare,\n 'history-viewer--no-margins': isInGridField && !this.isListView(),\n });\n }\n\n /**\n * Get the latest version from the list available (if there is one)\n *\n * @returns {object|null}\n */\n getLatestVersion() {\n const { currentVersion } = this.props;\n\n // Check whether the \"current version\" (in the store) is the latest draft\n if (currentVersion && currentVersion.latestDraftVersion === true) {\n return currentVersion;\n }\n\n // Look for one in the list of available versions\n const latestDraftVersion = this.getVersions()\n .filter(version => version.latestDraftVersion === true);\n\n if (latestDraftVersion.length) {\n return latestDraftVersion[0];\n }\n\n return null;\n }\n\n /**\n * List view is when either no current version is set, or only one of the two versions is\n * set for compare mode\n *\n * @returns {boolean}\n */\n isListView() {\n const { compare, currentVersion } = this.props;\n\n // Nothing is set: initial list view\n if (!currentVersion) {\n return true;\n }\n\n // No compare mode data set: it's detail view\n if (!compare) {\n return false;\n }\n\n // Only part of the compare mode data is set: it's list view\n if (compare.versionFrom && !compare.versionTo) {\n return true;\n }\n\n return false;\n }\n\n /**\n * Handles setting the pagination page number\n *\n * @param {number} page\n */\n handleSetPage(page) {\n const { onSetPage } = this.props;\n if (typeof onSetPage === 'function') {\n // Note: data from Griddle is zero-indexed\n onSetPage(page + 1);\n }\n }\n\n /**\n * Handler for incrementing the set page\n */\n handleNextPage() {\n const { page } = this.props;\n // Note: data for Griddle needs to be zero-indexed, so don't add 1 to this\n this.handleSetPage(page);\n }\n\n /**\n * Handler for decrementing the set page\n */\n handlePrevPage() {\n const { page } = this.props;\n // Note: data for Griddle needs to be zero-indexed\n const currentPage = page - 1;\n if (currentPage < 1) {\n this.handleSetPage(currentPage);\n return;\n }\n this.handleSetPage(currentPage - 1);\n }\n\n /**\n * Compare mode is not available when only one version exists\n *\n * @returns {boolean}\n */\n compareModeAvailable() {\n return this.getVersions().length > 1;\n }\n\n /**\n * Renders the detail form for a selected version\n *\n * @returns {HistoryViewerVersionDetail}\n */\n renderVersionDetail() {\n const {\n currentVersion,\n isPreviewable,\n recordId,\n recordClass,\n typeName,\n schemaUrl,\n // previewMode,\n VersionDetailComponent,\n compare,\n compare: { versionFrom = false, versionTo = false },\n previewState,\n } = this.props;\n // Insert variables into the schema URL via regex replacements\n const schemaVersionReplacements = {\n ':id': recordId,\n ':class': recordClass,\n ':date': '',\n ':version': '',\n };\n\n // Currently previewMode === MODE_VERSION is disabled as it displays incorrect relations.\n\n schemaVersionReplacements[':date'] = currentVersion.lastEdited;\n\n const schemaCompareReplacements = {\n ':id': recordId,\n ':class': recordClass,\n ':from': versionFrom.version || 0,\n ':to': versionTo.version || 0,\n };\n const schemaSearch = compare ? /:id|:class|:from|:to/g : /:id|:class|:version|:date/g;\n const schemaReplacements = compare ? schemaCompareReplacements : schemaVersionReplacements;\n\n const version = compare ? versionFrom : currentVersion;\n const latestVersion = this.getLatestVersion();\n const props = {\n // comparison shows two versions as one, so by nature cannot be a single 'latest' version.\n isLatestVersion: !compare && latestVersion && latestVersion.version === version.version,\n isPreviewable,\n recordId,\n typeName,\n schemaUrl: schemaUrl.replace(schemaSearch, (match) => schemaReplacements[match]),\n version,\n compare,\n compareModeAvailable: this.compareModeAvailable(),\n previewState,\n };\n\n return (\n this.props.onResize(width)}\n >\n \n \n );\n }\n\n /**\n * Renders the react component for pagination.\n * Currently borrows the pagination from Griddle, to keep styling consistent\n * between the two views.\n *\n * See: ThumbnailView.js\n *\n * @returns {XML|null}\n */\n renderPagination() {\n const { limit, page, versions } = this.props;\n\n if (!versions) {\n return null;\n }\n\n const totalVersions = versions.snapshotHistory\n ? versions.snapshotHistory.pageInfo.totalCount\n : 0;\n\n if (totalVersions <= limit) {\n return null;\n }\n\n const props = {\n setPage: this.handleSetPage,\n maxPage: Math.ceil(totalVersions / limit),\n next: this.handleNextPage,\n nextText: i18n._t('HistoryViewer.NEXT', 'Next'),\n previous: this.handlePrevPage,\n previousText: i18n._t('HistoryViewer.PREVIOUS', 'Previous'),\n // Note: zero indexed\n currentPage: page - 1,\n useGriddleStyles: false,\n };\n\n return (\n
    \n \n
    \n );\n }\n\n /**\n * Render the list containing versions selected for comparison.\n * It is not the ListComponent's place to know the context in which it is being rendered\n * so it is the directive of this contextual component to tell it what stylistic adaptations\n * it should present based on the context (the type of list it contains).\n *\n * @returns {HistoryViewerVersionList|null}\n */\n renderComparisonSelectionList() {\n const { compare: { versionFrom }, ListComponent } = this.props;\n\n if (!versionFrom) {\n return null;\n }\n\n const selectionListClasses = classNames(\n 'history-viewer__table',\n 'history-viewer__table--comparison-selected',\n );\n\n return (\n \n );\n }\n\n /**\n * Renders a list of versions\n *\n * @returns {HistoryViewerVersionList}\n */\n renderVersionList() {\n const {\n isInGridField,\n ListComponent,\n CompareWarningComponent,\n compare,\n compare: { versionFrom: hasVersionFrom },\n } = this.props;\n return (\n
    \n \n\n
    \n {this.renderComparisonSelectionList()}\n \n\n
    \n {this.renderPagination()}\n
    \n
    \n
    \n );\n }\n\n renderCompareMode() {\n const { compare } = this.props;\n\n if (compare && compare.versionFrom && compare.versionTo) {\n return this.renderVersionDetail();\n }\n return this.renderVersionList();\n }\n\n render() {\n const { loading, compare, previewMode } = this.props;\n\n if (loading) {\n return ;\n }\n\n if (this.compareModeAvailable() && compare) {\n return this.renderCompareMode();\n }\n\n if (previewMode) {\n return this.renderVersionDetail();\n }\n\n return this.renderVersionList();\n }\n}\n\nHistoryViewer.propTypes = {\n contextKey: PropTypes.string,\n limit: PropTypes.number,\n ListComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n offset: PropTypes.number,\n recordId: PropTypes.number.isRequired,\n recordClass: PropTypes.string.isRequired,\n typeName: PropTypes.string.isRequired,\n currentVersion: PropTypes.oneOfType([PropTypes.bool, versionType]),\n compare: compareType,\n isInGridField: PropTypes.bool,\n isPreviewable: PropTypes.bool,\n VersionDetailComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n CompareWarningComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n versions: PropTypes.shape({\n versions: PropTypes.shape({\n pageInfo: PropTypes.shape({\n totalCount: PropTypes.number,\n }),\n edges: PropTypes.arrayOf(PropTypes.shape({\n node: versionType,\n })),\n }),\n }),\n page: PropTypes.number,\n schemaUrl: PropTypes.string,\n // @todo replace this with import { VIEW_MODE_STATES } from 'state/viewMode/ViewModeStates'\n // when webpack-config has this export available via silverstripe/admin\n previewState: PropTypes.oneOf(['edit', 'preview', 'split']),\n actions: PropTypes.object,\n onSelect: PropTypes.func,\n onSetPage: PropTypes.func,\n onResize: PropTypes.func,\n};\n\nHistoryViewer.defaultProps = {\n compare: {},\n contextKey: '',\n currentVersion: false,\n isInGridField: false,\n isPreviewable: false,\n typeName: '',\n schemaUrl: '',\n versions: {\n versions: {\n pageInfo: {\n totalCount: 0,\n },\n edges: [],\n },\n },\n};\n\n\nfunction mapStateToProps(state) {\n const {\n currentPage,\n currentVersion,\n previewMode,\n compare,\n } = state.versionedAdmin.historyViewer;\n\n const { activeState } = state.viewMode;\n\n return {\n page: currentPage,\n currentVersion,\n compare,\n previewMode,\n previewState: activeState,\n };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onSelect(id) {\n dispatch(showVersion(id));\n dispatch(clearMessages());\n },\n onSetPage(page) {\n dispatch(setCurrentPage(page));\n },\n onResize(panelWidth) {\n dispatch(viewModeActions.enableOrDisableSplitMode(panelWidth));\n }\n };\n}\n\nexport { HistoryViewer as Component };\n\nexport default compose(\n connect(mapStateToProps, mapDispatchToProps),\n historyViewerConfig,\n inject(\n ['SnapshotHistoryViewerVersionList', 'SnapshotHistoryViewerVersionDetail', 'SnapshotHistoryViewerCompareWarning'],\n (ListComponent, VersionDetailComponent, CompareWarningComponent) => ({\n ListComponent,\n VersionDetailComponent,\n CompareWarningComponent,\n }),\n ({ contextKey }) => `VersionedAdmin.HistoryViewer.${contextKey}`\n )\n)(HistoryViewer);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewer.js","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport i18n from 'i18n';\nimport { setCompareMode } from 'state/historyviewer/HistoryViewerActions';\n\nclass HistoryViewerCompareWarning extends Component {\n constructor(props) {\n super(props);\n\n this.handleDismissCompare = this.handleDismissCompare.bind(this);\n }\n\n handleDismissCompare() {\n this.props.onDismissCompare();\n }\n\n /**\n * Renders a notice indicating the user is in compare mode (if compare mode is active)\n *\n * @returns {string}\n */\n render() {\n if (!this.props.isCompare) {\n return null;\n }\n\n return (\n
    \n \n {i18n._t('HistoryViewer.COMPARE_MODE', 'Compare mode')}: \n {i18n._t('HistoryViewer.SELECT_PROMPT', 'Select two versions')}\n \n \n
    \n );\n }\n}\n\nHistoryViewerCompareWarning.propTypes = {\n isCompare: PropTypes.bool.isRequired,\n};\n\nfunction mapStateToProps(state) {\n const {\n compare,\n } = state.versionedAdmin.historyViewer;\n\n return {\n isCompare: !!compare,\n };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onDismissCompare() {\n dispatch(setCompareMode(false));\n },\n };\n}\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(HistoryViewerCompareWarning);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerCompareWarning.js","import i18n from 'i18n';\nimport React, { Component } from 'react';\nimport { Dropdown, DropdownToggle, DropdownMenu } from 'reactstrap';\nimport { setCompareMode } from 'state/historyviewer/HistoryViewerActions';\nimport { compose } from 'redux';\nimport { connect } from 'react-redux';\nimport PropTypes from 'prop-types';\n\nclass HistoryViewerHeading extends Component {\n constructor(props) {\n super(props);\n\n this.toggle = this.toggle.bind(this);\n this.handleCompareModeChange = this.handleCompareModeChange.bind(this);\n\n this.state = {\n dropdownOpen: false,\n };\n }\n\n toggle() {\n this.setState(prevState => ({\n dropdownOpen: !prevState.dropdownOpen\n }));\n }\n\n handleCompareModeChange() {\n const { compareModeSelected, onCompareModeUnselect, onCompareModeSelect } = this.props;\n if (compareModeSelected) {\n onCompareModeUnselect();\n } else {\n onCompareModeSelect();\n }\n }\n\n /**\n * If compare mode is available, renders a dropdown containing the \"compare two versions\" option\n *\n * @returns {Dropdown|null}\n */\n renderDropdown() {\n const { compareModeAvailable, compareModeSelected } = this.props;\n const { dropdownOpen } = this.state;\n\n if (!compareModeAvailable) {\n return null;\n }\n\n return (\n \n \n \n
    \n \n \n
    \n
    \n \n );\n }\n\n render() {\n return (\n
  • \n \n {i18n._t('HistoryViewer.Date', 'Date')}\n \n \n {i18n._t('HistoryViewer.Activity', 'Activity')}\n \n \n {i18n._t('HistoryViewer.Author', 'Author')}\n \n \n {this.renderDropdown()}\n \n
  • \n );\n }\n}\n\nHistoryViewerHeading.propTypes = {\n compareModeAvailable: PropTypes.bool,\n compareModeSelected: PropTypes.bool,\n onCompareModeSelect: PropTypes.func,\n onCompareModeUnselect: PropTypes.func,\n};\n\nHistoryViewerHeading.defaultProps = {\n compareModeAvailable: true,\n};\n\nfunction mapStateToProps(state) {\n return {\n compareModeSelected: !!state.versionedAdmin.historyViewer.compare,\n };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onCompareModeSelect() {\n dispatch(setCompareMode(true));\n },\n onCompareModeUnselect() {\n dispatch(setCompareMode(false));\n },\n };\n}\n\nexport { HistoryViewerHeading as Component };\n\nexport default compose(connect(mapStateToProps, mapDispatchToProps))(HistoryViewerHeading);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerHeading.js","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { inject } from 'lib/Injector';\nimport i18n from 'i18n';\nimport { compose } from 'redux';\nimport { connect } from 'react-redux';\nimport {\n showVersion,\n showDate,\n clearMessages\n} from 'state/historyviewer/HistoryViewerActions';\nimport classNames from 'classnames';\nimport { versionType } from 'types/versionType';\nimport getDateFromVersion from '../../helpers/getDateFromVersion';\n\nclass HistoryViewerSnapshot extends Component {\n constructor(props) {\n super(props);\n this.handleClick = this.handleClick.bind(this);\n this.handleKeyUp = this.handleKeyUp.bind(this);\n this.handleClose = this.handleClose.bind(this);\n }\n\n getClassNames() {\n const { extraClass, initial, isComparing, isActive } = this.props;\n const defaultClasses = {\n 'history-viewer__row': true,\n 'history-viewer__snapshot': true,\n 'history-viewer__row--current': isActive,\n 'history-viewer__snapshot--initial': initial,\n 'history-viewer__snapshot--muted': isComparing,\n };\n return classNames(defaultClasses, extraClass);\n }\n\n handleClick() {\n const { onSelect, version, isActive } = this.props;\n\n // If the clear button is shown, don't do anything when clicking on the row\n if (isActive) {\n return false;\n }\n onSelect(version);\n return false;\n }\n\n handleClose(e) {\n e.stopPropagation();\n this.props.onSelect(false);\n return false;\n }\n\n handleKeyUp(event) {\n if (event.keyCode === 13) {\n this.handleClick();\n }\n }\n\n render() {\n const { version, StateComponent, FormActionComponent, isComparing, isActive } = this.props;\n const { author: { firstName, surname } } = version;\n const author = `${firstName || ''} ${surname || ''}`;\n const rowTitle = i18n._t('HistoryViewerSnapshot.GO_TO_SNAPSHOT', 'Go to snapshot at {date}');\n\n return (\n
  • \n \n \n {version.activityAgo}\n {' '}\n {getDateFromVersion(version)}\n \n\n \n \n {author}\n \n \n {isActive && (\n \n )}\n \n \n
  • \n );\n }\n}\n\nHistoryViewerSnapshot.propTypes = {\n isActive: PropTypes.bool,\n version: versionType,\n initial: PropTypes.bool,\n isComparing: PropTypes.bool,\n};\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onSelect(selectedVersion) {\n const func = selectedVersion.isFullVersion ? showVersion : showDate;\n dispatch(func(selectedVersion));\n dispatch(clearMessages());\n }\n };\n}\n\nexport default compose(\n connect(null, mapDispatchToProps),\n inject(\n ['FormAction', 'SnapshotHistoryViewerSnapshotState'],\n (FormAction, HistoryViewerSnapshotState) => ({\n FormActionComponent: FormAction,\n StateComponent: HistoryViewerSnapshotState,\n })\n )\n)(HistoryViewerSnapshot);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerSnapshot.js","import { Component as VersionedState } from './HistoryViewerVersionState';\nimport { inject } from 'lib/Injector';\nimport React from 'react';\n\nclass HistoryViewerSnapshotState extends VersionedState {\n translateType(type) {\n const { i18n } = window;\n switch (type) {\n case 'MODIFIED':\n return i18n._t('HistoryViewerSnapshot.MODIFIED', 'Edited');\n case 'DELETED':\n return i18n._t('HistoryViewerSnapshot.DELETED', 'Archived');\n case 'CREATED':\n return i18n._t('HistoryViewerSnapshot.CREATED', 'Created');\n case 'ADDED':\n return i18n._t('HistoryViewerSnapshot.ADDED', 'Added');\n case 'REMOVED':\n return i18n._t('HistoryViewerSnapshot.REMOVED', 'Removed');\n case 'UNPUBLISHED':\n return i18n._t('HistoryViewerSnapshot.UNPUBLISHED', 'Unpublished');\n case 'PUBLISHED':\n return i18n._t('HistoryViewerSnapshot.PUBLISHED', 'Published');\n default:\n return '';\n }\n }\n\n getPublishedState() {\n const { activityDescription, activityType } = this.props.version;\n\n const prefix = this.translateType(activityType);\n const lines = activityDescription.split('\\n');\n if (lines.length > 1) {\n // eslint-disable-next-line react/no-array-index-key\n return lines.map((l, i) =>
    {l}
    );\n }\n return `${prefix} ${activityDescription}`;\n }\n\n getBadges() {\n // No LIVE badge unless it's a native version\n return null;\n }\n}\n\nexport { HistoryViewerSnapshotState as Component };\n\nexport default inject(\n ['Badge'],\n (BadgeComponent) => ({ BadgeComponent }),\n)(HistoryViewerSnapshotState);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerSnapshotState.js","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { compose } from 'redux';\nimport { connect } from 'react-redux';\nimport i18n from 'i18n';\nimport { inject } from 'lib/Injector';\nimport { addMessage, showList } from 'state/historyviewer/HistoryViewerActions';\nimport { Tooltip } from 'reactstrap';\n\nclass HistoryViewerToolbar extends Component {\n constructor(props) {\n super(props);\n\n this.handleRevert = this.handleRevert.bind(this);\n this.handleToggleRevertTooltip = this.handleToggleRevertTooltip.bind(this);\n\n this.state = {\n isReverting: false,\n revertTooltipOpen: false,\n tooltipTimer: null,\n };\n }\n\n /**\n * Triggers a revert action to be performed for the current record's version\n * @param {func} rollback\n * @returns Promise\n */\n handleRevert(rollback) {\n const { onAfterRevert, recordId, versionId } = this.props;\n\n this.setState({ isReverting: true });\n\n const handler = typeof onAfterRevert === 'function' ? onAfterRevert : () => {};\n return rollback({ variables: {\n id: recordId,\n toVersion: versionId\n } }).then(() => handler(versionId));\n }\n\n handleToggleRevertTooltip() {\n this.setState(state => ({\n revertTooltipOpen: !state.revertTooltipOpen,\n }));\n }\n\n render() {\n const {\n FormActionComponent,\n ViewModeComponent,\n RollbackMutation,\n isLatestVersion,\n isPreviewable,\n canRollback,\n rollbackMessage,\n typeName,\n } = this.props;\n const { isReverting, revertTooltipOpen } = this.state;\n\n const revertButtonTitle = isReverting\n ? i18n._t('HistoryViewerToolbar.REVERT_IN_PROGRESS', 'Revert in progress...')\n : i18n._t('HistoryViewerToolbar.REVERT_UNAVAILABLE', 'Unavailable for the current version');\n\n return (\n \n {(rollback) => (\n
    \n
    \n this.handleRevert(rollback)}\n icon=\"back-in-time\"\n name=\"revert\"\n attributes={{\n title: revertButtonTitle,\n }}\n data={{\n buttonStyle: 'warning'\n }}\n disabled={isLatestVersion || isReverting || !canRollback}\n loading={isReverting}\n title={i18n._t('HistoryViewerToolbar.REVERT_TO_VERSION', 'Revert to this version')}\n />\n { !canRollback && (\n \n {rollbackMessage}\n \n )}\n { isPreviewable && }\n
    \n
    \n )}\n
    \n );\n }\n}\n\nHistoryViewerToolbar.propTypes = {\n actions: PropTypes.shape({\n revertToVersion: PropTypes.func.isRequired,\n }),\n FormActionComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n ViewModeComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n isLatestVersion: PropTypes.bool,\n isPreviewable: PropTypes.bool,\n onAfterRevert: PropTypes.func,\n recordId: PropTypes.number.isRequired,\n typeName: PropTypes.string.isRequired,\n versionId: PropTypes.number.isRequired,\n canRollback: PropTypes.bool,\n rollbackMessage: PropTypes.string,\n};\n\nHistoryViewerToolbar.defaultProps = {\n isLatestVersion: false,\n isPreviewable: false,\n canRollback: true,\n};\n\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onAfterRevert(versionId) {\n dispatch(addMessage(i18n.sprintf(\n i18n._t('HistoryViewerToolbar.REVERTED_MESSAGE', 'Successfully reverted to version %s'),\n versionId\n )));\n dispatch(showList());\n },\n };\n}\n\nexport { HistoryViewerToolbar as Component };\n\nexport default compose(\n connect(null, mapDispatchToProps),\n inject(\n ['FormAction', 'ViewModeToggle', 'SnapshotRollbackMutation'],\n (FormActionComponent, ViewModeComponent, RollbackMutation) => ({\n FormActionComponent,\n ViewModeComponent,\n RollbackMutation,\n }),\n () => 'VersionedAdmin.HistoryViewer.Toolbar'\n )\n)(HistoryViewerToolbar);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerToolbar.js","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { compose } from 'redux';\nimport { connect } from 'react-redux';\nimport { inject } from 'lib/Injector';\nimport { versionType, defaultVersion } from 'types/versionType';\nimport { compareType } from 'types/compareType';\nimport i18n from 'i18n';\nimport classNames from 'classnames';\nimport {\n showVersion,\n clearMessages,\n setCompareMode,\n setCompareFrom,\n setCompareTo,\n} from 'state/historyviewer/HistoryViewerActions';\nimport getDateFromVersion from '../../helpers/getDateFromVersion';\n\nclass HistoryViewerVersion extends Component {\n constructor(props) {\n super(props);\n\n this.handleClick = this.handleClick.bind(this);\n this.handleClose = this.handleClose.bind(this);\n this.handleCompare = this.handleCompare.bind(this);\n this.handleKeyUp = this.handleKeyUp.bind(this);\n }\n\n /**\n * Snapshots tracks its own authors, so no need to rely on the published version\n *\n * @returns {string}\n */\n getAuthor() {\n const { version: { author } } = this.props;\n\n return `${author.firstName || ''} ${author.surname || ''}`;\n }\n\n /**\n * Return a string of HTML class names for the row (list item) element\n *\n * @returns {string}\n */\n getClassNames() {\n const { extraClass, isActive, compare, compare: { compareFrom, compareTo } } = this.props;\n const defaultClasses = {\n 'history-viewer__row': true,\n 'history-viewer__row--current': isActive,\n 'history-viewer__row--comparison-selected': compare && !(compareFrom && compareTo),\n };\n return classNames(defaultClasses, extraClass);\n }\n\n /**\n * If pressing enter key, trigger click event to load detail view\n *\n * @param {Object} event\n */\n handleKeyUp(event) {\n if (event.keyCode === 13) {\n this.handleClick();\n }\n }\n\n /**\n * When clicking on a version, render the detail view for it via a Redux action dispatch\n * passed through via a closure prop (onSelect)\n */\n handleClick() {\n const { onSelect, version, isActive, compare } = this.props;\n\n // If the clear button is shown, don't do anything when clicking on the row\n if (isActive) {\n return false;\n }\n onSelect(version, compare);\n return false;\n }\n\n handleCompare() {\n const { onCompareMode, version } = this.props;\n onCompareMode(version);\n }\n\n /**\n * When closing the version, return back to the list view via Redux action dispatch\n */\n handleClose() {\n const { onSelect, version, compare, compare: { versionFrom } } = this.props;\n if (versionFrom && versionFrom.version === version.version) {\n // Ensures we set the correct thing. C.f. logic in mapDispatchToProps -> onSelect\n delete compare.versionFrom;\n }\n onSelect(0, compare);\n }\n\n /**\n * Renders a \"compare mode\" button which will allow the user to start selecting versions to\n * compare differences between. This is usually rendered in the \"more actions\" menu.\n *\n * @returns {FormAction|null}\n */\n renderCompareButton() {\n const { compareModeAvailable, compare, FormActionComponent } = this.props;\n const translatedText = i18n._t('HistoryViewerVersion.COMPARE', 'Compare');\n\n if (!compareModeAvailable || compare) {\n return null;\n }\n\n return (\n \n {translatedText}\n \n );\n }\n\n /**\n * Renders a \"clear\" button to close the version, for example when used in a \"detail view\"\n * context. This is shown when this version is \"active\", displayed with a blue background.\n * It is hidden for the selected version when compare mode is active, until the row is hovered or\n * focused.\n *\n * @returns {FormAction|null}\n */\n renderClearButton() {\n const { FormActionComponent, isActive } = this.props;\n\n if (!isActive) {\n return null;\n }\n\n return (\n \n );\n }\n\n /**\n * Renders an \"Already selected\" span to close the selected version when compare mode is enabled.\n * Hidden in all other cases in favour of the \"clear button\". When the rendered version is\n * hovered or focused, it gets hidden and the clear button is rendered instead.\n *\n * @returns {DOMElement|null}\n */\n renderSelectedMessage() {\n const { isActive } = this.props;\n\n if (!isActive) {\n return null;\n }\n\n return (\n \n {i18n._t('HistoryViewerVersion.SELECTED', 'Already selected')}\n \n );\n }\n\n /**\n * Renders the \"actions\" menu for the detail view. This menu may contain a compare mode toggle\n * and/or a \"clear\" button to clear the current selected version\n *\n * @returns {DOMElement}\n */\n renderActions() {\n const { isActive, compare } = this.props;\n\n if (!isActive && !compare) {\n return (\n \n );\n }\n\n return (\n \n {this.renderCompareButton()}\n {this.renderSelectedMessage()}\n {this.renderClearButton()}\n \n );\n }\n render() {\n const { version, isActive, StateComponent } = this.props;\n const rowTitle = i18n._t('HistoryViewerVersion.GO_TO_VERSION', 'Go to version {version}');\n\n return (\n
  • \n \n \n {version.ActivityAgo}\n {' '}\n {getDateFromVersion(version)}\n \n\n \n \n {this.getAuthor()}\n \n {this.renderActions()}\n \n
  • \n );\n }\n}\n\nHistoryViewerVersion.propTypes = {\n extraClass: PropTypes.oneOfType([PropTypes.string, PropTypes.array, PropTypes.object]),\n version: versionType,\n isActive: PropTypes.bool,\n onSelect: PropTypes.func,\n onCompareMode: PropTypes.func,\n compare: compareType,\n compareModeAvailable: PropTypes.bool,\n StateComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n FormActionComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n};\n\nHistoryViewerVersion.defaultProps = {\n isActive: false,\n version: defaultVersion,\n compare: false,\n compareModeAvailable: true,\n};\n\nexport { HistoryViewerVersion as Component };\n\nfunction mapDispatchToProps(dispatch) {\n return {\n onSelect(selectedVersion, compare) {\n const { versionFrom } = compare;\n if (compare) {\n if (!versionFrom) {\n dispatch(setCompareFrom(selectedVersion));\n } else {\n dispatch(setCompareTo(selectedVersion));\n }\n } else {\n dispatch(showVersion(selectedVersion));\n dispatch(clearMessages());\n }\n },\n onCompareMode(version) {\n dispatch(setCompareFrom(version));\n dispatch(setCompareMode(true));\n }\n };\n}\n\nexport default compose(\n connect(null, mapDispatchToProps),\n inject(\n ['SnapshotHistoryViewerVersionState', 'FormAction'],\n (StateComponent, FormActionComponent) => ({\n StateComponent,\n FormActionComponent,\n }),\n ({ version }) => {\n let context = 'VersionedAdmin.HistoryViewer.HistoryViewerVersion';\n if (version) {\n context += `.${version.version}`;\n }\n return context;\n }\n )\n)(HistoryViewerVersion);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerVersion.js","/* global document */\n\nimport React, { PureComponent } from 'react';\nimport classnames from 'classnames';\nimport FormBuilderLoader from 'containers/FormBuilderLoader/FormBuilderLoader';\nimport { inject } from 'lib/Injector';\nimport { versionType } from 'types/versionType';\nimport PropTypes from 'prop-types';\nimport i18n from 'i18n';\n\nclass HistoryViewerVersionDetail extends PureComponent {\n componentWillMount() {\n this.toggleToolbarClass(true);\n }\n\n /**\n * When new props are received (from Redux dispatch events), check whether the preview\n * state changes. If so, we want to add or remove the legacy CSS modifier for the CMS\n * north toolbar based on whether the view mode is \"split\" (add) or anything else (remove)\n *\n * @param {Object} nextProps\n */\n componentWillReceiveProps(nextProps) {\n if (nextProps.previewState !== this.props.previewState) {\n this.toggleToolbarClass(nextProps.previewState === 'split');\n }\n }\n\n componentWillUnmount() {\n this.toggleToolbarClass(false);\n }\n\n /**\n * Originally this component hard coded the array of versions to be passed\n * to the list component as [version], but with the introduction of a compare mode\n * this isn't always true (we need both \"compare from\" & \"compare to\").\n * So this getter abstracts that logic.\n *\n * @returns {array}\n */\n getListVersions() {\n const { compare, version } = this.props;\n if (this.isCompareMode()) {\n return [compare.versionTo, compare.versionFrom];\n }\n return [version];\n }\n\n /**\n * Return whether or not we should be displaying the preview component\n * @returns {boolean}\n */\n isPreviewable() {\n const { isPreviewable } = this.props;\n return isPreviewable && !this.isCompareMode();\n }\n\n /**\n * Return whether or not we should be comparing two versions\n * @returns {boolean}\n */\n isCompareMode() {\n const { compare } = this.props;\n return compare && compare.versionFrom && compare.versionTo;\n }\n\n /**\n * Until the CMS is fully React driven, we must control certain aspects of the CMS DOM with\n * manual CSS tweaks. @todo remove this when React drives the CMS.\n *\n * @param {boolean} add\n */\n toggleToolbarClass(add = true) {\n const selector = document\n .querySelector('.CMSPageHistoryViewerController div:not(.cms-content-tools) .cms-content-header');\n const className = 'history-viewer__toolbar--condensed';\n\n if (selector && this.isPreviewable()) {\n if (add) {\n selector.classList.add(className);\n } else {\n selector.classList.remove(className);\n }\n }\n }\n\n /**\n * If the preview panel is enabled, return the component\n *\n * @returns {Preview|null}\n */\n renderPreview() {\n const { version, PreviewComponent, previewState } = this.props;\n\n // Don't render the preview if the view mode is \"edit\"\n if (!this.isPreviewable() || previewState === 'edit') {\n return null;\n }\n\n return (\n
    \n
    \n
    \n { i18n._t('HistoryViewerVersionDetail.LOADING_PREVIEW', 'Generating preview...') }\n
    \n \n
    \n );\n }\n\n /**\n * If the toolbar should be viewable, return the component\n *\n * @returns {HistoryViewerToolbar|null}\n */\n renderToolbar() {\n const { ToolbarComponent, isLatestVersion, recordId, version, typeName } = this.props;\n\n if (this.isCompareMode()) {\n return null;\n }\n\n const rollbackMessage = i18n._t(\n 'HistoryViewerVersionDetail.CANNOT_ROLLBACK_SNAPSHOTS',\n 'You can only revert to base versions'\n );\n\n return (\n \n );\n }\n\n /**\n * Renders the version detail view form\n *\n * @returns {Object}\n */\n renderDetails() {\n const {\n compareModeAvailable,\n ListComponent,\n schemaUrl,\n CompareWarningComponent,\n previewState,\n version,\n } = this.props;\n\n // Hide when the preview mode is explicitly enabled\n if (this.isPreviewable() && previewState === 'preview') {\n return null;\n }\n\n const containerClasses = [\n 'flexbox-area-grow',\n 'panel',\n 'panel--scrollable',\n 'panel--padded',\n 'panel--padded-side',\n ];\n const extraListClasses = {\n 'history-viewer__table': true,\n 'history-viewer__table--current': true,\n 'history-viewer__table--compare': this.isCompareMode(),\n };\n const formClasses = {\n 'history-viewer__version-detail': true,\n 'history-viewer__version-detail--compare': this.isCompareMode(),\n };\n\n return (\n
    \n
    \n \n\n
    \n \n
    \n\n
    \n\n {this.renderToolbar()}\n\n \n
    \n );\n }\n\n render() {\n return (\n
    \n {this.renderDetails()}\n {this.renderPreview()}\n
    \n );\n }\n}\n\nHistoryViewerVersionDetail.propTypes = {\n isLatestVersion: PropTypes.bool,\n isPreviewable: PropTypes.bool,\n ListComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n PreviewComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n recordId: PropTypes.number.isRequired,\n typeName: PropTypes.string.isRequired,\n schemaUrl: PropTypes.string.isRequired,\n ToolbarComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n version: versionType,\n compare: PropTypes.oneOfType([\n PropTypes.shape({\n versionFrom: versionType,\n versionTo: versionType,\n }),\n PropTypes.bool,\n ]),\n // @todo replace this with import { VIEW_MODE_STATES } from 'state/viewMode/ViewModeStates'\n // when webpack-config has this export available via silverstripe/admin\n previewState: PropTypes.oneOf(['edit', 'preview', 'split']),\n};\n\nHistoryViewerVersionDetail.defaultProps = {\n isLatestVersion: false,\n isPreviewable: false,\n compare: false,\n};\n\nexport { HistoryViewerVersionDetail as Component };\n\nexport default inject(\n ['SnapshotHistoryViewerVersionList', 'SnapshotHistoryViewerToolbar', 'Preview', 'SnapshotHistoryViewerCompareWarning'],\n (ListComponent, ToolbarComponent, PreviewComponent, CompareWarningComponent) => ({\n ListComponent,\n ToolbarComponent,\n PreviewComponent,\n CompareWarningComponent,\n }),\n ({ version }, context) => `${context}.HistoryViewerVersionDetail.${version.version}`\n)(HistoryViewerVersionDetail);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerVersionDetail.js","import React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport i18n from 'i18n';\nimport { connect } from 'react-redux';\nimport { compose } from 'redux';\nimport { inject } from 'lib/Injector';\nimport { messageType } from 'types/messageType';\nimport { versionType } from 'types/versionType';\nimport { compareType } from 'types/compareType';\n\nclass HistoryViewerVersionList extends PureComponent {\n /**\n * Return a string of HTML class names for the list element\n *\n * @returns {string}\n */\n getClassNames() {\n const { extraClass, showHeader } = this.props;\n\n return classnames(extraClass, {\n table: true,\n 'history-viewer__table--headerless': !showHeader,\n });\n }\n\n /**\n * Compares provided version object to see if it is one of the selected ones in the store.\n * It can be that it is either currentVersion, the versionFrom or the versionTo comparison.\n *\n * We receive either a version object, or `false` as props for current/from/to\n * If and only if we are NOT in compare mode:\n * - compare is `false`\n * - versionFrom and versionTo are `undefined`\n * - currentVersion is relevant (otherwise it can be ignored, even if it is a valid version)\n *\n * @see {state/historyviewer/HistoryViewerReducer} for how compare is set\n *\n * Otherwise we simply check to see if the provided version object's version number\n * is equal to one of the version numbers on the store objects.\n *\n * @param {Object} version\n * @returns {boolean}\n */\n isVersionActive(version) {\n const { currentVersion, compare, compare: { versionFrom, versionTo } } = this.props;\n const isCurrent = currentVersion && currentVersion.id === version.id;\n const isCompareFrom = versionFrom && versionFrom.id === version.id;\n const isCompareTo = versionTo && versionTo.id === version.id;\n\n return (!compare && isCurrent) || isCompareFrom || isCompareTo;\n }\n\n /**\n * Render any messages into the form\n *\n * @returns {DOMElement}\n */\n renderMessages() {\n const { FormAlertComponent, messages } = this.props;\n\n if (!messages.length) {\n return null;\n }\n\n return (\n
    \n {\n messages.map((data) => (\n \n ))\n }\n
    \n );\n }\n\n /**\n * Renders a HeadingComponent at the top of the list, unless it has been disabled.\n * @returns {HistoryViewerHeading|null}\n */\n renderHeader() {\n const { showHeader, HeadingComponent, compareModeAvailable } = this.props;\n\n if (!showHeader) {\n return null;\n }\n\n const headingProps = {\n compareModeAvailable,\n };\n\n return ;\n }\n\n render() {\n const {\n VersionComponent,\n SnapshotComponent,\n versions,\n compareModeAvailable,\n compare\n } = this.props;\n return (\n
    \n
      \n {this.renderHeader()}\n {\n versions.map((version, index) => (\n version.isFullVersion ?\n :\n \n ))\n }\n
    \n
    \n );\n }\n}\n\nHistoryViewerVersionList.propTypes = {\n extraClass: PropTypes.oneOfType([PropTypes.string, PropTypes.array, PropTypes.object]),\n showHeader: PropTypes.bool,\n FormAlertComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n HeadingComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n messages: PropTypes.arrayOf(messageType),\n VersionComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n versions: PropTypes.arrayOf(versionType),\n compare: compareType,\n compareModeAvailable: PropTypes.bool,\n};\n\nHistoryViewerVersionList.defaultProps = {\n compareModeAvailable: true,\n extraClass: 'history-viewer__table',\n messages: [],\n showHeader: true,\n versions: [],\n};\n\nfunction mapStateToProps(state) {\n const { messages, compare, currentVersion } = state.versionedAdmin.historyViewer;\n return {\n messages,\n compare,\n currentVersion,\n };\n}\n\nexport { HistoryViewerVersionList as Component };\n\nexport default compose(\n connect(mapStateToProps),\n inject(\n ['FormAlert', 'SnapshotHistoryViewerHeading', 'SnapshotHistoryViewerVersion', 'SnapshotHistoryViewerSnapshot'],\n (FormAlert, HistoryViewerHeading, HistoryViewerVersion, HistoryViewerSnapshot) => ({\n FormAlertComponent: FormAlert,\n HeadingComponent: HistoryViewerHeading,\n VersionComponent: HistoryViewerVersion,\n SnapshotComponent: HistoryViewerSnapshot,\n }),\n () => 'VersionedAdmin.HistoryViewer.HistoryViewerVersionList'\n )\n)(HistoryViewerVersionList);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerVersionList.js","import React, { Component } from 'react';\nimport classnames from 'classnames';\nimport i18n from 'i18n';\nimport { versionType, defaultVersion } from 'types/versionType';\nimport { inject } from 'lib/Injector';\nimport PropTypes from 'prop-types';\n\nclass HistoryViewerVersionState extends Component {\n /**\n * Get the HTML classes to apply to the state\n *\n * @returns {string}\n */\n getClassNames() {\n const { extraClass } = this.props;\n return classnames('history-viewer__version-state', extraClass);\n }\n\n /**\n * When the record is published, return \"Published\", else return \"Saved\"\n *\n * @returns {string}\n */\n getPublishedState() {\n const { version } = this.props;\n if (version.activityType === 'PUBLISHED') {\n return i18n._t('HistoryViewer.Published', 'Published');\n }\n if (version.activityType === 'UNPUBLISHED') {\n return i18n._t('HistoryViewer.Unpublished', 'Unpublished');\n }\n return i18n._t('HistoryViewer.Saved', 'Saved');\n }\n\n\n /**\n * Return any status badges for the record\n *\n * @returns {ReactElement|string}\n */\n getBadges() {\n const { version, isActive, BadgeComponent } = this.props;\n\n if (version.isLiveSnapshot) {\n return (\n \n );\n }\n\n return '';\n }\n\n render() {\n return (\n \n {this.getPublishedState()} {' '}\n {this.getBadges()}\n \n );\n }\n}\n\nHistoryViewerVersionState.propTypes = {\n version: versionType,\n extraClass: PropTypes.string,\n isActive: PropTypes.bool,\n BadgeComponent: PropTypes.oneOfType([\n PropTypes.node,\n PropTypes.func,\n ]).isRequired\n};\n\nHistoryViewerVersionState.defaultProps = {\n version: defaultVersion,\n extraClass: '',\n isActive: false,\n};\n\nexport { HistoryViewerVersionState as Component };\n\nexport default inject(\n ['Badge'],\n (BadgeComponent) => ({ BadgeComponent }),\n ({ version }) => `HistoryViewer.HistoryViewerVersionState.${version.version}`\n)(HistoryViewerVersionState);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerVersionState.js","import React, { useMemo } from 'react';\nimport { Mutation } from 'react-apollo';\nimport createRollbackMutation from '../../graphql/createRollbackMutation';\n\nconst RollbackMutation = ({ typeName, children }) => {\n const ROLLBACK = useMemo(() => createRollbackMutation(typeName), [typeName]);\n return (\n \n {children}\n \n );\n};\n\nexport default RollbackMutation;\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/RollbackMutation.js","import React, { useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport { Query } from 'react-apollo';\nimport { inject } from 'lib/Injector';\nimport createSnapshotsQuery from '../../graphql/createSnapshotsQuery';\n\nconst SnapshotViewerContainer = ({\n data: {\n typeName,\n recordId,\n limit,\n page,\n recordClass,\n isPreviewable,\n actions = { versions: {} },\n },\n SnapshotViewerComponent,\n}) => {\n const QUERY = useMemo(\n () => createSnapshotsQuery(typeName, isPreviewable),\n [typeName, isPreviewable]\n );\n\n const variables = {\n limit,\n offset: ((page || 1) - 1) * limit,\n page_id: recordId,\n };\n return (\n \n {({ loading, error, data, refetch }) => {\n let readOne = null;\n if (data) {\n readOne = data[`readOne${typeName}`];\n }\n const versions = readOne || {};\n\n const errors = error && error.graphQLErrors &&\n error.graphQLErrors.map((graphQLError) => graphQLError.message);\n\n const props = {\n loading,\n versions,\n graphQLErrors: errors,\n actions: {\n ...actions,\n versions: {\n ...versions,\n // eslint-disable-next-line no-shadow\n goToPage(page) {\n refetch({\n offset: ((page || 1) - 1) * limit,\n limit,\n page_id: recordId,\n });\n }\n },\n },\n recordId,\n recordClass,\n typeName,\n limit,\n page,\n };\n\n return (\n \n );\n }}\n \n );\n};\n\nSnapshotViewerContainer.propTypes = {\n data: PropTypes.shape({\n typeName: PropTypes.string.isRequired,\n recordId: PropTypes.number.isRequired,\n limit: PropTypes.number,\n page: PropTypes.number,\n actions: PropTypes.object,\n }),\n};\n\nexport default inject(\n ['SnapshotViewer'],\n (SnapshotViewerComponent) => ({\n SnapshotViewerComponent,\n }),\n ({ contextKey }) => `VersionedAdmin.HistoryViewer.${contextKey}`\n)(SnapshotViewerContainer);\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/SnapshotViewerContainer.js","import React from 'react';\nimport Config from 'lib/Config';\nimport { inject } from 'lib/Injector';\n\nconst historyViewerConfig = (HistoryViewer) => {\n class HistoryViewerConfigProvider extends React.Component {\n getConfig() {\n const sectionKey = 'SilverStripe\\\\VersionedAdmin\\\\Controllers\\\\HistoryViewerController';\n return Config.getSection(sectionKey);\n }\n\n getSchemaUrlDetails() {\n const { compare } = this.props;\n if (compare) {\n return {\n formName: 'compareForm',\n queryParts: [\n 'RecordVersionFrom=:from',\n 'RecordVersionTo=:to',\n ],\n };\n }\n return {\n formName: 'versionForm',\n queryParts: [\n 'RecordVersion=:version',\n 'RecordDate=:date',\n ],\n };\n }\n\n getSchemaUrl() {\n const config = this.getConfig();\n const { formName, queryParts } = this.getSchemaUrlDetails();\n const schemaUrlBase = `${config.form[formName].schemaUrl}/:id`;\n const schemaUrlQuery = queryParts.concat('RecordClass=:class&RecordID=:id').join('&');\n return `${schemaUrlBase}?${schemaUrlQuery}`;\n }\n\n render() {\n const props = {\n ...this.props,\n config: this.getConfig(),\n HistoryViewer,\n schemaUrl: this.getSchemaUrl(),\n };\n\n return (\n \n );\n }\n }\n\n return inject(['SnapshotHistoryViewer'])(HistoryViewerConfigProvider);\n};\n\nexport default historyViewerConfig;\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/containers/HistoryViewer/HistoryViewerConfig.js","import gql from 'graphql-tag';\n\nconst createRollbakMutation = typeName => gql`\n mutation rollback${typeName}($id:ID!, $toVersion:Int!) {\n rollback${typeName}(\n id: $id\n toVersion: $toVersion\n ) {\n id\n className\n }\n }\n `;\n\nexport default createRollbakMutation;\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/graphql/createRollbackMutation.js","import gql from 'graphql-tag';\n\nconst createSnapshotsQuery = (typeName, isPreviewable) => gql`\n query ReadSnapshots${typeName} ($page_id: ID!, $limit: Int!, $offset: Int!) {\n readOne${typeName}(\n filter: { id: { eq: $page_id } }\n ) {\n ... on ${typeName} {\n id\n ${isPreviewable ? 'absoluteLink' : ''}\n snapshotHistory (limit: $limit, offset: $offset) {\n pageInfo {\n totalCount\n }\n nodes {\n\n id\n lastEdited\n activityDescription\n activityType\n activityAgo\n isFullVersion\n isLiveSnapshot\n baseVersion\n message\n author {\n firstName\n surname\n }\n originVersion {\n version\n ${isPreviewable ? 'absoluteLink' : ''}\n author {\n firstName\n surname\n }\n\n published\n publisher {\n firstName\n surname\n }\n latestDraftVersion\n }\n\n }\n }\n }\n }\n }\n\n `;\n\nexport default createSnapshotsQuery;\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/graphql/createSnapshotsQuery.js","import i18n from 'i18n';\nimport moment from 'moment';\n\n/**\n * Formats the last edited date according to the current locale and return it in the example\n * format \"03/01/2018 2:45 PM\"\n *\n * @returns {string}\n */\nconst getDateFromVersion = version => {\n moment.locale(i18n.detectLocale());\n return moment(version.lastEdited).format('L LT');\n};\n\nexport default getDateFromVersion;\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/helpers/getDateFromVersion.js","/**\n * File: ArchiveAdmin.js\n */\nimport jQuery from 'jquery';\n\njQuery.entwine('ss', ($) => {\n $('.ArchiveAdmin__action--restore').entwine({\n onmatch() {\n $(this).attr('readonly', false);\n $(this).attr('disabled', false);\n }\n });\n\n $('.ArchiveAdmin .other-model-selector select').entwine({\n /**\n * Reacts to the user changing the content type.\n */\n onchange(e) {\n e.preventDefault();\n\n let targetClassName = $(this).val();\n const othersArchiveUrl = $(this).data('others-archive-url');\n if (targetClassName) {\n targetClassName = targetClassName.replace(/\\\\/g, '-');\n const url = othersArchiveUrl + targetClassName;\n\n $('.cms-container').loadPanel(url, '', { pjax: 'CurrentForm' });\n }\n }\n });\n});\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/legacy/ArchiveAdmin/ArchiveAdmin.js","import jQuery from 'jquery';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { loadComponent } from 'lib/Injector';\n\n/**\n * Uses entwine to inject the HistoryViewer React component into the DOM, when used\n * outside of a React context e.g. in the CMS\n */\njQuery.entwine('ss', ($) => {\n $('.js-injector-boot .snapshot-history-viewer__container').entwine({\n onmatch() {\n const cmsContent = this.closest('.cms-content').attr('id');\n const context = (cmsContent)\n ? { context: cmsContent }\n : {};\n const HistoryViewerComponent = loadComponent('SnapshotViewerContainer', context);\n const schemaData = this.data('schema');\n const props = {\n data: schemaData.data,\n // If the HistoryViewerField is instantiated via a GridFieldDetailForm, it will not\n // have this class attached (see CMSPageHistoryViewerController).\n isInGridField: schemaData.data.isInGridField || !this.hasClass('history-viewer--standalone'),\n };\n\n ReactDOM.render(\n ,\n this[0]\n );\n },\n\n onunmatch() {\n ReactDOM.unmountComponentAtNode(this[0]);\n }\n });\n\n // Prevent the default anchor behaviour for any CMS tab links that are rendered in\n // via a React FormBuilder\n $('.history-viewer__version-detail .nav-link').entwine({\n onclick(e) {\n e.preventDefault();\n this._super(e);\n }\n });\n\n // Work arounds for the CMS not rendering entirely in react yet\n // When loading from e.g. GridFieldDetailForm both button sets\n // save/publish _and_ the \"revert\" button were rendered.\n // Enabling this functionality requires a developer to add\n // $tab->addExtraClass('tab--history-viewer')\n // to the tab the HistoryViewerField is rendered into.\n // c.f. dnadesign/silverstripe-elemental BaseElement::getCMSFields\n $('.tab.tab--history-viewer[aria-hidden=false]').entwine({\n onmatch() {\n $('.toolbar--south.cms-content-actions').hide();\n },\n onunmatch() {\n $('.toolbar--south.cms-content-actions').show();\n }\n });\n $('.tab.tab--history-viewer .history-viewer__version-detail').entwine({\n onmatch() {\n this\n .parent()\n .css('padding-bottom', '3rem')\n .next('.toolbar--south')\n .css({\n position: 'absolute',\n bottom: 0,\n left: 0,\n right: 0\n });\n }\n });\n});\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/legacy/HistoryViewer/HistoryViewerEntwine.js","// Action type constants, of the form\n// HISTORY_VIEWER.SET_CURRENT_VERSION === 'HISTORY_VIEWER.SET_CURRENT_VERSION'\n\nexport default [\n 'SHOW_VERSION',\n 'SHOW_DATE',\n 'SHOW_LIST',\n 'SET_CURRENT_PAGE',\n 'ADD_MESSAGE',\n 'CLEAR_MESSAGES',\n 'SET_COMPARE_MODE',\n 'SET_COMPARE_FROM',\n 'SET_COMPARE_TO',\n].reduce((obj, item) => Object.assign(obj, { [item]: `HISTORY_VIEWER.${item}` }), {});\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/state/historyviewer/HistoryViewerActionTypes.js","import HISTORY_VIEWER from './HistoryViewerActionTypes';\nimport uuidv1 from 'uuid/v1';\n\n/**\n * Show the provided version in the viewer, i.e. a detail or comparison view\n * Fetching specifically by version is a little more deterministic and performant compared to\n * fetching by date (below)\n *\n * @param {Object} version\n * @returns {Object}\n */\nexport function showVersion(version) {\n return {\n type: HISTORY_VIEWER.SHOW_VERSION,\n payload: { version },\n };\n}\n\n/**\n * Show the provided version in the viewer, i.e. a detail or comparison view\n *\n * @param {Object} version\n * @returns {Object}\n */\nexport function showDate(version) {\n return {\n type: HISTORY_VIEWER.SHOW_DATE,\n payload: { version },\n };\n}\n\n/**\n * Return to list view\n * @returns {Object}\n */\nexport function showList() {\n return {\n type: HISTORY_VIEWER.SHOW_LIST,\n };\n}\n\n/**\n * Set the current pagination page number for the list of history viewer versions\n *\n * @param {int} page\n * @returns {Object}\n */\nexport function setCurrentPage(page) {\n return {\n type: HISTORY_VIEWER.SET_CURRENT_PAGE,\n payload: { page },\n };\n}\n\n/**\n * Add a new status message, for example \"Successfully reverted to version 123\"\n *\n * @param {string} message\n * @param {string} type\n * @returns {Object}\n */\nexport function addMessage(message, type = 'success') {\n return {\n type: HISTORY_VIEWER.ADD_MESSAGE,\n payload: { id: uuidv1(), message, type },\n };\n}\n\n/**\n * Clear all status messages\n *\n * @returns {Object}\n */\nexport function clearMessages() {\n return {\n type: HISTORY_VIEWER.CLEAR_MESSAGES,\n };\n}\n\n/**\n * Enables or disables the comparison mode\n *\n * @param {boolean} enabled\n * @returns {Object}\n */\nexport function setCompareMode(enabled) {\n return {\n type: HISTORY_VIEWER.SET_COMPARE_MODE,\n payload: { enabled },\n };\n}\n\n/**\n * Sets the comparison mode 'from' a version\n *\n * @param {Object} version\n * @returns {Object}\n */\nexport function setCompareFrom(version) {\n return {\n type: HISTORY_VIEWER.SET_COMPARE_FROM,\n payload: { version },\n };\n}\n\n/**\n * Sets the comparison mode 'to' a version\n *\n * @param {Object} version\n * @returns {Object}\n */\nexport function setCompareTo(version) {\n return {\n type: HISTORY_VIEWER.SET_COMPARE_TO,\n payload: { version },\n };\n}\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/state/historyviewer/HistoryViewerActions.js","import HISTORY_VIEWER from './HistoryViewerActionTypes';\nimport { defaultCompare } from 'types/compareType';\nimport { VERSION_MODE_VERSION, VERSION_MODE_DATE } from 'components/HistoryViewer/HistoryViewer';\n\nconst initialState = {\n currentPage: 1,\n previewMode: false, // False for not displayed by default\n currentVersion: false,\n compare: defaultCompare,\n loading: false,\n messages: [],\n};\n\n/**\n * Reducer for the `versionedAdmin.historyViewer` state key.\n *\n * @param {object} state\n * @param {string} type - Name of the dispatched action.\n * @param {object} payload - Optional data passed with the action.\n */\nexport default function historyViewerReducer(state = initialState, { type, payload } = {}) {\n switch (type) {\n case HISTORY_VIEWER.SET_CURRENT_PAGE: {\n return {\n ...state,\n currentPage: payload.page,\n };\n }\n\n case HISTORY_VIEWER.SHOW_VERSION: {\n const { version } = payload;\n return {\n ...state,\n previewMode: version && VERSION_MODE_VERSION,\n currentVersion: version,\n };\n }\n\n case HISTORY_VIEWER.SHOW_DATE: {\n const { version } = payload;\n return {\n ...state,\n previewMode: version && VERSION_MODE_DATE,\n currentVersion: version,\n };\n }\n\n case HISTORY_VIEWER.SHOW_LIST: {\n return {\n ...state,\n currentVersion: false,\n currentDate: false,\n previewMode: false,\n currentPage: 0,\n };\n }\n\n case HISTORY_VIEWER.ADD_MESSAGE: {\n return {\n ...state,\n messages: [\n payload,\n ...state.messages,\n ],\n };\n }\n\n case HISTORY_VIEWER.CLEAR_MESSAGES: {\n return {\n ...state,\n messages: [],\n };\n }\n\n case HISTORY_VIEWER.SET_COMPARE_MODE: {\n const initialCompare = {\n versionFrom: false,\n versionTo: false,\n ...state.compare\n };\n\n return {\n ...state,\n compare: payload.enabled ? initialCompare : false,\n previewMode: payload.enabled ? state.previewMode : false,\n };\n }\n\n case HISTORY_VIEWER.SET_COMPARE_FROM: {\n let { compare: { versionFrom, versionTo } } = state;\n versionFrom = payload.version || false;\n\n if (!versionFrom) {\n versionFrom = versionTo;\n versionTo = false;\n }\n\n return {\n ...state,\n currentVersion: versionFrom,\n compare: { versionFrom, versionTo },\n };\n }\n\n case HISTORY_VIEWER.SET_COMPARE_TO: {\n let { compare: { versionFrom, versionTo } } = state;\n versionTo = payload.version || false;\n\n // A normal `diff` always shows what it takes turn FROM into TO\n // Here, comparisons are always FROM oldest TO newest version\n // Version IDs (versionObject.version) are always positive & in creation order.\n if (versionTo && versionFrom && versionTo.version < versionFrom.version) {\n versionFrom = versionTo;\n versionTo = state.compare.versionFrom;\n }\n\n return {\n ...state,\n currentVersion: versionFrom,\n compare: { versionFrom, versionTo },\n };\n }\n\n default:\n return state;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/state/historyviewer/HistoryViewerReducer.js","import PropTypes from 'prop-types';\nimport { versionType } from './versionType';\n\n// Describes the data structure for compare version storage\nconst compareType = PropTypes.oneOfType([PropTypes.bool, PropTypes.shape({\n versionFrom: versionType,\n versionTo: versionType,\n})]);\n\n// A default (empty) data set for a version\nconst defaultCompare = false;\n\nexport { compareType, defaultCompare };\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/types/compareType.js","import PropTypes from 'prop-types';\n\n// Describes the structure of a message that can be shared between components via Redux\nconst messageType = PropTypes.shape({\n id: PropTypes.string,\n message: PropTypes.string,\n type: PropTypes.oneOf(['error', 'info', 'success', 'warning']),\n});\n\nexport { messageType };\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/types/messageType.js","import PropTypes from 'prop-types';\n\n// Describes the expected data structure for a member attached to a version\nconst memberShape = PropTypes.shape({\n firstName: PropTypes.string,\n surname: PropTypes.string,\n});\n\n// Describes the data structure for a Version, returned via GraphQL scaffolding\nconst versionType = PropTypes.shape({\n version: PropTypes.number,\n absoluteLink: PropTypes.string,\n lastEdited: PropTypes.string,\n published: PropTypes.boolean,\n liveVersion: PropTypes.boolean,\n latestDraftVersion: PropTypes.boolean,\n message: PropTypes.string,\n publisher: memberShape,\n author: memberShape,\n});\n\n// A default (empty) data set for a version\nconst defaultVersion = {\n version: 0,\n absoluteLink: '',\n lastEdited: '',\n published: false,\n liveVersion: false,\n latestDraftVersion: false,\n message: '',\n publisher: {\n firstName: '',\n surname: '',\n },\n author: {\n firstName: '',\n surname: '',\n },\n};\n\nexport { versionType, defaultVersion };\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/types/versionType.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar emptyObject = require('fbjs/lib/emptyObject');\nvar _invariant = require('fbjs/lib/invariant');\n\nif (process.env.NODE_ENV !== 'production') {\n var warning = require('fbjs/lib/warning');\n}\n\nvar MIXINS_KEY = 'mixins';\n\n// Helper function to allow the creation of anonymous functions which do not\n// have .name set to the name of the variable being assigned to.\nfunction identity(fn) {\n return fn;\n}\n\nvar ReactPropTypeLocationNames;\nif (process.env.NODE_ENV !== 'production') {\n ReactPropTypeLocationNames = {\n prop: 'prop',\n context: 'context',\n childContext: 'child context'\n };\n} else {\n ReactPropTypeLocationNames = {};\n}\n\nfunction factory(ReactComponent, isValidElement, ReactNoopUpdateQueue) {\n /**\n * Policies that describe methods in `ReactClassInterface`.\n */\n\n var injectedMixins = [];\n\n /**\n * Composite components are higher-level components that compose other composite\n * or host components.\n *\n * To create a new type of `ReactClass`, pass a specification of\n * your new class to `React.createClass`. The only requirement of your class\n * specification is that you implement a `render` method.\n *\n * var MyComponent = React.createClass({\n * render: function() {\n * return
    Hello World
    ;\n * }\n * });\n *\n * The class specification supports a specific protocol of methods that have\n * special meaning (e.g. `render`). See `ReactClassInterface` for\n * more the comprehensive protocol. Any other properties and methods in the\n * class specification will be available on the prototype.\n *\n * @interface ReactClassInterface\n * @internal\n */\n var ReactClassInterface = {\n /**\n * An array of Mixin objects to include when defining your component.\n *\n * @type {array}\n * @optional\n */\n mixins: 'DEFINE_MANY',\n\n /**\n * An object containing properties and methods that should be defined on\n * the component's constructor instead of its prototype (static methods).\n *\n * @type {object}\n * @optional\n */\n statics: 'DEFINE_MANY',\n\n /**\n * Definition of prop types for this component.\n *\n * @type {object}\n * @optional\n */\n propTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types for this component.\n *\n * @type {object}\n * @optional\n */\n contextTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types this component sets for its children.\n *\n * @type {object}\n * @optional\n */\n childContextTypes: 'DEFINE_MANY',\n\n // ==== Definition methods ====\n\n /**\n * Invoked when the component is mounted. Values in the mapping will be set on\n * `this.props` if that prop is not specified (i.e. using an `in` check).\n *\n * This method is invoked before `getInitialState` and therefore cannot rely\n * on `this.state` or use `this.setState`.\n *\n * @return {object}\n * @optional\n */\n getDefaultProps: 'DEFINE_MANY_MERGED',\n\n /**\n * Invoked once before the component is mounted. The return value will be used\n * as the initial value of `this.state`.\n *\n * getInitialState: function() {\n * return {\n * isOn: false,\n * fooBaz: new BazFoo()\n * }\n * }\n *\n * @return {object}\n * @optional\n */\n getInitialState: 'DEFINE_MANY_MERGED',\n\n /**\n * @return {object}\n * @optional\n */\n getChildContext: 'DEFINE_MANY_MERGED',\n\n /**\n * Uses props from `this.props` and state from `this.state` to render the\n * structure of the component.\n *\n * No guarantees are made about when or how often this method is invoked, so\n * it must not have side effects.\n *\n * render: function() {\n * var name = this.props.name;\n * return
    Hello, {name}!
    ;\n * }\n *\n * @return {ReactComponent}\n * @required\n */\n render: 'DEFINE_ONCE',\n\n // ==== Delegate methods ====\n\n /**\n * Invoked when the component is initially created and about to be mounted.\n * This may have side effects, but any external subscriptions or data created\n * by this method must be cleaned up in `componentWillUnmount`.\n *\n * @optional\n */\n componentWillMount: 'DEFINE_MANY',\n\n /**\n * Invoked when the component has been mounted and has a DOM representation.\n * However, there is no guarantee that the DOM node is in the document.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been mounted (initialized and rendered) for the first time.\n *\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidMount: 'DEFINE_MANY',\n\n /**\n * Invoked before the component receives new props.\n *\n * Use this as an opportunity to react to a prop transition by updating the\n * state using `this.setState`. Current props are accessed via `this.props`.\n *\n * componentWillReceiveProps: function(nextProps, nextContext) {\n * this.setState({\n * likesIncreasing: nextProps.likeCount > this.props.likeCount\n * });\n * }\n *\n * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop\n * transition may cause a state change, but the opposite is not true. If you\n * need it, you are probably looking for `componentWillUpdate`.\n *\n * @param {object} nextProps\n * @optional\n */\n componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Invoked while deciding if the component should be updated as a result of\n * receiving new props, state and/or context.\n *\n * Use this as an opportunity to `return false` when you're certain that the\n * transition to the new props/state/context will not require a component\n * update.\n *\n * shouldComponentUpdate: function(nextProps, nextState, nextContext) {\n * return !equal(nextProps, this.props) ||\n * !equal(nextState, this.state) ||\n * !equal(nextContext, this.context);\n * }\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @return {boolean} True if the component should update.\n * @optional\n */\n shouldComponentUpdate: 'DEFINE_ONCE',\n\n /**\n * Invoked when the component is about to update due to a transition from\n * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState`\n * and `nextContext`.\n *\n * Use this as an opportunity to perform preparation before an update occurs.\n *\n * NOTE: You **cannot** use `this.setState()` in this method.\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @param {ReactReconcileTransaction} transaction\n * @optional\n */\n componentWillUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component's DOM representation has been updated.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been updated.\n *\n * @param {object} prevProps\n * @param {?object} prevState\n * @param {?object} prevContext\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component is about to be removed from its parent and have\n * its DOM representation destroyed.\n *\n * Use this as an opportunity to deallocate any external resources.\n *\n * NOTE: There is no `componentDidUnmount` since your component will have been\n * destroyed by that point.\n *\n * @optional\n */\n componentWillUnmount: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillMount`.\n *\n * @optional\n */\n UNSAFE_componentWillMount: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillReceiveProps`.\n *\n * @optional\n */\n UNSAFE_componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillUpdate`.\n *\n * @optional\n */\n UNSAFE_componentWillUpdate: 'DEFINE_MANY',\n\n // ==== Advanced methods ====\n\n /**\n * Updates the component's currently mounted DOM representation.\n *\n * By default, this implements React's rendering and reconciliation algorithm.\n * Sophisticated clients may wish to override this.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n * @overridable\n */\n updateComponent: 'OVERRIDE_BASE'\n };\n\n /**\n * Similar to ReactClassInterface but for static methods.\n */\n var ReactClassStaticInterface = {\n /**\n * This method is invoked after a component is instantiated and when it\n * receives new props. Return an object to update state in response to\n * prop changes. Return null to indicate no change to state.\n *\n * If an object is returned, its keys will be merged into the existing state.\n *\n * @return {object || null}\n * @optional\n */\n getDerivedStateFromProps: 'DEFINE_MANY_MERGED'\n };\n\n /**\n * Mapping from class specification keys to special processing functions.\n *\n * Although these are declared like instance properties in the specification\n * when defining classes using `React.createClass`, they are actually static\n * and are accessible on the constructor instead of the prototype. Despite\n * being static, they must be defined outside of the \"statics\" key under\n * which all other static methods are defined.\n */\n var RESERVED_SPEC_KEYS = {\n displayName: function(Constructor, displayName) {\n Constructor.displayName = displayName;\n },\n mixins: function(Constructor, mixins) {\n if (mixins) {\n for (var i = 0; i < mixins.length; i++) {\n mixSpecIntoComponent(Constructor, mixins[i]);\n }\n }\n },\n childContextTypes: function(Constructor, childContextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, childContextTypes, 'childContext');\n }\n Constructor.childContextTypes = _assign(\n {},\n Constructor.childContextTypes,\n childContextTypes\n );\n },\n contextTypes: function(Constructor, contextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, contextTypes, 'context');\n }\n Constructor.contextTypes = _assign(\n {},\n Constructor.contextTypes,\n contextTypes\n );\n },\n /**\n * Special case getDefaultProps which should move into statics but requires\n * automatic merging.\n */\n getDefaultProps: function(Constructor, getDefaultProps) {\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps = createMergedResultFunction(\n Constructor.getDefaultProps,\n getDefaultProps\n );\n } else {\n Constructor.getDefaultProps = getDefaultProps;\n }\n },\n propTypes: function(Constructor, propTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, propTypes, 'prop');\n }\n Constructor.propTypes = _assign({}, Constructor.propTypes, propTypes);\n },\n statics: function(Constructor, statics) {\n mixStaticSpecIntoComponent(Constructor, statics);\n },\n autobind: function() {}\n };\n\n function validateTypeDef(Constructor, typeDef, location) {\n for (var propName in typeDef) {\n if (typeDef.hasOwnProperty(propName)) {\n // use a warning instead of an _invariant so components\n // don't show up in prod but only in __DEV__\n if (process.env.NODE_ENV !== 'production') {\n warning(\n typeof typeDef[propName] === 'function',\n '%s: %s type `%s` is invalid; it must be a function, usually from ' +\n 'React.PropTypes.',\n Constructor.displayName || 'ReactClass',\n ReactPropTypeLocationNames[location],\n propName\n );\n }\n }\n }\n }\n\n function validateMethodOverride(isAlreadyDefined, name) {\n var specPolicy = ReactClassInterface.hasOwnProperty(name)\n ? ReactClassInterface[name]\n : null;\n\n // Disallow overriding of base class methods unless explicitly allowed.\n if (ReactClassMixin.hasOwnProperty(name)) {\n _invariant(\n specPolicy === 'OVERRIDE_BASE',\n 'ReactClassInterface: You are attempting to override ' +\n '`%s` from your class specification. Ensure that your method names ' +\n 'do not overlap with React methods.',\n name\n );\n }\n\n // Disallow defining methods more than once unless explicitly allowed.\n if (isAlreadyDefined) {\n _invariant(\n specPolicy === 'DEFINE_MANY' || specPolicy === 'DEFINE_MANY_MERGED',\n 'ReactClassInterface: You are attempting to define ' +\n '`%s` on your component more than once. This conflict may be due ' +\n 'to a mixin.',\n name\n );\n }\n }\n\n /**\n * Mixin helper which handles policy validation and reserved\n * specification keys when building React classes.\n */\n function mixSpecIntoComponent(Constructor, spec) {\n if (!spec) {\n if (process.env.NODE_ENV !== 'production') {\n var typeofSpec = typeof spec;\n var isMixinValid = typeofSpec === 'object' && spec !== null;\n\n if (process.env.NODE_ENV !== 'production') {\n warning(\n isMixinValid,\n \"%s: You're attempting to include a mixin that is either null \" +\n 'or not an object. Check the mixins included by the component, ' +\n 'as well as any mixins they include themselves. ' +\n 'Expected object but got %s.',\n Constructor.displayName || 'ReactClass',\n spec === null ? null : typeofSpec\n );\n }\n }\n\n return;\n }\n\n _invariant(\n typeof spec !== 'function',\n \"ReactClass: You're attempting to \" +\n 'use a component class or function as a mixin. Instead, just use a ' +\n 'regular object.'\n );\n _invariant(\n !isValidElement(spec),\n \"ReactClass: You're attempting to \" +\n 'use a component as a mixin. Instead, just use a regular object.'\n );\n\n var proto = Constructor.prototype;\n var autoBindPairs = proto.__reactAutoBindPairs;\n\n // By handling mixins before any other properties, we ensure the same\n // chaining order is applied to methods with DEFINE_MANY policy, whether\n // mixins are listed before or after these methods in the spec.\n if (spec.hasOwnProperty(MIXINS_KEY)) {\n RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins);\n }\n\n for (var name in spec) {\n if (!spec.hasOwnProperty(name)) {\n continue;\n }\n\n if (name === MIXINS_KEY) {\n // We have already handled mixins in a special case above.\n continue;\n }\n\n var property = spec[name];\n var isAlreadyDefined = proto.hasOwnProperty(name);\n validateMethodOverride(isAlreadyDefined, name);\n\n if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {\n RESERVED_SPEC_KEYS[name](Constructor, property);\n } else {\n // Setup methods on prototype:\n // The following member methods should not be automatically bound:\n // 1. Expected ReactClass methods (in the \"interface\").\n // 2. Overridden methods (that were mixed in).\n var isReactClassMethod = ReactClassInterface.hasOwnProperty(name);\n var isFunction = typeof property === 'function';\n var shouldAutoBind =\n isFunction &&\n !isReactClassMethod &&\n !isAlreadyDefined &&\n spec.autobind !== false;\n\n if (shouldAutoBind) {\n autoBindPairs.push(name, property);\n proto[name] = property;\n } else {\n if (isAlreadyDefined) {\n var specPolicy = ReactClassInterface[name];\n\n // These cases should already be caught by validateMethodOverride.\n _invariant(\n isReactClassMethod &&\n (specPolicy === 'DEFINE_MANY_MERGED' ||\n specPolicy === 'DEFINE_MANY'),\n 'ReactClass: Unexpected spec policy %s for key %s ' +\n 'when mixing in component specs.',\n specPolicy,\n name\n );\n\n // For methods which are defined more than once, call the existing\n // methods before calling the new property, merging if appropriate.\n if (specPolicy === 'DEFINE_MANY_MERGED') {\n proto[name] = createMergedResultFunction(proto[name], property);\n } else if (specPolicy === 'DEFINE_MANY') {\n proto[name] = createChainedFunction(proto[name], property);\n }\n } else {\n proto[name] = property;\n if (process.env.NODE_ENV !== 'production') {\n // Add verbose displayName to the function, which helps when looking\n // at profiling tools.\n if (typeof property === 'function' && spec.displayName) {\n proto[name].displayName = spec.displayName + '_' + name;\n }\n }\n }\n }\n }\n }\n }\n\n function mixStaticSpecIntoComponent(Constructor, statics) {\n if (!statics) {\n return;\n }\n\n for (var name in statics) {\n var property = statics[name];\n if (!statics.hasOwnProperty(name)) {\n continue;\n }\n\n var isReserved = name in RESERVED_SPEC_KEYS;\n _invariant(\n !isReserved,\n 'ReactClass: You are attempting to define a reserved ' +\n 'property, `%s`, that shouldn\\'t be on the \"statics\" key. Define it ' +\n 'as an instance property instead; it will still be accessible on the ' +\n 'constructor.',\n name\n );\n\n var isAlreadyDefined = name in Constructor;\n if (isAlreadyDefined) {\n var specPolicy = ReactClassStaticInterface.hasOwnProperty(name)\n ? ReactClassStaticInterface[name]\n : null;\n\n _invariant(\n specPolicy === 'DEFINE_MANY_MERGED',\n 'ReactClass: You are attempting to define ' +\n '`%s` on your component more than once. This conflict may be ' +\n 'due to a mixin.',\n name\n );\n\n Constructor[name] = createMergedResultFunction(Constructor[name], property);\n\n return;\n }\n\n Constructor[name] = property;\n }\n }\n\n /**\n * Merge two objects, but throw if both contain the same key.\n *\n * @param {object} one The first object, which is mutated.\n * @param {object} two The second object\n * @return {object} one after it has been mutated to contain everything in two.\n */\n function mergeIntoWithNoDuplicateKeys(one, two) {\n _invariant(\n one && two && typeof one === 'object' && typeof two === 'object',\n 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.'\n );\n\n for (var key in two) {\n if (two.hasOwnProperty(key)) {\n _invariant(\n one[key] === undefined,\n 'mergeIntoWithNoDuplicateKeys(): ' +\n 'Tried to merge two objects with the same key: `%s`. This conflict ' +\n 'may be due to a mixin; in particular, this may be caused by two ' +\n 'getInitialState() or getDefaultProps() methods returning objects ' +\n 'with clashing keys.',\n key\n );\n one[key] = two[key];\n }\n }\n return one;\n }\n\n /**\n * Creates a function that invokes two functions and merges their return values.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\n function createMergedResultFunction(one, two) {\n return function mergedResult() {\n var a = one.apply(this, arguments);\n var b = two.apply(this, arguments);\n if (a == null) {\n return b;\n } else if (b == null) {\n return a;\n }\n var c = {};\n mergeIntoWithNoDuplicateKeys(c, a);\n mergeIntoWithNoDuplicateKeys(c, b);\n return c;\n };\n }\n\n /**\n * Creates a function that invokes two functions and ignores their return vales.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\n function createChainedFunction(one, two) {\n return function chainedFunction() {\n one.apply(this, arguments);\n two.apply(this, arguments);\n };\n }\n\n /**\n * Binds a method to the component.\n *\n * @param {object} component Component whose method is going to be bound.\n * @param {function} method Method to be bound.\n * @return {function} The bound method.\n */\n function bindAutoBindMethod(component, method) {\n var boundMethod = method.bind(component);\n if (process.env.NODE_ENV !== 'production') {\n boundMethod.__reactBoundContext = component;\n boundMethod.__reactBoundMethod = method;\n boundMethod.__reactBoundArguments = null;\n var componentName = component.constructor.displayName;\n var _bind = boundMethod.bind;\n boundMethod.bind = function(newThis) {\n for (\n var _len = arguments.length,\n args = Array(_len > 1 ? _len - 1 : 0),\n _key = 1;\n _key < _len;\n _key++\n ) {\n args[_key - 1] = arguments[_key];\n }\n\n // User is trying to bind() an autobound method; we effectively will\n // ignore the value of \"this\" that the user is trying to use, so\n // let's warn.\n if (newThis !== component && newThis !== null) {\n if (process.env.NODE_ENV !== 'production') {\n warning(\n false,\n 'bind(): React component methods may only be bound to the ' +\n 'component instance. See %s',\n componentName\n );\n }\n } else if (!args.length) {\n if (process.env.NODE_ENV !== 'production') {\n warning(\n false,\n 'bind(): You are binding a component method to the component. ' +\n 'React does this for you automatically in a high-performance ' +\n 'way, so you can safely remove this call. See %s',\n componentName\n );\n }\n return boundMethod;\n }\n var reboundMethod = _bind.apply(boundMethod, arguments);\n reboundMethod.__reactBoundContext = component;\n reboundMethod.__reactBoundMethod = method;\n reboundMethod.__reactBoundArguments = args;\n return reboundMethod;\n };\n }\n return boundMethod;\n }\n\n /**\n * Binds all auto-bound methods in a component.\n *\n * @param {object} component Component whose method is going to be bound.\n */\n function bindAutoBindMethods(component) {\n var pairs = component.__reactAutoBindPairs;\n for (var i = 0; i < pairs.length; i += 2) {\n var autoBindKey = pairs[i];\n var method = pairs[i + 1];\n component[autoBindKey] = bindAutoBindMethod(component, method);\n }\n }\n\n var IsMountedPreMixin = {\n componentDidMount: function() {\n this.__isMounted = true;\n }\n };\n\n var IsMountedPostMixin = {\n componentWillUnmount: function() {\n this.__isMounted = false;\n }\n };\n\n /**\n * Add more to the ReactClass base class. These are all legacy features and\n * therefore not already part of the modern ReactComponent.\n */\n var ReactClassMixin = {\n /**\n * TODO: This will be deprecated because state should always keep a consistent\n * type signature and the only use case for this, is to avoid that.\n */\n replaceState: function(newState, callback) {\n this.updater.enqueueReplaceState(this, newState, callback);\n },\n\n /**\n * Checks whether or not this composite component is mounted.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function() {\n if (process.env.NODE_ENV !== 'production') {\n warning(\n this.__didWarnIsMounted,\n '%s: isMounted is deprecated. Instead, make sure to clean up ' +\n 'subscriptions and pending requests in componentWillUnmount to ' +\n 'prevent memory leaks.',\n (this.constructor && this.constructor.displayName) ||\n this.name ||\n 'Component'\n );\n this.__didWarnIsMounted = true;\n }\n return !!this.__isMounted;\n }\n };\n\n var ReactClassComponent = function() {};\n _assign(\n ReactClassComponent.prototype,\n ReactComponent.prototype,\n ReactClassMixin\n );\n\n /**\n * Creates a composite component class given a class specification.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createclass\n *\n * @param {object} spec Class specification (which must define `render`).\n * @return {function} Component constructor function.\n * @public\n */\n function createClass(spec) {\n // To keep our warnings more understandable, we'll use a little hack here to\n // ensure that Constructor.name !== 'Constructor'. This makes sure we don't\n // unnecessarily identify a class without displayName as 'Constructor'.\n var Constructor = identity(function(props, context, updater) {\n // This constructor gets overridden by mocks. The argument is used\n // by mocks to assert on what gets mounted.\n\n if (process.env.NODE_ENV !== 'production') {\n warning(\n this instanceof Constructor,\n 'Something is calling a React component directly. Use a factory or ' +\n 'JSX instead. See: https://fb.me/react-legacyfactory'\n );\n }\n\n // Wire up auto-binding\n if (this.__reactAutoBindPairs.length) {\n bindAutoBindMethods(this);\n }\n\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n\n this.state = null;\n\n // ReactClasses doesn't have constructors. Instead, they use the\n // getInitialState and componentWillMount methods for initialization.\n\n var initialState = this.getInitialState ? this.getInitialState() : null;\n if (process.env.NODE_ENV !== 'production') {\n // We allow auto-mocks to proceed as if they're returning null.\n if (\n initialState === undefined &&\n this.getInitialState._isMockFunction\n ) {\n // This is probably bad practice. Consider warning here and\n // deprecating this convenience.\n initialState = null;\n }\n }\n _invariant(\n typeof initialState === 'object' && !Array.isArray(initialState),\n '%s.getInitialState(): must return an object or null',\n Constructor.displayName || 'ReactCompositeComponent'\n );\n\n this.state = initialState;\n });\n Constructor.prototype = new ReactClassComponent();\n Constructor.prototype.constructor = Constructor;\n Constructor.prototype.__reactAutoBindPairs = [];\n\n injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor));\n\n mixSpecIntoComponent(Constructor, IsMountedPreMixin);\n mixSpecIntoComponent(Constructor, spec);\n mixSpecIntoComponent(Constructor, IsMountedPostMixin);\n\n // Initialize the defaultProps property after all mixins have been merged.\n if (Constructor.getDefaultProps) {\n Constructor.defaultProps = Constructor.getDefaultProps();\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // This is a tag to indicate that the use of these method names is ok,\n // since it's used with createClass. If it's not, then it's likely a\n // mistake so we'll warn you to use the static property, property\n // initializer or constructor respectively.\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps.isReactClassApproved = {};\n }\n if (Constructor.prototype.getInitialState) {\n Constructor.prototype.getInitialState.isReactClassApproved = {};\n }\n }\n\n _invariant(\n Constructor.prototype.render,\n 'createClass(...): Class specification must implement a `render` method.'\n );\n\n if (process.env.NODE_ENV !== 'production') {\n warning(\n !Constructor.prototype.componentShouldUpdate,\n '%s has a method called ' +\n 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' +\n 'The name is phrased as a question because the function is ' +\n 'expected to return a value.',\n spec.displayName || 'A component'\n );\n warning(\n !Constructor.prototype.componentWillRecieveProps,\n '%s has a method called ' +\n 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?',\n spec.displayName || 'A component'\n );\n warning(\n !Constructor.prototype.UNSAFE_componentWillRecieveProps,\n '%s has a method called UNSAFE_componentWillRecieveProps(). ' +\n 'Did you mean UNSAFE_componentWillReceiveProps()?',\n spec.displayName || 'A component'\n );\n }\n\n // Reduce time spent doing lookups by setting these on the prototype.\n for (var methodName in ReactClassInterface) {\n if (!Constructor.prototype[methodName]) {\n Constructor.prototype[methodName] = null;\n }\n }\n\n return Constructor;\n }\n\n return createClass;\n}\n\nmodule.exports = factory;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/create-react-class/factory.js\n// module id = ./node_modules/create-react-class/factory.js\n// module chunks = 0","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar React = require('react');\nvar factory = require('./factory');\n\nif (typeof React === 'undefined') {\n throw Error(\n 'create-react-class could not find the React object. If you are using script tags, ' +\n 'make sure that React is being loaded before create-react-class.'\n );\n}\n\n// Hack to grab NoopUpdateQueue from isomorphic React\nvar ReactNoopUpdateQueue = new React.Component().updater;\n\nmodule.exports = factory(\n React.Component,\n React.isValidElement,\n ReactNoopUpdateQueue\n);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/create-react-class/index.js\n// module id = ./node_modules/create-react-class/index.js\n// module chunks = 0","module.exports = global[\"SnapshotsViewer\"] = require(\"-!/Users/aaroncarlino/Sites/callaghan/vendor/silverstripe/versioned-snapshot-admin/node_modules/babel-loader/lib/index.js??ref--0!./HistoryViewer.js\");\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/expose-loader?SnapshotsViewer!./client/src/components/HistoryViewer/HistoryViewer.js-exposed\n// module id = ./node_modules/expose-loader/index.js?SnapshotsViewer!./client/src/components/HistoryViewer/HistoryViewer.js-exposed\n// module chunks = 0","module.exports = global[\"versionType\"] = require(\"-!/Users/aaroncarlino/Sites/callaghan/vendor/silverstripe/versioned-snapshot-admin/node_modules/babel-loader/lib/index.js??ref--0!./versionType.js\");\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/expose-loader?versionType!./client/src/types/versionType.js-exposed\n// module id = ./node_modules/expose-loader/index.js?versionType!./client/src/types/versionType.js-exposed\n// module chunks = 0","\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\nfunction makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n}\n\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\nvar emptyFunction = function emptyFunction() {};\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\nemptyFunction.thatReturnsThis = function () {\n return this;\n};\nemptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n};\n\nmodule.exports = emptyFunction;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/emptyFunction.js\n// module id = ./node_modules/fbjs/lib/emptyFunction.js\n// module chunks = 0","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar emptyObject = {};\n\nif (process.env.NODE_ENV !== 'production') {\n Object.freeze(emptyObject);\n}\n\nmodule.exports = emptyObject;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/emptyObject.js\n// module id = ./node_modules/fbjs/lib/emptyObject.js\n// module chunks = 0","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar validateFormat = function validateFormat(format) {};\n\nif (process.env.NODE_ENV !== 'production') {\n validateFormat = function validateFormat(format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n}\n\nfunction invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n}\n\nmodule.exports = invariant;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/invariant.js\n// module id = ./node_modules/fbjs/lib/invariant.js\n// module chunks = 0","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar emptyFunction = require('./emptyFunction');\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar warning = emptyFunction;\n\nif (process.env.NODE_ENV !== 'production') {\n var printWarning = function printWarning(format) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n\n warning = function warning(condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (format.indexOf('Failed Composite propType: ') === 0) {\n return; // Ignore CompositeComponent proptype check.\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(undefined, [format].concat(args));\n }\n };\n}\n\nmodule.exports = warning;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/warning.js\n// module id = ./node_modules/fbjs/lib/warning.js\n// module chunks = 0","'use strict';\n\nvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\nvar map = require('lodash/map');\nvar filter = require('lodash/filter');\nvar find = require('lodash/find');\nvar sortBy = require('lodash/sortBy');\nvar difference = require('lodash/difference');\n\nvar ColumnProperties = (function () {\n function ColumnProperties() {\n var allColumns = arguments.length <= 0 || arguments[0] === undefined ? [] : arguments[0];\n var filteredColumns = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1];\n var childrenColumnName = arguments.length <= 2 || arguments[2] === undefined ? \"children\" : arguments[2];\n var columnMetadata = arguments.length <= 3 || arguments[3] === undefined ? [] : arguments[3];\n var metadataColumns = arguments.length <= 4 || arguments[4] === undefined ? [] : arguments[4];\n\n _classCallCheck(this, ColumnProperties);\n\n this.allColumns = allColumns;\n this.filteredColumns = filteredColumns;\n this.childrenColumnName = childrenColumnName;\n this.columnMetadata = columnMetadata;\n this.metadataColumns = metadataColumns;\n }\n\n _createClass(ColumnProperties, [{\n key: 'getMetadataColumns',\n value: function getMetadataColumns() {\n var meta = map(filter(this.columnMetadata, { visible: false }), function (item) {\n return item.columnName;\n });\n if (meta.indexOf(this.childrenColumnName) < 0) {\n meta.push(this.childrenColumnName);\n }\n return meta.concat(this.metadataColumns);\n }\n }, {\n key: 'getVisibleColumnCount',\n value: function getVisibleColumnCount() {\n return this.getColumns().length;\n }\n }, {\n key: 'getColumnMetadataByName',\n value: function getColumnMetadataByName(name) {\n return find(this.columnMetadata, { columnName: name });\n }\n }, {\n key: 'hasColumnMetadata',\n value: function hasColumnMetadata() {\n return this.columnMetadata !== null && this.columnMetadata.length > 0;\n }\n }, {\n key: 'getMetadataColumnProperty',\n value: function getMetadataColumnProperty(columnName, propertyName, defaultValue) {\n var meta = this.getColumnMetadataByName(columnName);\n\n //send back the default value if meta isn't there\n if (typeof meta === \"undefined\" || meta === null) return defaultValue;\n\n return meta.hasOwnProperty(propertyName) ? meta[propertyName] : defaultValue;\n }\n }, {\n key: 'orderColumns',\n value: function orderColumns(cols) {\n var _this = this;\n\n var ORDER_MAX = 100;\n\n var orderedColumns = sortBy(cols, function (item) {\n var metaItem = find(_this.columnMetadata, { columnName: item });\n\n if (typeof metaItem === 'undefined' || metaItem === null || isNaN(metaItem.order)) {\n return ORDER_MAX;\n }\n\n return metaItem.order;\n });\n\n return orderedColumns;\n }\n }, {\n key: 'getColumns',\n value: function getColumns() {\n //if we didn't set default or filter\n var filteredColumns = this.filteredColumns.length === 0 ? this.allColumns : this.filteredColumns;\n\n filteredColumns = difference(filteredColumns, this.metadataColumns);\n\n filteredColumns = this.orderColumns(filteredColumns);\n\n return filteredColumns;\n }\n }]);\n\n return ColumnProperties;\n})();\n\nmodule.exports = ColumnProperties;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/columnProperties.js\n// module id = ./node_modules/griddle-react/modules/columnProperties.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\n\nvar CustomFilterContainer = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"placeholderText\": \"\"\n };\n },\n render: function render() {\n var that = this;\n\n if (typeof that.props.customFilterComponent !== 'function') {\n console.log(\"Couldn't find valid template.\");\n return React.createElement('div', null);\n }\n\n return React.createElement(that.props.customFilterComponent, {\n changeFilter: this.props.changeFilter,\n results: this.props.results,\n currentResults: this.props.currentResults,\n placeholderText: this.props.placeholderText });\n }\n});\n\nmodule.exports = CustomFilterContainer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/customFilterContainer.jsx.js\n// module id = ./node_modules/griddle-react/modules/customFilterContainer.jsx.js\n// module chunks = 0","/*\r\n Griddle - Simple Grid Component for React\r\n https://github.com/DynamicTyped/Griddle\r\n Copyright (c) 2014 Ryan Lanciaux | DynamicTyped\r\n\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }return target;\n};\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\n\nvar CustomPaginationContainer = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"maxPage\": 0,\n \"nextText\": \"\",\n \"previousText\": \"\",\n \"currentPage\": 0,\n \"customPagerComponent\": {},\n \"customPagerComponentOptions\": {}\n };\n },\n render: function render() {\n var that = this;\n\n if (typeof that.props.customPagerComponent !== 'function') {\n console.log(\"Couldn't find valid template.\");\n return React.createElement('div', null);\n }\n\n return React.createElement(that.props.customPagerComponent, _extends({}, this.props.customPagerComponentOptions, { maxPage: this.props.maxPage, nextText: this.props.nextText, previousText: this.props.previousText, currentPage: this.props.currentPage, setPage: this.props.setPage, previous: this.props.previous, next: this.props.next }));\n }\n});\n\nmodule.exports = CustomPaginationContainer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/customPaginationContainer.jsx.js\n// module id = ./node_modules/griddle-react/modules/customPaginationContainer.jsx.js\n// module chunks = 0","/*\r\n Griddle - Simple Grid Component for React\r\n https://github.com/DynamicTyped/Griddle\r\n Copyright (c) 2014 Ryan Lanciaux | DynamicTyped\r\n\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\n\nvar CustomRowComponentContainer = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"data\": [],\n \"metadataColumns\": [],\n \"className\": \"\",\n \"customComponent\": {},\n \"globalData\": {}\n };\n },\n render: function render() {\n var that = this;\n\n if (typeof that.props.customComponent !== 'function') {\n console.log(\"Couldn't find valid template.\");\n return React.createElement('div', { className: this.props.className });\n }\n\n var nodes = this.props.data.map(function (row, index) {\n return React.createElement(that.props.customComponent, { data: row, metadataColumns: that.props.metadataColumns, key: index, globalData: that.props.globalData });\n });\n\n var footer = this.props.showPager && this.props.pagingContent;\n return React.createElement('div', { className: this.props.className, style: this.props.style }, nodes);\n }\n});\n\nmodule.exports = CustomRowComponentContainer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/customRowComponentContainer.jsx.js\n// module id = ./node_modules/griddle-react/modules/customRowComponentContainer.jsx.js\n// module chunks = 0","'use strict';\n\nvar forEach = require('lodash/forEach');\nvar isObject = require('lodash/isObject');\nvar isArray = require('lodash/isArray');\nvar isFunction = require('lodash/isFunction');\nvar isPlainObject = require('lodash/isPlainObject');\nvar forOwn = require('lodash/forOwn');\n\n// Credits: https://github.com/documentcloud/underscore-contrib\n// Sub module: underscore.object.selectors\n// License: MIT (https://github.com/documentcloud/underscore-contrib/blob/master/LICENSE)\n// https://github.com/documentcloud/underscore-contrib/blob/master/underscore.object.selectors.js\n\n// Will take a path like 'element[0][1].subElement[\"Hey!.What?\"][\"[hey]\"]'\n// and return [\"element\", \"0\", \"1\", \"subElement\", \"Hey!.What?\", \"[hey]\"]\nfunction keysFromPath(path) {\n // from http://codereview.stackexchange.com/a/63010/8176\n /**\r\n * Repeatedly capture either:\r\n * - a bracketed expression, discarding optional matching quotes inside, or\r\n * - an unbracketed expression, delimited by a dot or a bracket.\r\n */\n var re = /\\[(\"|')(.+)\\1\\]|([^.\\[\\]]+)/g;\n\n var elements = [];\n var result;\n while ((result = re.exec(path)) !== null) {\n elements.push(result[2] || result[3]);\n }\n return elements;\n}\n\n// Gets the value at any depth in a nested object based on the\n// path described by the keys given. Keys may be given as an array\n// or as a dot-separated string.\nfunction getPath(obj, ks) {\n if (typeof ks == \"string\") {\n if (obj[ks] !== undefined) {\n return obj[ks];\n }\n ks = keysFromPath(ks);\n }\n\n var i = -1,\n length = ks.length;\n\n // If the obj is null or undefined we have to break as\n // a TypeError will result trying to access any property\n // Otherwise keep incrementally access the next property in\n // ks until complete\n while (++i < length && obj != null) {\n obj = obj[ks[i]];\n }\n return i === length ? obj : void 0;\n}\n\n// Based on the origin underscore _.pick function\n// Credit: https://github.com/jashkenas/underscore/blob/master/underscore.js\nfunction powerPick(object, keys) {\n var result = {},\n obj = object,\n iteratee;\n iteratee = function (key, obj) {\n return key in obj;\n };\n\n obj = Object(obj);\n\n for (var i = 0, length = keys.length; i < length; i++) {\n var key = keys[i];\n if (iteratee(key, obj)) result[key] = getPath(obj, key);\n }\n\n return result;\n}\n\n// Gets all the keys for a flattened object structure.\n// Doesn't flatten arrays.\n// Input:\n// {\n// a: {\n// x: 1,\n// y: 2\n// },\n// b: [3, 4],\n// c: 5\n// }\n// Output:\n// [\n// \"a.x\",\n// \"a.y\",\n// \"b\",\n// \"c\"\n// ]\nfunction getKeys(obj, prefix) {\n var keys = [];\n\n forEach(obj, function (value, key) {\n var fullKey = prefix ? prefix + \".\" + key : key;\n if (isObject(value) && !isArray(value) && !isFunction(value) && !(value instanceof Date)) {\n keys = keys.concat(getKeys(value, fullKey));\n } else {\n keys.push(fullKey);\n }\n });\n\n return keys;\n}\n\n// Recursivly traverse plain objects and arrays calling `fn` on each\n// non-object/non-array leaf node.\nfunction iterObject(thing, fn) {\n if (isArray(thing)) {\n forEach(thing, function (item) {\n iterObject(item, fn);\n });\n } else if (isPlainObject(thing)) {\n forOwn(thing, function (item) {\n iterObject(item, fn);\n });\n } else {\n fn(thing);\n }\n}\n\n// Recursivly traverse plain objects and arrays and build a list of all\n// non-object/non-array leaf nodes.\n//\n// Input:\n// { \"array\": [1, \"two\", {\"tree\": 3}], \"string\": \"a string\" }\n//\n// Output:\n// [1, 'two', 3, 'a string']\n//\nfunction getObjectValues(thing) {\n var results = [];\n iterObject(thing, function (value) {\n results.push(value);\n });\n return results;\n}\n\nmodule.exports = {\n pick: powerPick,\n getAt: getPath,\n keys: getKeys,\n getObjectValues: getObjectValues\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/deep.js\n// module id = ./node_modules/griddle-react/modules/deep.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\n\nvar GridFilter = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"placeholderText\": \"\"\n };\n },\n handleChange: function handleChange(event) {\n this.props.changeFilter(event.target.value);\n },\n render: function render() {\n return React.createElement('div', { className: 'filter-container' }, React.createElement('input', { type: 'text', name: 'filter', placeholder: this.props.placeholderText, className: 'form-control', onChange: this.handleChange }));\n }\n});\n\nmodule.exports = GridFilter;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridFilter.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridFilter.jsx.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\n\nvar GridNoData = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"noDataMessage\": \"No Data\"\n };\n },\n render: function render() {\n var that = this;\n\n return React.createElement('div', null, this.props.noDataMessage);\n }\n});\n\nmodule.exports = GridNoData;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridNoData.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridNoData.jsx.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\nvar assign = require('lodash/assign');\n\n//needs props maxPage, currentPage, nextFunction, prevFunction\nvar GridPagination = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"maxPage\": 0,\n \"nextText\": \"\",\n \"previousText\": \"\",\n \"currentPage\": 0,\n \"useGriddleStyles\": true,\n \"nextClassName\": \"griddle-next\",\n \"previousClassName\": \"griddle-previous\",\n \"nextIconComponent\": null,\n \"previousIconComponent\": null\n };\n },\n pageChange: function pageChange(event) {\n this.props.setPage(parseInt(event.target.value, 10) - 1);\n },\n render: function render() {\n var previous = \"\";\n var next = \"\";\n\n if (this.props.currentPage > 0) {\n previous = React.createElement('button', { type: 'button', onClick: this.props.previous, style: this.props.useGriddleStyles ? { \"color\": \"#222\", border: \"none\", background: \"none\", margin: \"0 0 0 10px\" } : null }, this.props.previousIconComponent, this.props.previousText);\n }\n\n if (this.props.currentPage !== this.props.maxPage - 1) {\n next = React.createElement('button', { type: 'button', onClick: this.props.next, style: this.props.useGriddleStyles ? { \"color\": \"#222\", border: \"none\", background: \"none\", margin: \"0 10px 0 0\" } : null }, this.props.nextText, this.props.nextIconComponent);\n }\n\n var leftStyle = null;\n var middleStyle = null;\n var rightStyle = null;\n\n if (this.props.useGriddleStyles === true) {\n var baseStyle = {\n \"float\": \"left\",\n minHeight: \"1px\",\n marginTop: \"5px\"\n };\n\n rightStyle = assign({ textAlign: \"right\", width: \"34%\" }, baseStyle);\n middleStyle = assign({ textAlign: \"center\", width: \"33%\" }, baseStyle);\n leftStyle = assign({ width: \"33%\" }, baseStyle);\n }\n\n var options = [];\n\n for (var i = 1; i <= this.props.maxPage; i++) {\n options.push(React.createElement('option', { value: i, key: i }, i));\n }\n\n return React.createElement('div', { style: this.props.useGriddleStyles ? { minHeight: \"35px\" } : null }, React.createElement('div', { className: this.props.previousClassName, style: leftStyle }, previous), React.createElement('div', { className: 'griddle-page', style: middleStyle }, React.createElement('select', { value: this.props.currentPage + 1, onChange: this.pageChange }, options), ' / ', this.props.maxPage), React.createElement('div', { className: this.props.nextClassName, style: rightStyle }, next));\n }\n});\n\nmodule.exports = GridPagination;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridPagination.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridPagination.jsx.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\nvar ColumnProperties = require('./columnProperties.js');\nvar deep = require('./deep.js');\nvar isFunction = require('lodash/isFunction');\nvar zipObject = require('lodash/zipObject');\nvar assign = require('lodash/assign');\nvar defaults = require('lodash/defaults');\nvar toPairs = require('lodash/toPairs');\nvar without = require('lodash/without');\n\nvar GridRow = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"isChildRow\": false,\n \"showChildren\": false,\n \"data\": {},\n \"columnSettings\": null,\n \"rowSettings\": null,\n \"hasChildren\": false,\n \"useGriddleStyles\": true,\n \"useGriddleIcons\": true,\n \"isSubGriddle\": false,\n \"paddingHeight\": null,\n \"rowHeight\": null,\n \"parentRowCollapsedClassName\": \"parent-row\",\n \"parentRowExpandedClassName\": \"parent-row expanded\",\n \"parentRowCollapsedComponent\": \"â–¶\",\n \"parentRowExpandedComponent\": \"â–¼\",\n \"onRowClick\": null,\n \"multipleSelectionSettings\": null,\n \"onRowMouseEnter\": null,\n \"onRowMouseLeave\": null,\n \"onRowWillMount\": null,\n \"onRowWillUnmount\": null\n };\n },\n componentWillMount: function componentWillMount() {\n if (this.props.onRowWillMount !== null && isFunction(this.props.onRowWillMount)) {\n this.props.onRowWillMount(this);\n }\n },\n componentWillUnmount: function componentWillUnmount() {\n if (this.props.onRowWillUnmount !== null && isFunction(this.props.onRowWillUnmount)) {\n this.props.onRowWillUnmount(this);\n }\n },\n handleClick: function handleClick(e) {\n if (this.props.onRowClick !== null && isFunction(this.props.onRowClick)) {\n this.props.onRowClick(this, e);\n } else if (this.props.hasChildren) {\n this.props.toggleChildren();\n }\n },\n handleMouseEnter: function handleMouseEnter(e) {\n if (this.props.onRowMouseEnter !== null && isFunction(this.props.onRowMouseEnter)) {\n this.props.onRowMouseEnter(this, e);\n }\n },\n handleMouseLeave: function handleMouseLeave(e) {\n if (this.props.onRowMouseLeave !== null && isFunction(this.props.onRowMouseLeave)) {\n this.props.onRowMouseLeave(this, e);\n }\n },\n handleSelectionChange: function handleSelectionChange(e) {\n //hack to get around warning that's not super useful in this case\n return;\n },\n handleSelectClick: function handleSelectClick(e) {\n if (this.props.multipleSelectionSettings.isMultipleSelection) {\n if (e.target.type === \"checkbox\") {\n this.props.multipleSelectionSettings.toggleSelectRow(this.props.data, this.refs.selected.checked);\n } else {\n this.props.multipleSelectionSettings.toggleSelectRow(this.props.data, !this.refs.selected.checked);\n }\n }\n },\n verifyProps: function verifyProps() {\n if (this.props.columnSettings === null) {\n console.error(\"gridRow: The columnSettings prop is null and it shouldn't be\");\n }\n },\n formatData: function formatData(data) {\n if (typeof data === 'boolean') {\n return String(data);\n }\n return data;\n },\n render: function render() {\n var _this = this;\n\n this.verifyProps();\n var that = this;\n var columnStyles = null;\n\n if (this.props.useGriddleStyles) {\n columnStyles = {\n margin: \"0px\",\n padding: that.props.paddingHeight + \"px 5px \" + that.props.paddingHeight + \"px 5px\",\n height: that.props.rowHeight ? this.props.rowHeight - that.props.paddingHeight * 2 + \"px\" : null,\n backgroundColor: \"#FFF\",\n borderTopColor: \"#DDD\",\n color: \"#222\"\n };\n }\n\n var columns = this.props.columnSettings.getColumns();\n\n // make sure that all the columns we need have default empty values\n // otherwise they will get clipped\n var defaultValues = zipObject(columns, []);\n\n // creates a 'view' on top the data so we will not alter the original data but will allow us to add default values to missing columns\n var dataView = assign({}, this.props.data);\n\n defaults(dataView, defaultValues);\n var data = toPairs(deep.pick(dataView, without(columns, 'children')));\n var nodes = data.map(function (col, index) {\n var returnValue = null;\n var meta = _this.props.columnSettings.getColumnMetadataByName(col[0]);\n\n //todo: Make this not as ridiculous looking\n var firstColAppend = index === 0 && _this.props.hasChildren && _this.props.showChildren === false && _this.props.useGriddleIcons ? React.createElement('span', { style: _this.props.useGriddleStyles ? { fontSize: \"10px\", marginRight: \"5px\" } : null }, _this.props.parentRowCollapsedComponent) : index === 0 && _this.props.hasChildren && _this.props.showChildren && _this.props.useGriddleIcons ? React.createElement('span', { style: _this.props.useGriddleStyles ? { fontSize: \"10px\" } : null }, _this.props.parentRowExpandedComponent) : \"\";\n\n if (index === 0 && _this.props.isChildRow && _this.props.useGriddleStyles) {\n columnStyles = assign(columnStyles, { paddingLeft: 10 });\n }\n\n if (_this.props.columnSettings.hasColumnMetadata() && typeof meta !== 'undefined' && meta !== null) {\n if (typeof meta.customComponent !== 'undefined' && meta.customComponent !== null) {\n var customComponent = React.createElement(meta.customComponent, { data: col[1], rowData: dataView, metadata: meta });\n returnValue = React.createElement('td', { onClick: _this.handleClick, onMouseEnter: _this.handleMouseEnter, onMouseLeave: _this.handleMouseLeave, className: meta.cssClassName, key: index, style: columnStyles }, customComponent);\n } else {\n returnValue = React.createElement('td', { onClick: _this.handleClick, onMouseEnter: _this.handleMouseEnter, onMouseLeave: _this.handleMouseLeave, className: meta.cssClassName, key: index, style: columnStyles }, firstColAppend, _this.formatData(col[1]));\n }\n }\n\n return returnValue || React.createElement('td', { onClick: _this.handleClick, onMouseEnter: _this.handleMouseEnter, onMouseLeave: _this.handleMouseLeave, key: index, style: columnStyles }, firstColAppend, col[1]);\n });\n\n // Don't compete with onRowClick, but if no onRowClick function then\n // clicking on the row should trigger select\n var trOnClick, tdOnClick;\n if (this.props.onRowClick !== null && isFunction(this.props.onRowClick)) {\n trOnClick = null;\n tdOnClick = this.handleSelectClick;\n } else {\n if (this.props.multipleSelectionSettings && this.props.multipleSelectionSettings.isMultipleSelection) {\n trOnClick = this.handleSelectClick;\n tdOnClick = null;\n } else {\n trOnClick = null;\n tdOnClick = null;\n }\n }\n\n if (nodes && this.props.multipleSelectionSettings && this.props.multipleSelectionSettings.isMultipleSelection) {\n var selectedRowIds = this.props.multipleSelectionSettings.getSelectedRowIds();\n\n nodes.unshift(React.createElement('td', {\n key: 'selection',\n style: columnStyles,\n className: 'griddle-select griddle-select-cell',\n onClick: tdOnClick\n }, React.createElement('input', {\n type: 'checkbox',\n checked: this.props.multipleSelectionSettings.getIsRowChecked(dataView),\n onChange: this.handleSelectionChange,\n ref: 'selected'\n })));\n }\n\n //Get the row from the row settings.\n var className = that.props.rowSettings && that.props.rowSettings.getBodyRowMetadataClass(that.props.data) || \"standard-row\";\n\n if (that.props.isChildRow) {\n className = \"child-row\";\n } else if (that.props.hasChildren) {\n className = that.props.showChildren ? this.props.parentRowExpandedClassName : this.props.parentRowCollapsedClassName;\n }\n\n return React.createElement('tr', { onClick: trOnClick, className: className }, nodes);\n }\n});\n\nmodule.exports = GridRow;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridRow.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridRow.jsx.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\nvar ColumnProperties = require('./columnProperties.js');\nvar pick = require('lodash/pick');\n\nvar GridRowContainer = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"useGriddleStyles\": true,\n \"useGriddleIcons\": true,\n \"isSubGriddle\": false,\n \"columnSettings\": null,\n \"rowSettings\": null,\n \"paddingHeight\": null,\n \"rowHeight\": null,\n \"parentRowCollapsedClassName\": \"parent-row\",\n \"parentRowExpandedClassName\": \"parent-row expanded\",\n \"parentRowCollapsedComponent\": \"â–¶\",\n \"parentRowExpandedComponent\": \"â–¼\",\n \"onRowClick\": null,\n \"onRowMouseEnter\": null,\n \"onRowMouseLeave\": null,\n \"onRowWillMount\": null,\n \"onRowWillUnmount\": null,\n \"multipleSelectionSettings\": null\n };\n },\n getInitialState: function getInitialState() {\n return {\n \"data\": {},\n \"showChildren\": false\n };\n },\n componentWillReceiveProps: function componentWillReceiveProps() {\n this.setShowChildren(false);\n },\n toggleChildren: function toggleChildren() {\n this.setShowChildren(this.state.showChildren === false);\n },\n setShowChildren: function setShowChildren(visible) {\n this.setState({\n showChildren: visible\n });\n },\n verifyProps: function verifyProps() {\n if (this.props.columnSettings === null) {\n console.error(\"gridRowContainer: The columnSettings prop is null and it shouldn't be\");\n }\n },\n render: function render() {\n this.verifyProps();\n var that = this;\n if (typeof this.props.data === \"undefined\") {\n return React.createElement('tbody', null);\n }\n var arr = [];\n\n var columns = this.props.columnSettings.getColumns();\n\n arr.push(React.createElement(this.props.rowSettings.rowComponent, {\n useGriddleStyles: this.props.useGriddleStyles,\n isSubGriddle: this.props.isSubGriddle,\n data: this.props.rowSettings.isCustom ? pick(this.props.data, columns) : this.props.data,\n rowData: this.props.rowSettings.isCustom ? this.props.data : null,\n columnSettings: this.props.columnSettings,\n rowSettings: this.props.rowSettings,\n hasChildren: that.props.hasChildren,\n toggleChildren: that.toggleChildren,\n showChildren: that.state.showChildren,\n key: that.props.uniqueId + '_base_row',\n useGriddleIcons: that.props.useGriddleIcons,\n parentRowExpandedClassName: this.props.parentRowExpandedClassName,\n parentRowCollapsedClassName: this.props.parentRowCollapsedClassName,\n parentRowExpandedComponent: this.props.parentRowExpandedComponent,\n parentRowCollapsedComponent: this.props.parentRowCollapsedComponent,\n paddingHeight: that.props.paddingHeight,\n rowHeight: that.props.rowHeight,\n onRowClick: that.props.onRowClick,\n onRowMouseEnter: that.props.onRowMouseEnter,\n onRowMouseLeave: that.props.onRowMouseLeave,\n multipleSelectionSettings: this.props.multipleSelectionSettings,\n onRowWillMount: that.props.onRowWillMount,\n onRowWillUnmount: that.props.onRowWillUnmount }));\n\n var children = null;\n\n if (that.state.showChildren) {\n children = that.props.hasChildren && this.props.data[\"children\"].map(function (row, index) {\n var key = that.props.rowSettings.getRowKey(row, index);\n\n if (typeof row[\"children\"] !== \"undefined\") {\n var Griddle = that.constructor.Griddle;\n return React.createElement('tr', { key: key, style: { paddingLeft: 5 } }, React.createElement('td', { colSpan: that.props.columnSettings.getVisibleColumnCount(), className: 'griddle-parent', style: that.props.useGriddleStyles ? { border: \"none\", \"padding\": \"0 0 0 5px\" } : null }, React.createElement(Griddle, {\n rowMetadata: { key: 'id' },\n isSubGriddle: true,\n results: [row],\n columns: that.props.columnSettings.getColumns(),\n tableClassName: that.props.tableClassName,\n parentRowExpandedClassName: that.props.parentRowExpandedClassName,\n parentRowCollapsedClassName: that.props.parentRowCollapsedClassName,\n showTableHeading: false,\n showPager: false,\n columnMetadata: that.props.columnSettings.columnMetadata,\n parentRowExpandedComponent: that.props.parentRowExpandedComponent,\n parentRowCollapsedComponent: that.props.parentRowCollapsedComponent,\n paddingHeight: that.props.paddingHeight,\n rowHeight: that.props.rowHeight\n })));\n }\n\n return React.createElement(that.props.rowSettings.rowComponent, {\n useGriddleStyles: that.props.useGriddleStyles,\n isSubGriddle: that.props.isSubGriddle,\n data: row,\n columnSettings: that.props.columnSettings,\n isChildRow: true,\n columnMetadata: that.props.columnSettings.columnMetadata,\n key: key\n });\n });\n }\n\n return that.props.hasChildren === false ? arr[0] : React.createElement('tbody', null, that.state.showChildren ? arr.concat(children) : arr);\n }\n});\n\nmodule.exports = GridRowContainer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridRowContainer.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridRowContainer.jsx.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\nvar includes = require('lodash/includes');\nvar without = require('lodash/without');\nvar find = require('lodash/find');\n\nvar GridSettings = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"columns\": [],\n \"columnMetadata\": [],\n \"selectedColumns\": [],\n \"settingsText\": \"\",\n \"maxRowsText\": \"\",\n \"resultsPerPage\": 0,\n \"enableToggleCustom\": false,\n \"useCustomComponent\": false,\n \"useGriddleStyles\": true,\n \"toggleCustomComponent\": function toggleCustomComponent() {}\n };\n },\n setPageSize: function setPageSize(event) {\n var value = parseInt(event.target.value, 10);\n this.props.setPageSize(value);\n },\n handleChange: function handleChange(event) {\n var columnName = event.target.dataset ? event.target.dataset.name : event.target.getAttribute('data-name');\n if (event.target.checked === true && includes(this.props.selectedColumns, columnName) === false) {\n this.props.selectedColumns.push(columnName);\n this.props.setColumns(this.props.selectedColumns);\n } else {\n /* redraw with the selected columns minus the one just unchecked */\n this.props.setColumns(without(this.props.selectedColumns, columnName));\n }\n },\n render: function render() {\n var that = this;\n\n var nodes = [];\n //don't show column selector if we're on a custom component\n if (that.props.useCustomComponent === false) {\n nodes = this.props.columns.map(function (col, index) {\n var checked = includes(that.props.selectedColumns, col);\n //check column metadata -- if this one is locked make it disabled and don't put an onChange event\n var meta = find(that.props.columnMetadata, { columnName: col });\n var displayName = col;\n\n if (typeof meta !== \"undefined\" && typeof meta.displayName !== \"undefined\" && meta.displayName != null) {\n displayName = meta.displayName;\n }\n\n if (typeof meta !== \"undefined\" && meta != null && meta.locked) {\n return React.createElement('div', { className: 'column checkbox' }, React.createElement('label', null, React.createElement('input', { type: 'checkbox', disabled: true, name: 'check', checked: checked, 'data-name': col }), displayName));\n } else if (typeof meta !== \"undefined\" && meta != null && typeof meta.visible !== \"undefined\" && meta.visible === false) {\n return null;\n }\n return React.createElement('div', { className: 'griddle-column-selection checkbox', key: col, style: that.props.useGriddleStyles ? { \"float\": \"left\", width: \"20%\" } : null }, React.createElement('label', null, React.createElement('input', { type: 'checkbox', name: 'check', onChange: that.handleChange, checked: checked, 'data-name': col }), displayName));\n });\n }\n\n var toggleCustom = that.props.enableToggleCustom ? React.createElement('div', { className: 'form-group' }, React.createElement('label', { htmlFor: 'maxRows' }, React.createElement('input', { type: 'checkbox', checked: this.props.useCustomComponent, onChange: this.props.toggleCustomComponent }), ' ', this.props.enableCustomFormatText)) : \"\";\n\n var setPageSize = this.props.showSetPageSize ? React.createElement('div', null, React.createElement('label', { htmlFor: 'maxRows' }, this.props.maxRowsText, ':', React.createElement('select', { onChange: this.setPageSize, value: this.props.resultsPerPage }, React.createElement('option', { value: '5' }, '5'), React.createElement('option', { value: '10' }, '10'), React.createElement('option', { value: '25' }, '25'), React.createElement('option', { value: '50' }, '50'), React.createElement('option', { value: '100' }, '100')))) : \"\";\n\n return React.createElement('div', { className: 'griddle-settings', style: this.props.useGriddleStyles ? { backgroundColor: \"#FFF\", border: \"1px solid #DDD\", color: \"#222\", padding: \"10px\", marginBottom: \"10px\" } : null }, React.createElement('h6', null, this.props.settingsText), React.createElement('div', { className: 'griddle-columns', style: this.props.useGriddleStyles ? { clear: \"both\", display: \"table\", width: \"100%\", borderBottom: \"1px solid #EDEDED\", marginBottom: \"10px\" } : null }, nodes), setPageSize, toggleCustom);\n }\n});\n\nmodule.exports = GridSettings;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridSettings.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridSettings.jsx.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\nvar GridTitle = require('./gridTitle.jsx');\nvar GridRowContainer = require('./gridRowContainer.jsx');\nvar ColumnProperties = require('./columnProperties.js');\nvar RowProperties = require('./rowProperties.js');\n\nvar GridTable = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"data\": [],\n \"columnSettings\": null,\n \"rowSettings\": null,\n \"sortSettings\": null,\n \"multipleSelectionSettings\": null,\n \"className\": \"\",\n \"enableInfiniteScroll\": false,\n \"nextPage\": null,\n \"hasMorePages\": false,\n \"useFixedHeader\": false,\n \"useFixedLayout\": true,\n \"paddingHeight\": null,\n \"rowHeight\": null,\n \"filterByColumn\": null,\n \"infiniteScrollLoadTreshold\": null,\n \"bodyHeight\": null,\n \"useGriddleStyles\": true,\n \"useGriddleIcons\": true,\n \"isSubGriddle\": false,\n \"parentRowCollapsedClassName\": \"parent-row\",\n \"parentRowExpandedClassName\": \"parent-row expanded\",\n \"parentRowCollapsedComponent\": \"â–¶\",\n \"parentRowExpandedComponent\": \"â–¼\",\n \"externalLoadingComponent\": null,\n \"externalIsLoading\": false,\n \"onRowClick\": null,\n \"onRowMouseEnter\": null,\n \"onRowMouseLeave\": null,\n \"onRowWillMount\": null,\n \"onRowWillUnmount\": null\n };\n },\n getInitialState: function getInitialState() {\n return {\n scrollTop: 0,\n scrollHeight: this.props.bodyHeight,\n clientHeight: this.props.bodyHeight\n };\n },\n componentDidMount: function componentDidMount() {\n // After the initial render, see if we need to load additional pages.\n this.gridScroll();\n },\n componentDidUpdate: function componentDidUpdate(prevProps, prevState) {\n // After the subsequent renders, see if we need to load additional pages.\n this.gridScroll();\n },\n gridScroll: function gridScroll() {\n if (this.props.enableInfiniteScroll && !this.props.externalIsLoading) {\n // If the scroll height is greater than the current amount of rows displayed, update the page.\n var scrollable = this.refs.scrollable;\n var scrollTop = scrollable.scrollTop;\n var scrollHeight = scrollable.scrollHeight;\n var clientHeight = scrollable.clientHeight;\n\n // If the scroll position changed and the difference is greater than a row height\n if (this.props.rowHeight !== null && this.state.scrollTop !== scrollTop && Math.abs(this.state.scrollTop - scrollTop) >= this.getAdjustedRowHeight()) {\n var newState = {\n scrollTop: scrollTop,\n scrollHeight: scrollHeight,\n clientHeight: clientHeight\n };\n\n // Set the state to the new state\n this.setState(newState);\n }\n\n // Determine the diff by subtracting the amount scrolled by the total height, taking into consideratoin\n // the spacer's height.\n var scrollHeightDiff = scrollHeight - (scrollTop + clientHeight) - this.props.infiniteScrollLoadTreshold;\n\n // Make sure that we load results a little before reaching the bottom.\n var compareHeight = scrollHeightDiff * 0.6;\n\n if (compareHeight <= this.props.infiniteScrollLoadTreshold) {\n this.props.nextPage();\n }\n }\n },\n verifyProps: function verifyProps() {\n if (this.props.columnSettings === null) {\n console.error(\"gridTable: The columnSettings prop is null and it shouldn't be\");\n }\n if (this.props.rowSettings === null) {\n console.error(\"gridTable: The rowSettings prop is null and it shouldn't be\");\n }\n },\n getAdjustedRowHeight: function getAdjustedRowHeight() {\n return this.props.rowHeight + this.props.paddingHeight * 2; // account for padding.\n },\n getNodeContent: function getNodeContent() {\n this.verifyProps();\n var that = this;\n\n //figure out if we need to wrap the group in one tbody or many\n var anyHasChildren = false;\n\n // If the data is still being loaded, don't build the nodes unless this is an infinite scroll table.\n if (!this.props.externalIsLoading || this.props.enableInfiniteScroll) {\n var nodeData = that.props.data;\n var aboveSpacerRow = null;\n var belowSpacerRow = null;\n var usingDefault = false;\n\n // If we have a row height specified, only render what's going to be visible.\n if (this.props.enableInfiniteScroll && this.props.rowHeight !== null && this.refs.scrollable !== undefined) {\n var adjustedHeight = that.getAdjustedRowHeight();\n var visibleRecordCount = Math.ceil(that.state.clientHeight / adjustedHeight);\n\n // Inspired by : http://jsfiddle.net/vjeux/KbWJ2/9/\n var displayStart = Math.max(0, Math.floor(that.state.scrollTop / adjustedHeight) - visibleRecordCount * 0.25);\n var displayEnd = Math.min(displayStart + visibleRecordCount * 1.25, this.props.data.length - 1);\n\n // Split the amount of nodes.\n nodeData = nodeData.slice(displayStart, displayEnd + 1);\n\n // Set the above and below nodes.\n var aboveSpacerRowStyle = { height: displayStart * adjustedHeight + \"px\" };\n aboveSpacerRow = React.createElement('tr', { key: 'above-' + aboveSpacerRowStyle.height, style: aboveSpacerRowStyle });\n var belowSpacerRowStyle = { height: (this.props.data.length - displayEnd) * adjustedHeight + \"px\" };\n belowSpacerRow = React.createElement('tr', { key: 'below-' + belowSpacerRowStyle.height, style: belowSpacerRowStyle });\n }\n\n var nodes = nodeData.map(function (row, index) {\n var hasChildren = typeof row[\"children\"] !== \"undefined\" && row[\"children\"].length > 0;\n var uniqueId = that.props.rowSettings.getRowKey(row, index);\n\n //at least one item in the group has children.\n if (hasChildren) {\n anyHasChildren = hasChildren;\n }\n\n return React.createElement(GridRowContainer, {\n useGriddleStyles: that.props.useGriddleStyles,\n isSubGriddle: that.props.isSubGriddle,\n parentRowExpandedClassName: that.props.parentRowExpandedClassName,\n parentRowCollapsedClassName: that.props.parentRowCollapsedClassName,\n parentRowExpandedComponent: that.props.parentRowExpandedComponent,\n parentRowCollapsedComponent: that.props.parentRowCollapsedComponent,\n data: row,\n key: uniqueId + '-container',\n uniqueId: uniqueId,\n columnSettings: that.props.columnSettings,\n rowSettings: that.props.rowSettings,\n paddingHeight: that.props.paddingHeight,\n multipleSelectionSettings: that.props.multipleSelectionSettings,\n rowHeight: that.props.rowHeight,\n hasChildren: hasChildren,\n tableClassName: that.props.className,\n onRowClick: that.props.onRowClick,\n onRowMouseEnter: that.props.onRowMouseEnter,\n onRowMouseLeave: that.props.onRowMouseLeave,\n onRowWillMount: that.props.onRowWillMount,\n onRowWillUnmount: that.props.onRowWillUnmount\n });\n });\n\n // no data section\n if (this.props.showNoData) {\n var colSpan = this.props.columnSettings.getVisibleColumnCount();\n nodes.push(React.createElement('tr', { key: 'no-data-section' }, React.createElement('td', { colSpan: colSpan }, this.props.noDataSection)));\n }\n\n // Add the spacer rows for nodes we're not rendering.\n if (aboveSpacerRow) {\n nodes.unshift(aboveSpacerRow);\n }\n if (belowSpacerRow) {\n nodes.push(belowSpacerRow);\n }\n\n // Send back the nodes.\n return {\n nodes: nodes,\n anyHasChildren: anyHasChildren\n };\n } else {\n return null;\n }\n },\n render: function render() {\n var that = this;\n var nodes = [];\n\n // for if we need to wrap the group in one tbody or many\n var anyHasChildren = false;\n\n // Grab the nodes to render\n var nodeContent = this.getNodeContent();\n if (nodeContent) {\n nodes = nodeContent.nodes;\n anyHasChildren = nodeContent.anyHasChildren;\n }\n\n var gridStyle = null;\n var loadingContent = null;\n var tableStyle = {\n width: \"100%\"\n };\n\n if (this.props.useFixedLayout) {\n tableStyle.tableLayout = \"fixed\";\n }\n\n if (this.props.enableInfiniteScroll) {\n // If we're enabling infinite scrolling, we'll want to include the max height of the grid body + allow scrolling.\n gridStyle = {\n \"position\": \"relative\",\n \"overflowY\": \"scroll\",\n \"height\": this.props.bodyHeight + \"px\",\n \"width\": \"100%\"\n };\n }\n\n // If we're currently loading, populate the loading content\n if (this.props.externalIsLoading) {\n var defaultLoadingStyle = null;\n var defaultColSpan = null;\n\n if (this.props.useGriddleStyles) {\n defaultLoadingStyle = {\n textAlign: \"center\",\n paddingBottom: \"40px\"\n };\n }\n\n defaultColSpan = this.props.columnSettings.getVisibleColumnCount();\n\n var loadingComponent = this.props.externalLoadingComponent ? React.createElement(this.props.externalLoadingComponent, null) : React.createElement('div', null, 'Loading...');\n\n loadingContent = React.createElement('tbody', null, React.createElement('tr', null, React.createElement('td', { style: defaultLoadingStyle, colSpan: defaultColSpan }, loadingComponent)));\n }\n\n //construct the table heading component\n var tableHeading = this.props.showTableHeading ? React.createElement(GridTitle, { useGriddleStyles: this.props.useGriddleStyles, useGriddleIcons: this.props.useGriddleIcons,\n sortSettings: this.props.sortSettings,\n multipleSelectionSettings: this.props.multipleSelectionSettings,\n columnSettings: this.props.columnSettings,\n filterByColumn: this.props.filterByColumn,\n rowSettings: this.props.rowSettings }) : undefined;\n\n //check to see if any of the rows have children... if they don't wrap everything in a tbody so the browser doesn't auto do this\n if (!anyHasChildren) {\n nodes = React.createElement('tbody', null, nodes);\n }\n\n var pagingContent = React.createElement('tbody', null);\n if (this.props.showPager) {\n var pagingStyles = this.props.useGriddleStyles ? {\n padding: \"0px\",\n backgroundColor: \"#EDEDED\",\n border: \"0px\",\n color: \"#222\",\n height: this.props.showNoData ? \"20px\" : null\n } : null;\n pagingContent = React.createElement('tbody', null, React.createElement('tr', null, React.createElement('td', { colSpan: this.props.multipleSelectionSettings.isMultipleSelection ? this.props.columnSettings.getVisibleColumnCount() + 1 : this.props.columnSettings.getVisibleColumnCount(), style: pagingStyles, className: 'footer-container' }, !this.props.showNoData ? this.props.pagingContent : null)));\n }\n\n // If we have a fixed header, split into two tables.\n if (this.props.useFixedHeader) {\n if (this.props.useGriddleStyles) {\n tableStyle.tableLayout = \"fixed\";\n }\n\n return React.createElement('div', null, React.createElement('table', { className: this.props.className, style: this.props.useGriddleStyles && tableStyle || null }, tableHeading), React.createElement('div', { ref: 'scrollable', onScroll: this.gridScroll, style: gridStyle }, React.createElement('table', { className: this.props.className, style: this.props.useGriddleStyles && tableStyle || null }, nodes, loadingContent, pagingContent)));\n }\n\n return React.createElement('div', { ref: 'scrollable', onScroll: this.gridScroll, style: gridStyle }, React.createElement('table', { className: this.props.className, style: this.props.useGriddleStyles && tableStyle || null }, tableHeading, nodes, loadingContent, pagingContent));\n }\n});\n\nmodule.exports = GridTable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridTable.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridTable.jsx.js\n// module chunks = 0","/*\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n */\n'use strict';\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }return target;\n};\n\nvar React = require('react');\nvar createReactClass = require('create-react-class');\nvar ColumnProperties = require('./columnProperties.js');\nvar assign = require('lodash/assign');\n\nvar DefaultHeaderComponent = createReactClass({\n render: function render() {\n return React.createElement('span', null, this.props.displayName);\n }\n});\n\nvar GridTitle = createReactClass({\n getDefaultProps: function getDefaultProps() {\n return {\n \"columnSettings\": null,\n \"filterByColumn\": function filterByColumn() {},\n \"rowSettings\": null,\n \"sortSettings\": null,\n \"multipleSelectionSettings\": null,\n \"headerStyle\": null,\n \"useGriddleStyles\": true,\n \"useGriddleIcons\": true,\n \"headerStyles\": {}\n };\n },\n componentWillMount: function componentWillMount() {\n this.verifyProps();\n },\n sort: function sort(column) {\n var that = this;\n return function (event) {\n that.props.sortSettings.changeSort(column);\n };\n },\n toggleSelectAll: function toggleSelectAll(event) {\n this.props.multipleSelectionSettings.toggleSelectAll();\n },\n handleSelectionChange: function handleSelectionChange(event) {\n //hack to get around warning message that's not helpful in this case\n return;\n },\n verifyProps: function verifyProps() {\n if (this.props.columnSettings === null) {\n console.error(\"gridTitle: The columnSettings prop is null and it shouldn't be\");\n }\n\n if (this.props.sortSettings === null) {\n console.error(\"gridTitle: The sortSettings prop is null and it shouldn't be\");\n }\n },\n render: function render() {\n this.verifyProps();\n var that = this;\n var titleStyles = {};\n\n var nodes = this.props.columnSettings.getColumns().map(function (col, index) {\n var defaultTitleStyles = {};\n var columnSort = \"\";\n var columnIsSortable = that.props.columnSettings.getMetadataColumnProperty(col, \"sortable\", true);\n var sortComponent = columnIsSortable ? that.props.sortSettings.sortDefaultComponent : null;\n\n if (that.props.sortSettings.sortColumn == col && that.props.sortSettings.sortDirection === 'asc') {\n columnSort = that.props.sortSettings.sortAscendingClassName;\n sortComponent = that.props.useGriddleIcons && that.props.sortSettings.sortAscendingComponent;\n } else if (that.props.sortSettings.sortColumn == col && that.props.sortSettings.sortDirection === 'desc') {\n columnSort += that.props.sortSettings.sortDescendingClassName;\n sortComponent = that.props.useGriddleIcons && that.props.sortSettings.sortDescendingComponent;\n }\n\n var meta = that.props.columnSettings.getColumnMetadataByName(col);\n var displayName = that.props.columnSettings.getMetadataColumnProperty(col, \"displayName\", col);\n var HeaderComponent = that.props.columnSettings.getMetadataColumnProperty(col, \"customHeaderComponent\", DefaultHeaderComponent);\n var headerProps = that.props.columnSettings.getMetadataColumnProperty(col, \"customHeaderComponentProps\", {});\n\n columnSort = meta == null ? columnSort : (columnSort && columnSort + \" \" || columnSort) + that.props.columnSettings.getMetadataColumnProperty(col, \"cssClassName\", \"\");\n\n if (that.props.useGriddleStyles) {\n defaultTitleStyles = {\n backgroundColor: \"#EDEDEF\",\n border: \"0px\",\n borderBottom: \"1px solid #DDD\",\n color: \"#222\",\n padding: \"5px\",\n cursor: columnIsSortable ? \"pointer\" : \"default\"\n };\n }\n titleStyles = meta && meta.titleStyles ? assign({}, defaultTitleStyles, meta.titleStyles) : assign({}, defaultTitleStyles);\n\n var ComponentClass = displayName ? 'th' : 'td';\n return React.createElement(ComponentClass, { onClick: columnIsSortable ? that.sort(col) : null, 'data-title': col, className: columnSort, key: col,\n style: titleStyles }, React.createElement(HeaderComponent, _extends({ columnName: col, displayName: displayName,\n filterByColumn: that.props.filterByColumn }, headerProps)), sortComponent);\n });\n\n if (nodes && this.props.multipleSelectionSettings.isMultipleSelection) {\n nodes.unshift(React.createElement('th', { key: 'selection', onClick: this.toggleSelectAll, style: titleStyles, className: 'griddle-select griddle-select-title' }, React.createElement('input', {\n type: 'checkbox',\n checked: this.props.multipleSelectionSettings.getIsSelectAllChecked(),\n onChange: this.handleSelectionChange\n })));\n }\n\n //Get the row from the row settings.\n var className = that.props.rowSettings && that.props.rowSettings.getHeaderRowMetadataClass() || null;\n\n return React.createElement('thead', null, React.createElement('tr', {\n className: className,\n style: this.props.headerStyles }, nodes));\n }\n});\n\nmodule.exports = GridTitle;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/gridTitle.jsx.js\n// module id = ./node_modules/griddle-react/modules/gridTitle.jsx.js\n// module chunks = 0","/*\r\n Griddle - Simple Grid Component for React\r\n https://github.com/DynamicTyped/Griddle\r\n Copyright (c) 2014 Ryan Lanciaux | DynamicTyped\r\n\r\n See License / Disclaimer https://raw.githubusercontent.com/DynamicTyped/Griddle/master/LICENSE\r\n*/\n'use strict';\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }return target;\n};\n\nvar React = require('react');\nvar PropTypes = require('prop-types');\nvar createReactClass = require('create-react-class');\nvar GridTable = require('./gridTable.jsx');\nvar GridFilter = require('./gridFilter.jsx');\nvar GridPagination = require('./gridPagination.jsx');\nvar GridSettings = require('./gridSettings.jsx');\nvar GridNoData = require('./gridNoData.jsx');\nvar GridRow = require('./gridRow.jsx');\nvar GridRowContainer = require('./gridRowContainer.jsx');\nvar CustomRowComponentContainer = require('./customRowComponentContainer.jsx');\nvar CustomPaginationContainer = require('./customPaginationContainer.jsx');\nvar CustomFilterContainer = require('./customFilterContainer.jsx');\nvar ColumnProperties = require('./columnProperties');\nvar RowProperties = require('./rowProperties');\nvar deep = require('./deep');\n\nvar drop = require('lodash/drop');\nvar dropRight = require('lodash/dropRight');\nvar find = require('lodash/find');\nvar first = require('lodash/take');\nvar forEach = require('lodash/forEach');\nvar initial = require('lodash/initial');\nvar intersection = require('lodash/intersection');\nvar isArray = require('lodash/isArray');\nvar isEmpty = require('lodash/isEmpty');\nvar isNull = require('lodash/isNull');\nvar isUndefined = require('lodash/isUndefined');\nvar omit = require('lodash/omit');\nvar map = require('lodash/map');\nvar extend = require('lodash/assign');\nvar _filter = require('lodash/filter');\n\nvar _orderBy = require('lodash/orderBy');\nvar _property = require('lodash/property');\nvar _get = require('lodash/get');\nvar _some = require('lodash/some');\n\nvar Griddle = createReactClass({\n statics: {\n GridTable: GridTable,\n GridFilter: GridFilter,\n GridPagination: GridPagination,\n GridSettings: GridSettings,\n GridRow: GridRow\n },\n columnSettings: null,\n rowSettings: null,\n getDefaultProps: function getDefaultProps() {\n return {\n \"columns\": [],\n \"gridMetadata\": null,\n \"columnMetadata\": [],\n \"rowMetadata\": null,\n \"results\": [], // Used if all results are already loaded.\n \"initialSort\": \"\",\n \"gridClassName\": \"\",\n \"tableClassName\": \"\",\n \"customRowComponentClassName\": \"\",\n \"settingsText\": \"Settings\",\n \"filterPlaceholderText\": \"Filter Results\",\n \"nextText\": \"Next\",\n \"previousText\": \"Previous\",\n \"maxRowsText\": \"Rows per page\",\n \"enableCustomFormatText\": \"Enable Custom Formatting\",\n //this column will determine which column holds subgrid data\n //it will be passed through with the data object but will not be rendered\n \"childrenColumnName\": \"children\",\n //Any column in this list will be treated as metadata and will be passed through with the data but won't be rendered\n \"metadataColumns\": [],\n \"showFilter\": false,\n \"showSettings\": false,\n \"useCustomRowComponent\": false,\n \"useCustomGridComponent\": false,\n \"useCustomPagerComponent\": false,\n \"useCustomFilterer\": false,\n \"useCustomFilterComponent\": false,\n \"useGriddleStyles\": true,\n \"useGriddleIcons\": true,\n \"customRowComponent\": null,\n \"customGridComponent\": null,\n \"customPagerComponent\": {},\n \"customFilterComponent\": null,\n \"customFilterer\": null,\n \"globalData\": null,\n \"enableToggleCustom\": false,\n \"noDataMessage\": \"There is no data to display.\",\n \"noDataClassName\": \"griddle-nodata\",\n \"customNoDataComponent\": null,\n \"customNoDataComponentProps\": null,\n \"allowEmptyGrid\": false,\n \"showTableHeading\": true,\n \"showPager\": true,\n \"useFixedHeader\": false,\n \"useExternal\": false,\n \"externalSetPage\": null,\n \"externalChangeSort\": null,\n \"externalSetFilter\": null,\n \"externalSetPageSize\": null,\n \"externalMaxPage\": null,\n \"externalCurrentPage\": null,\n \"externalSortColumn\": null,\n \"externalSortAscending\": true,\n \"externalLoadingComponent\": null,\n \"externalIsLoading\": false,\n \"enableInfiniteScroll\": false,\n \"bodyHeight\": null,\n \"paddingHeight\": 5,\n \"rowHeight\": 25,\n \"infiniteScrollLoadTreshold\": 50,\n \"useFixedLayout\": true,\n \"isSubGriddle\": false,\n \"enableSort\": true,\n \"onRowClick\": null,\n \"onRowMouseEnter\": null,\n \"onRowMouseLeave\": null,\n \"onRowWillMount\": null,\n \"onRowWillUnmount\": null,\n /* css class names */\n \"sortAscendingClassName\": \"sort-ascending\",\n \"sortDescendingClassName\": \"sort-descending\",\n \"parentRowCollapsedClassName\": \"parent-row\",\n \"parentRowExpandedClassName\": \"parent-row expanded\",\n \"settingsToggleClassName\": \"settings\",\n \"nextClassName\": \"griddle-next\",\n \"previousClassName\": \"griddle-previous\",\n \"headerStyles\": {},\n /* icon components */\n \"sortAscendingComponent\": \" â–²\",\n \"sortDescendingComponent\": \" â–¼\",\n \"sortDefaultComponent\": null,\n \"parentRowCollapsedComponent\": \"â–¶\",\n \"parentRowExpandedComponent\": \"â–¼\",\n \"settingsIconComponent\": \"\",\n \"nextIconComponent\": \"\",\n \"previousIconComponent\": \"\",\n \"isMultipleSelection\": false, //currently does not support subgrids\n \"selectedRowIds\": [],\n \"uniqueIdentifier\": \"id\",\n \"onSelectionChange\": null,\n \"columnFilterFunc\": null\n };\n },\n propTypes: {\n isMultipleSelection: PropTypes.bool,\n selectedRowIds: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.arrayOf(PropTypes.string)]),\n uniqueIdentifier: PropTypes.string,\n onSelectionChange: PropTypes.func,\n columnFilterFunc: PropTypes.func\n },\n defaultFilter: function defaultFilter(results, filter) {\n var that = this;\n return _filter(results, function (item) {\n var arr = deep.keys(item);\n for (var i = 0; i < arr.length; i++) {\n var isFilterable = that.columnSettings.getMetadataColumnProperty(arr[i], \"filterable\", true);\n if (isFilterable && (deep.getAt(item, arr[i]) || \"\").toString().toLowerCase().indexOf(filter.toLowerCase()) >= 0) {\n return true;\n }\n }\n return false;\n });\n },\n\n defaultColumnFilter: function defaultColumnFilter(columnName, value, filter) {\n var filters = map(isArray(filter) ? filter : [filter], function (filter) {\n return (filter || '').toLowerCase();\n });\n return _some(deep.getObjectValues(value), function (value) {\n value = value.toString().toLowerCase();\n return _some(filters, function (filter) {\n return value.indexOf(filter) >= 0;\n });\n });\n },\n\n filterByColumnFilters: function filterByColumnFilters(columnFilters) {\n var filterFunction = this.props.columnFilterFunc || this.defaultColumnFilter;\n var filteredResults = Object.keys(columnFilters).reduce(function (previous, current) {\n return _filter(previous, function (item) {\n var value = deep.getAt(item, current || \"\");\n var filter = columnFilters[current];\n return filterFunction(current || '', value, filter);\n });\n }, this.props.results);\n\n var newState = {\n columnFilters: columnFilters\n };\n\n if (columnFilters) {\n newState.filteredResults = filteredResults;\n newState.maxPage = this.getMaxPage(newState.filteredResults);\n } else if (this.state.filter) {\n newState.filteredResults = this.props.useCustomFilterer ? this.props.customFilterer(this.props.results, filter) : this.defaultFilter(this.props.results, filter);\n } else {\n newState.filteredResults = null;\n }\n\n this.setState(newState);\n },\n\n filterByColumn: function filterByColumn(filter, column) {\n var columnFilters = this.state.columnFilters;\n\n //if filter is \"\" remove it from the columnFilters object\n if (columnFilters.hasOwnProperty(column) && !filter) {\n columnFilters = omit(columnFilters, column);\n } else {\n var newObject = {};\n newObject[column] = filter;\n columnFilters = extend({}, columnFilters, newObject);\n }\n\n this.filterByColumnFilters(columnFilters);\n },\n\n /* if we have a filter display the max page and results accordingly */\n setFilter: function setFilter(filter) {\n var updatedResults = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n\n if (this.props.useExternal) {\n this.props.externalSetFilter(filter);\n return;\n }\n\n var that = this,\n updatedState = {\n page: 0,\n filter: filter\n };\n\n // Obtain the state results.\n updatedState.filteredResults = this.props.useCustomFilterer ? this.props.customFilterer(updatedResults || this.props.results, filter) : this.defaultFilter(updatedResults || this.props.results, filter);\n\n // Update the max page.\n updatedState.maxPage = that.getMaxPage(updatedState.filteredResults);\n\n //if filter is null or undefined reset the filter.\n if (isUndefined(filter) || isNull(filter) || isEmpty(filter)) {\n updatedState.filter = filter;\n updatedState.filteredResults = null;\n }\n\n // Set the state.\n that.setState(updatedState);\n\n this._resetSelectedRows();\n },\n setPageSize: function setPageSize(size) {\n if (this.props.useExternal) {\n this.setState({\n resultsPerPage: size\n });\n this.props.externalSetPageSize(size);\n return;\n }\n //make this better.\n this.state.resultsPerPage = size;\n this.setMaxPage();\n },\n toggleColumnChooser: function toggleColumnChooser() {\n this.setState({\n showColumnChooser: !this.state.showColumnChooser\n });\n },\n isNullOrUndefined: function isNullOrUndefined(value) {\n return value === undefined || value === null;\n },\n shouldUseCustomRowComponent: function shouldUseCustomRowComponent() {\n return this.isNullOrUndefined(this.state.useCustomRowComponent) ? this.props.useCustomRowComponent : this.state.useCustomRowComponent;\n },\n shouldUseCustomGridComponent: function shouldUseCustomGridComponent() {\n return this.isNullOrUndefined(this.state.useCustomGridComponent) ? this.props.useCustomGridComponent : this.state.useCustomGridComponent;\n },\n toggleCustomComponent: function toggleCustomComponent() {\n if (this.state.customComponentType === \"grid\") {\n this.setState({\n useCustomGridComponent: !this.shouldUseCustomGridComponent()\n });\n } else if (this.state.customComponentType === \"row\") {\n this.setState({\n useCustomRowComponent: !this.shouldUseCustomRowComponent()\n });\n }\n },\n getMaxPage: function getMaxPage(results, totalResults) {\n if (this.props.useExternal) {\n return this.props.externalMaxPage;\n }\n\n if (!totalResults) {\n totalResults = (results || this.getCurrentResults()).length;\n }\n var maxPage = Math.ceil(totalResults / this.state.resultsPerPage);\n return maxPage;\n },\n setMaxPage: function setMaxPage(results) {\n var maxPage = this.getMaxPage(results);\n //re-render if we have new max page value\n if (this.state.maxPage !== maxPage) {\n this.setState({ page: 0, maxPage: maxPage, filteredColumns: this.columnSettings.filteredColumns });\n }\n },\n setPage: function setPage(number) {\n if (this.props.useExternal) {\n this.props.externalSetPage(number);\n return;\n }\n\n //check page size and move the filteredResults to pageSize * pageNumber\n if (number * this.state.resultsPerPage <= this.state.resultsPerPage * this.state.maxPage) {\n var that = this,\n state = {\n page: number\n };\n\n that.setState(state);\n }\n\n //When infinite scrolling is enabled, uncheck the \"select all\" checkbox, since more unchecked rows will be appended at the end\n if (this.props.enableInfiniteScroll) {\n this.setState({\n isSelectAllChecked: false\n });\n }\n },\n setColumns: function setColumns(columns) {\n this.columnSettings.filteredColumns = isArray(columns) ? columns : [columns];\n\n this.setState({\n filteredColumns: this.columnSettings.filteredColumns\n });\n },\n nextPage: function nextPage() {\n var currentPage = this.getCurrentPage();\n if (currentPage < this.getCurrentMaxPage() - 1) {\n this.setPage(currentPage + 1);\n }\n },\n previousPage: function previousPage() {\n var currentPage = this.getCurrentPage();\n if (currentPage > 0) {\n this.setPage(currentPage - 1);\n }\n },\n changeSort: function changeSort(column) {\n if (this.props.enableSort === false) {\n return;\n }\n\n if (this.props.useExternal) {\n var isAscending = this.props.externalSortColumn === column ? !this.props.externalSortAscending : true;\n this.setState({\n sortColumn: column,\n sortDirection: isAscending ? 'asc' : 'desc'\n });\n this.props.externalChangeSort(column, isAscending);\n return;\n }\n var columnMeta = find(this.props.columnMetadata, { columnName: column }) || {};\n var sortDirectionCycle = columnMeta.sortDirectionCycle ? columnMeta.sortDirectionCycle : [null, 'asc', 'desc'];\n var sortDirection = null;\n // Find the current position in the cycle (or -1).\n var i = sortDirectionCycle.indexOf(this.state.sortDirection && column === this.state.sortColumn ? this.state.sortDirection : null);\n\n // Proceed to the next position in the cycle (or start at the beginning).\n i = (i + 1) % sortDirectionCycle.length;\n\n if (sortDirectionCycle[i]) {\n sortDirection = sortDirectionCycle[i];\n } else {\n sortDirection = null;\n }\n\n var state = {\n page: 0,\n sortColumn: column,\n sortDirection: sortDirection\n };\n\n this.setState(state);\n },\n componentWillReceiveProps: function componentWillReceiveProps(nextProps) {\n // Check if results props changed\n if (nextProps.results !== this.props.results) {\n this.setFilter(this.state.filter, nextProps.results);\n }\n\n this.setMaxPage(nextProps.results);\n if (nextProps.resultsPerPage !== this.props.resultsPerPage) {\n this.setPageSize(nextProps.resultsPerPage);\n }\n //This will updaet the column Metadata\n this.columnSettings.columnMetadata = nextProps.columnMetadata;\n if (nextProps.results.length > 0) {\n var deepKeys = deep.keys(nextProps.results[0]);\n\n var is_same = this.columnSettings.allColumns.length == deepKeys.length && this.columnSettings.allColumns.every(function (element, index) {\n return element === deepKeys[index];\n });\n\n if (!is_same) {\n this.columnSettings.allColumns = deepKeys;\n }\n } else if (this.columnSettings.allColumns.length > 0) {\n this.columnSettings.allColumns = [];\n }\n\n if (nextProps.selectedRowIds) {\n var visibleRows = this.getDataForRender(this.getCurrentResults(nextProps.results), this.columnSettings.getColumns(), true);\n\n this.setState({\n isSelectAllChecked: this._getAreAllRowsChecked(nextProps.selectedRowIds, map(visibleRows, this.props.uniqueIdentifier)),\n selectedRowIds: nextProps.selectedRowIds\n });\n }\n },\n getInitialState: function getInitialState() {\n var state = {\n maxPage: 0,\n page: 0,\n filteredResults: null,\n filteredColumns: [],\n filter: \"\",\n //this sets the individual column filters\n columnFilters: {},\n resultsPerPage: this.props.resultsPerPage || 5,\n showColumnChooser: false,\n isSelectAllChecked: false,\n selectedRowIds: this.props.selectedRowIds\n };\n return state;\n },\n componentWillMount: function componentWillMount() {\n this.verifyExternal();\n this.verifyCustom();\n\n this.columnSettings = new ColumnProperties(this.props.results.length > 0 ? deep.keys(this.props.results[0]) : [], this.props.columns, this.props.childrenColumnName, this.props.columnMetadata, this.props.metadataColumns);\n\n this.rowSettings = new RowProperties(this.props.rowMetadata, this.props.useCustomTableRowComponent && this.props.customTableRowComponent ? this.props.customTableRowComponent : GridRow, this.props.useCustomTableRowComponent);\n\n if (this.props.initialSort) {\n // shouldn't change Sort on init for external\n if (this.props.useExternal) {\n this.setState({\n sortColumn: this.props.externalSortColumn,\n sortDirection: this.props.externalSortAscending ? 'asc' : 'desc'\n });\n } else {\n this.changeSort(this.props.initialSort);\n }\n }\n this.setMaxPage();\n\n //don't like the magic strings\n if (this.shouldUseCustomGridComponent()) {\n this.setState({\n customComponentType: \"grid\"\n });\n } else if (this.shouldUseCustomRowComponent()) {\n this.setState({\n customComponentType: \"row\"\n });\n } else {\n this.setState({\n filteredColumns: this.columnSettings.filteredColumns\n });\n }\n },\n componentDidMount: function componentDidMount() {\n if (this.props.componentDidMount && typeof this.props.componentDidMount === \"function\") {\n return this.props.componentDidMount();\n }\n },\n componentDidUpdate: function componentDidUpdate() {\n if (this.props.componentDidUpdate && typeof this.props.componentDidUpdate === \"function\") {\n return this.props.componentDidUpdate(this.state);\n }\n },\n //todo: clean these verify methods up\n verifyExternal: function verifyExternal() {\n if (this.props.useExternal === true) {\n //hooray for big ugly nested if\n if (this.props.externalSetPage === null) {\n console.error(\"useExternal is set to true but there is no externalSetPage function specified.\");\n }\n\n if (this.props.externalChangeSort === null) {\n console.error(\"useExternal is set to true but there is no externalChangeSort function specified.\");\n }\n\n if (this.props.externalSetFilter === null) {\n console.error(\"useExternal is set to true but there is no externalSetFilter function specified.\");\n }\n\n if (this.props.externalSetPageSize === null) {\n console.error(\"useExternal is set to true but there is no externalSetPageSize function specified.\");\n }\n\n if (this.props.externalMaxPage === null) {\n console.error(\"useExternal is set to true but externalMaxPage is not set.\");\n }\n\n if (this.props.externalCurrentPage === null) {\n console.error(\"useExternal is set to true but externalCurrentPage is not set. Griddle will not page correctly without that property when using external data.\");\n }\n }\n },\n //TODO: Do this with propTypes\n verifyCustom: function verifyCustom() {\n if (this.props.useCustomGridComponent === true && this.props.customGridComponent === null) {\n console.error(\"useCustomGridComponent is set to true but no custom component was specified.\");\n }\n if (this.props.useCustomRowComponent === true && this.props.customRowComponent === null) {\n console.error(\"useCustomRowComponent is set to true but no custom component was specified.\");\n }\n if (this.props.useCustomGridComponent === true && this.props.useCustomRowComponent === true) {\n console.error(\"Cannot currently use both customGridComponent and customRowComponent.\");\n }\n if (this.props.useCustomFilterer === true && this.props.customFilterer === null) {\n console.error(\"useCustomFilterer is set to true but no custom filter function was specified.\");\n }\n if (this.props.useCustomFilterComponent === true && this.props.customFilterComponent === null) {\n console.error(\"useCustomFilterComponent is set to true but no customFilterComponent was specified.\");\n }\n },\n getDataForRender: function getDataForRender(data, cols, pageList) {\n var _this = this;\n\n var that = this;\n\n if (!this.props.useExternal) {\n if (this.state.sortColumn !== \"\") {\n var column = this.state.sortColumn;\n var sortColumn = _filter(this.props.columnMetadata, { columnName: column });\n var customCompareFn;\n var multiSort = {\n columns: [],\n orders: []\n };\n\n if (sortColumn.length > 0) {\n customCompareFn = sortColumn[0].hasOwnProperty(\"customCompareFn\") && sortColumn[0][\"customCompareFn\"];\n if (sortColumn[0][\"multiSort\"]) {\n multiSort = sortColumn[0][\"multiSort\"];\n }\n }\n\n if (this.state.sortDirection) {\n if (typeof customCompareFn === 'function') {\n if (customCompareFn.length === 2) {\n data = data.sort(function (a, b) {\n return customCompareFn(_get(a, column), _get(b, column));\n });\n\n if (this.state.sortDirection === 'desc') {\n data.reverse();\n }\n } else if (customCompareFn.length === 1) {\n data = _orderBy(data, function (item) {\n return customCompareFn(_get(item, column));\n }, [this.state.sortDirection]);\n }\n } else {\n var iteratees = [function (row) {\n return (_get(row, column) || '').toString().toLowerCase();\n }];\n var orders = [this.state.sortDirection];\n multiSort.columns.forEach(function (col, i) {\n iteratees.push(function (row) {\n return (_get(row, col) || '').toString().toLowerCase();\n });\n if (multiSort.orders[i] === 'asc' || multiSort.orders[i] === 'desc') {\n orders.push(multiSort.orders[i]);\n } else {\n orders.push(_this.state.sortDirection);\n }\n });\n\n data = _orderBy(data, iteratees, orders);\n }\n }\n }\n\n var currentPage = this.getCurrentPage();\n\n if (!this.props.useExternal && pageList && this.state.resultsPerPage * (currentPage + 1) <= this.state.resultsPerPage * this.state.maxPage && currentPage >= 0) {\n if (this.isInfiniteScrollEnabled()) {\n // If we're doing infinite scroll, grab all results up to the current page.\n data = first(data, (currentPage + 1) * this.state.resultsPerPage);\n } else {\n //the 'rest' is grabbing the whole array from index on and the 'initial' is getting the first n results\n var rest = drop(data, currentPage * this.state.resultsPerPage);\n data = (dropRight || initial)(rest, rest.length - this.state.resultsPerPage);\n }\n }\n }\n\n var transformedData = [];\n\n for (var i = 0; i < data.length; i++) {\n var mappedData = data[i];\n\n if (typeof mappedData[that.props.childrenColumnName] !== \"undefined\" && mappedData[that.props.childrenColumnName].length > 0) {\n //internally we're going to use children instead of whatever it is so we don't have to pass the custom name around\n mappedData[\"children\"] = that.getDataForRender(mappedData[that.props.childrenColumnName], cols, false);\n\n if (that.props.childrenColumnName !== \"children\") {\n delete mappedData[that.props.childrenColumnName];\n }\n }\n\n transformedData.push(mappedData);\n }\n return transformedData;\n },\n getCurrentResults: function getCurrentResults(results) {\n return this.state.filteredResults || results || this.props.results;\n },\n getCurrentPage: function getCurrentPage() {\n return this.props.externalCurrentPage || this.state.page;\n },\n getCurrentSort: function getCurrentSort() {\n return this.props.useExternal ? this.props.externalSortColumn : this.state.sortColumn;\n },\n getCurrentSortAscending: function getCurrentSortAscending() {\n return this.props.useExternal ? this.props.externalSortAscending : this.state.sortDirection === 'asc';\n },\n getCurrentMaxPage: function getCurrentMaxPage() {\n return this.props.useExternal ? this.props.externalMaxPage : this.state.maxPage;\n },\n //This takes the props relating to sort and puts them in one object\n getSortObject: function getSortObject() {\n return {\n enableSort: this.props.enableSort,\n changeSort: this.changeSort,\n sortColumn: this.getCurrentSort(),\n sortAscending: this.getCurrentSortAscending(),\n sortDirection: this.state.sortDirection,\n sortAscendingClassName: this.props.sortAscendingClassName,\n sortDescendingClassName: this.props.sortDescendingClassName,\n sortAscendingComponent: this.props.sortAscendingComponent,\n sortDescendingComponent: this.props.sortDescendingComponent,\n sortDefaultComponent: this.props.sortDefaultComponent\n };\n },\n _toggleSelectAll: function _toggleSelectAll() {\n var visibleRows = this.getDataForRender(this.getCurrentResults(), this.columnSettings.getColumns(), true),\n newIsSelectAllChecked = !this.state.isSelectAllChecked,\n newSelectedRowIds = JSON.parse(JSON.stringify(this.state.selectedRowIds));\n\n var self = this;\n forEach(visibleRows, function (row) {\n self._updateSelectedRowIds(row[self.props.uniqueIdentifier], newSelectedRowIds, newIsSelectAllChecked);\n }, this);\n\n this.setState({\n isSelectAllChecked: newIsSelectAllChecked,\n selectedRowIds: newSelectedRowIds\n });\n\n if (this.props.onSelectionChange) {\n this.props.onSelectionChange(newSelectedRowIds, newIsSelectAllChecked);\n }\n },\n _toggleSelectRow: function _toggleSelectRow(row, isChecked) {\n var visibleRows = this.getDataForRender(this.getCurrentResults(), this.columnSettings.getColumns(), true),\n newSelectedRowIds = JSON.parse(JSON.stringify(this.state.selectedRowIds));\n\n this._updateSelectedRowIds(row[this.props.uniqueIdentifier], newSelectedRowIds, isChecked);\n\n var newIsSelectAllChecked = this._getAreAllRowsChecked(newSelectedRowIds, map(visibleRows, this.props.uniqueIdentifier));\n\n this.setState({\n isSelectAllChecked: newIsSelectAllChecked,\n selectedRowIds: newSelectedRowIds\n });\n\n if (this.props.onSelectionChange) {\n this.props.onSelectionChange(newSelectedRowIds, newIsSelectAllChecked);\n }\n },\n _updateSelectedRowIds: function _updateSelectedRowIds(id, selectedRowIds, isChecked) {\n\n var isFound;\n\n if (isChecked) {\n isFound = find(selectedRowIds, function (item) {\n return id === item;\n });\n\n if (isFound === undefined) {\n selectedRowIds.push(id);\n }\n } else {\n selectedRowIds.splice(selectedRowIds.indexOf(id), 1);\n }\n },\n _getIsSelectAllChecked: function _getIsSelectAllChecked() {\n\n return this.state.isSelectAllChecked;\n },\n _getAreAllRowsChecked: function _getAreAllRowsChecked(selectedRowIds, visibleRowIds) {\n\n return visibleRowIds.length === intersection(visibleRowIds, selectedRowIds).length;\n },\n _getIsRowChecked: function _getIsRowChecked(row) {\n\n return this.state.selectedRowIds.indexOf(row[this.props.uniqueIdentifier]) > -1 ? true : false;\n },\n getSelectedRowIds: function getSelectedRowIds() {\n\n return this.state.selectedRowIds;\n },\n _resetSelectedRows: function _resetSelectedRows() {\n\n this.setState({\n isSelectAllChecked: false,\n selectedRowIds: []\n });\n },\n //This takes the props relating to multiple selection and puts them in one object\n getMultipleSelectionObject: function getMultipleSelectionObject() {\n\n return {\n isMultipleSelection: find(this.props.results, function (result) {\n return 'children' in result;\n }) ? false : this.props.isMultipleSelection, //does not support subgrids\n toggleSelectAll: this._toggleSelectAll,\n getIsSelectAllChecked: this._getIsSelectAllChecked,\n toggleSelectRow: this._toggleSelectRow,\n getSelectedRowIds: this.getSelectedRowIds,\n getIsRowChecked: this._getIsRowChecked\n };\n },\n isInfiniteScrollEnabled: function isInfiniteScrollEnabled() {\n // If a custom pager is included, don't allow for infinite scrolling.\n if (this.props.useCustomPagerComponent) {\n return false;\n }\n\n // Otherwise, send back the property.\n return this.props.enableInfiniteScroll;\n },\n getClearFixStyles: function getClearFixStyles() {\n return {\n clear: \"both\",\n display: \"table\",\n width: \"100%\"\n };\n },\n getSettingsStyles: function getSettingsStyles() {\n return {\n \"float\": \"left\",\n width: \"50%\",\n textAlign: \"right\"\n };\n },\n getFilterStyles: function getFilterStyles() {\n return {\n \"float\": \"left\",\n width: \"50%\",\n textAlign: \"left\",\n color: \"#222\",\n minHeight: \"1px\"\n };\n },\n getFilter: function getFilter() {\n return this.props.showFilter && this.shouldUseCustomGridComponent() === false ? this.props.useCustomFilterComponent ? React.createElement(CustomFilterContainer, { changeFilter: this.setFilter, placeholderText: this.props.filterPlaceholderText, customFilterComponent: this.props.customFilterComponent, results: this.props.results, currentResults: this.getCurrentResults() }) : React.createElement(GridFilter, { changeFilter: this.setFilter, placeholderText: this.props.filterPlaceholderText }) : \"\";\n },\n getSettings: function getSettings() {\n return this.props.showSettings ? React.createElement('button', { type: 'button', className: this.props.settingsToggleClassName, onClick: this.toggleColumnChooser,\n style: this.props.useGriddleStyles ? { background: \"none\", border: \"none\", padding: 0, margin: 0, fontSize: 14 } : null }, this.props.settingsText, this.props.settingsIconComponent) : \"\";\n },\n getTopSection: function getTopSection(filter, settings) {\n if (this.props.showFilter === false && this.props.showSettings === false) {\n return \"\";\n }\n\n var filterStyles = null,\n settingsStyles = null,\n topContainerStyles = null;\n\n if (this.props.useGriddleStyles) {\n filterStyles = this.getFilterStyles();\n settingsStyles = this.getSettingsStyles();\n\n topContainerStyles = this.getClearFixStyles();\n }\n\n return React.createElement('div', { className: 'top-section', style: topContainerStyles }, React.createElement('div', { className: 'griddle-filter', style: filterStyles }, filter), React.createElement('div', { className: 'griddle-settings-toggle', style: settingsStyles }, settings));\n },\n getPagingSection: function getPagingSection(currentPage, maxPage) {\n if ((this.props.showPager && !this.isInfiniteScrollEnabled() && !this.shouldUseCustomGridComponent()) === false) {\n return undefined;\n }\n\n return React.createElement('div', { className: 'griddle-footer' }, this.props.useCustomPagerComponent ? React.createElement(CustomPaginationContainer, { customPagerComponentOptions: this.props.customPagerComponentOptions, next: this.nextPage, previous: this.previousPage, currentPage: currentPage, maxPage: maxPage, setPage: this.setPage, nextText: this.props.nextText, previousText: this.props.previousText, customPagerComponent: this.props.customPagerComponent }) : React.createElement(GridPagination, { useGriddleStyles: this.props.useGriddleStyles, next: this.nextPage, previous: this.previousPage, nextClassName: this.props.nextClassName, nextIconComponent: this.props.nextIconComponent, previousClassName: this.props.previousClassName, previousIconComponent: this.props.previousIconComponent, currentPage: currentPage, maxPage: maxPage, setPage: this.setPage, nextText: this.props.nextText, previousText: this.props.previousText }));\n },\n getColumnSelectorSection: function getColumnSelectorSection(keys, cols) {\n return this.state.showColumnChooser ? React.createElement(GridSettings, { columns: keys, selectedColumns: cols, setColumns: this.setColumns, settingsText: this.props.settingsText,\n settingsIconComponent: this.props.settingsIconComponent, maxRowsText: this.props.maxRowsText, setPageSize: this.setPageSize,\n showSetPageSize: !this.shouldUseCustomGridComponent(), resultsPerPage: this.state.resultsPerPage, enableToggleCustom: this.props.enableToggleCustom,\n toggleCustomComponent: this.toggleCustomComponent, useCustomComponent: this.shouldUseCustomRowComponent() || this.shouldUseCustomGridComponent(),\n useGriddleStyles: this.props.useGriddleStyles, enableCustomFormatText: this.props.enableCustomFormatText, columnMetadata: this.props.columnMetadata }) : \"\";\n },\n getCustomGridSection: function getCustomGridSection() {\n return React.createElement(this.props.customGridComponent, _extends({ data: this.props.results, className: this.props.customGridComponentClassName }, this.props.gridMetadata));\n },\n getCustomRowSection: function getCustomRowSection(data, cols, meta, pagingContent, globalData) {\n return React.createElement('div', null, React.createElement(CustomRowComponentContainer, { data: data, columns: cols, metadataColumns: meta, globalData: globalData,\n className: this.props.customRowComponentClassName, customComponent: this.props.customRowComponent,\n style: this.props.useGriddleStyles ? this.getClearFixStyles() : null }), this.props.showPager && pagingContent);\n },\n getStandardGridSection: function getStandardGridSection(data, cols, meta, pagingContent, hasMorePages) {\n var sortProperties = this.getSortObject();\n var multipleSelectionProperties = this.getMultipleSelectionObject();\n\n // no data section\n var showNoData = this.shouldShowNoDataSection(data);\n var noDataSection = this.getNoDataSection();\n\n return React.createElement('div', { className: 'griddle-body' }, React.createElement(GridTable, { useGriddleStyles: this.props.useGriddleStyles,\n noDataSection: noDataSection,\n showNoData: showNoData,\n columnSettings: this.columnSettings,\n rowSettings: this.rowSettings,\n sortSettings: sortProperties,\n multipleSelectionSettings: multipleSelectionProperties,\n filterByColumn: this.filterByColumn,\n isSubGriddle: this.props.isSubGriddle,\n useGriddleIcons: this.props.useGriddleIcons,\n useFixedLayout: this.props.useFixedLayout,\n showPager: this.props.showPager,\n pagingContent: pagingContent,\n data: data,\n className: this.props.tableClassName,\n enableInfiniteScroll: this.isInfiniteScrollEnabled(),\n nextPage: this.nextPage,\n showTableHeading: this.props.showTableHeading,\n useFixedHeader: this.props.useFixedHeader,\n parentRowCollapsedClassName: this.props.parentRowCollapsedClassName,\n parentRowExpandedClassName: this.props.parentRowExpandedClassName,\n parentRowCollapsedComponent: this.props.parentRowCollapsedComponent,\n parentRowExpandedComponent: this.props.parentRowExpandedComponent,\n bodyHeight: this.props.bodyHeight,\n paddingHeight: this.props.paddingHeight,\n rowHeight: this.props.rowHeight,\n infiniteScrollLoadTreshold: this.props.infiniteScrollLoadTreshold,\n externalLoadingComponent: this.props.externalLoadingComponent,\n externalIsLoading: this.props.externalIsLoading,\n hasMorePages: hasMorePages,\n onRowClick: this.props.onRowClick,\n onRowMouseEnter: this.props.onRowMouseEnter,\n onRowMouseLeave: this.props.onRowMouseLeave,\n onRowWillMount: this.props.onRowWillMount,\n onRowWillUnmount: this.props.onRowWillUnmount }));\n },\n getContentSection: function getContentSection(data, cols, meta, pagingContent, hasMorePages, globalData) {\n if (this.shouldUseCustomGridComponent() && this.props.customGridComponent !== null) {\n return this.getCustomGridSection();\n } else if (this.shouldUseCustomRowComponent()) {\n return this.getCustomRowSection(data, cols, meta, pagingContent, globalData);\n } else {\n return this.getStandardGridSection(data, cols, meta, pagingContent, hasMorePages);\n }\n },\n getNoDataSection: function getNoDataSection() {\n if (this.props.customNoDataComponent != null) {\n return React.createElement('div', { className: this.props.noDataClassName }, React.createElement(this.props.customNoDataComponent, this.props.customNoDataComponentProps));\n }\n return React.createElement(GridNoData, { noDataMessage: this.props.noDataMessage });\n },\n shouldShowNoDataSection: function shouldShowNoDataSection(results) {\n if (this.props.allowEmptyGrid) {\n return false;\n }\n\n return this.props.useExternal === false && (typeof results === 'undefined' || results.length === 0) || this.props.useExternal === true && this.props.externalIsLoading === false && results.length === 0;\n },\n render: function render() {\n var that = this,\n results = this.getCurrentResults(); // Attempt to assign to the filtered results, if we have any.\n\n var headerTableClassName = this.props.tableClassName + \" table-header\";\n\n //figure out if we want to show the filter section\n var filter = this.getFilter();\n var settings = this.getSettings();\n\n //if we have neither filter or settings don't need to render this stuff\n var topSection = this.getTopSection(filter, settings);\n\n var keys = [];\n var cols = this.columnSettings.getColumns();\n //figure out which columns are displayed and show only those\n var data = this.getDataForRender(results, cols, true);\n\n var meta = this.columnSettings.getMetadataColumns();\n\n if (this.props.columnMetadata) {\n // Get column keys from column metadata\n forEach(this.props.columnMetadata, function (meta) {\n if (!(typeof meta.visible === 'boolean' && meta.visible === false)) {\n keys.push(meta.columnName);\n }\n });\n } else {\n // Grab the column keys from the first results\n keys = deep.keys(omit(results[0], meta));\n }\n\n // sort keys by order\n keys = this.columnSettings.orderColumns(keys);\n\n // Grab the current and max page values.\n var currentPage = this.getCurrentPage();\n var maxPage = this.getCurrentMaxPage();\n\n // Determine if we need to enable infinite scrolling on the table.\n var hasMorePages = currentPage + 1 < maxPage;\n\n // Grab the paging content if it's to be displayed\n var pagingContent = this.getPagingSection(currentPage, maxPage);\n\n var resultContent = this.getContentSection(data, cols, meta, pagingContent, hasMorePages, this.props.globalData);\n\n var columnSelector = this.getColumnSelectorSection(keys, cols);\n\n var gridClassName = this.props.gridClassName.length > 0 ? \"griddle \" + this.props.gridClassName : \"griddle\";\n //add custom to the class name so we can style it differently\n gridClassName += this.shouldUseCustomRowComponent() ? \" griddle-custom\" : \"\";\n\n return React.createElement('div', { className: gridClassName }, topSection, columnSelector, React.createElement('div', { className: 'griddle-container', style: this.props.useGriddleStyles && !this.props.isSubGriddle ? { border: \"1px solid #DDD\" } : null }, resultContent));\n }\n});\n\nGridRowContainer.Griddle = module.exports = Griddle;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/griddle.jsx.js\n// module id = ./node_modules/griddle-react/modules/griddle.jsx.js\n// module chunks = 0","'use strict';\n\nvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\nvar _uniqueId = require('lodash/uniqueId');\n\nvar RowProperties = (function () {\n function RowProperties() {\n var rowMetadata = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n var rowComponent = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n var isCustom = arguments.length <= 2 || arguments[2] === undefined ? false : arguments[2];\n\n _classCallCheck(this, RowProperties);\n\n this.rowMetadata = rowMetadata;\n this.rowComponent = rowComponent;\n this.isCustom = isCustom;\n // assign unique Id to each griddle instance\n }\n\n _createClass(RowProperties, [{\n key: 'getRowKey',\n value: function getRowKey(row, key) {\n var uniqueId;\n\n if (this.hasRowMetadataKey()) {\n uniqueId = row[this.rowMetadata.key];\n } else {\n uniqueId = _uniqueId(\"grid_row\");\n }\n\n //todo: add error handling\n\n return uniqueId;\n }\n }, {\n key: 'hasRowMetadataKey',\n value: function hasRowMetadataKey() {\n return this.hasRowMetadata() && this.rowMetadata.key !== null && this.rowMetadata.key !== undefined;\n }\n }, {\n key: 'getBodyRowMetadataClass',\n value: function getBodyRowMetadataClass(rowData) {\n if (this.hasRowMetadata() && this.rowMetadata.bodyCssClassName !== null && this.rowMetadata.bodyCssClassName !== undefined) {\n if (typeof this.rowMetadata.bodyCssClassName === 'function') {\n return this.rowMetadata.bodyCssClassName(rowData);\n } else {\n return this.rowMetadata.bodyCssClassName;\n }\n }\n return null;\n }\n }, {\n key: 'getHeaderRowMetadataClass',\n value: function getHeaderRowMetadataClass() {\n return this.hasRowMetadata() && this.rowMetadata.headerCssClassName !== null && this.rowMetadata.headerCssClassName !== undefined ? this.rowMetadata.headerCssClassName : null;\n }\n }, {\n key: 'hasRowMetadata',\n value: function hasRowMetadata() {\n return this.rowMetadata !== null;\n }\n }]);\n\n return RowProperties;\n})();\n\nmodule.exports = RowProperties;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/griddle-react/modules/rowProperties.js\n// module id = ./node_modules/griddle-react/modules/rowProperties.js\n// module chunks = 0","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_DataView.js\n// module id = ./node_modules/lodash/_DataView.js\n// module chunks = 0","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction 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// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_Hash.js\n// module id = ./node_modules/lodash/_Hash.js\n// module chunks = 0","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction 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// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_ListCache.js\n// module id = ./node_modules/lodash/_ListCache.js\n// module chunks = 0","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_Map.js\n// module id = ./node_modules/lodash/_Map.js\n// module chunks = 0","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\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 */\nfunction 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// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_MapCache.js\n// module id = ./node_modules/lodash/_MapCache.js\n// module chunks = 0","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_Promise.js\n// module id = ./node_modules/lodash/_Promise.js\n// module chunks = 0","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_Set.js\n// module id = ./node_modules/lodash/_Set.js\n// module chunks = 0","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\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 */\nfunction 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// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_SetCache.js\n// module id = ./node_modules/lodash/_SetCache.js\n// module chunks = 0","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\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 */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_Stack.js\n// module id = ./node_modules/lodash/_Stack.js\n// module chunks = 0","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_Symbol.js\n// module id = ./node_modules/lodash/_Symbol.js\n// module chunks = 0","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_Uint8Array.js\n// module id = ./node_modules/lodash/_Uint8Array.js\n// module chunks = 0","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_WeakMap.js\n// module id = ./node_modules/lodash/_WeakMap.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = apply;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_apply.js\n// module id = ./node_modules/lodash/_apply.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = arrayEach;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arrayEach.js\n// module id = ./node_modules/lodash/_arrayEach.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = arrayFilter;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arrayFilter.js\n// module id = ./node_modules/lodash/_arrayFilter.js\n// module chunks = 0","var baseIndexOf = require('./_baseIndexOf');\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 */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arrayIncludes.js\n// module id = ./node_modules/lodash/_arrayIncludes.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = arrayIncludesWith;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arrayIncludesWith.js\n// module id = ./node_modules/lodash/_arrayIncludesWith.js\n// module chunks = 0","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = arrayLikeKeys;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arrayLikeKeys.js\n// module id = ./node_modules/lodash/_arrayLikeKeys.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = arrayMap;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arrayMap.js\n// module id = ./node_modules/lodash/_arrayMap.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = arrayPush;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arrayPush.js\n// module id = ./node_modules/lodash/_arrayPush.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = arraySome;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_arraySome.js\n// module id = ./node_modules/lodash/_arraySome.js\n// module chunks = 0","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = assignValue;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_assignValue.js\n// module id = ./node_modules/lodash/_assignValue.js\n// module chunks = 0","var eq = require('./eq');\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 */\nfunction 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\nmodule.exports = assocIndexOf;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_assocIndexOf.js\n// module id = ./node_modules/lodash/_assocIndexOf.js\n// module chunks = 0","var copyObject = require('./_copyObject'),\n keys = require('./keys');\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 */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseAssign.js\n// module id = ./node_modules/lodash/_baseAssign.js\n// module chunks = 0","var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\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 */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseAssignIn.js\n// module id = ./node_modules/lodash/_baseAssignIn.js\n// module chunks = 0","var defineProperty = require('./_defineProperty');\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 */\nfunction 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\nmodule.exports = baseAssignValue;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseAssignValue.js\n// module id = ./node_modules/lodash/_baseAssignValue.js\n// module chunks = 0","var Stack = require('./_Stack'),\n arrayEach = require('./_arrayEach'),\n assignValue = require('./_assignValue'),\n baseAssign = require('./_baseAssign'),\n baseAssignIn = require('./_baseAssignIn'),\n cloneBuffer = require('./_cloneBuffer'),\n copyArray = require('./_copyArray'),\n copySymbols = require('./_copySymbols'),\n copySymbolsIn = require('./_copySymbolsIn'),\n getAllKeys = require('./_getAllKeys'),\n getAllKeysIn = require('./_getAllKeysIn'),\n getTag = require('./_getTag'),\n initCloneArray = require('./_initCloneArray'),\n initCloneByTag = require('./_initCloneByTag'),\n initCloneObject = require('./_initCloneObject'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isMap = require('./isMap'),\n isObject = require('./isObject'),\n isSet = require('./isSet'),\n keys = require('./keys'),\n keysIn = require('./keysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar 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 identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\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 */\nfunction 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 } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\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\nmodule.exports = baseClone;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseClone.js\n// module id = ./node_modules/lodash/_baseClone.js\n// module chunks = 0","var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\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 */\nvar 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\nmodule.exports = baseCreate;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseCreate.js\n// module id = ./node_modules/lodash/_baseCreate.js\n// module chunks = 0","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n arrayMap = require('./_arrayMap'),\n baseUnary = require('./_baseUnary'),\n cacheHas = require('./_cacheHas');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\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 */\nfunction 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\nmodule.exports = baseDifference;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseDifference.js\n// module id = ./node_modules/lodash/_baseDifference.js\n// module chunks = 0","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\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 */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseEach.js\n// module id = ./node_modules/lodash/_baseEach.js\n// module chunks = 0","var baseEach = require('./_baseEach');\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 */\nfunction 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\nmodule.exports = baseFilter;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseFilter.js\n// module id = ./node_modules/lodash/_baseFilter.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = baseFindIndex;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseFindIndex.js\n// module id = ./node_modules/lodash/_baseFindIndex.js\n// module chunks = 0","var arrayPush = require('./_arrayPush'),\n isFlattenable = require('./_isFlattenable');\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 */\nfunction 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\nmodule.exports = baseFlatten;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseFlatten.js\n// module id = ./node_modules/lodash/_baseFlatten.js\n// module chunks = 0","var createBaseFor = require('./_createBaseFor');\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 */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseFor.js\n// module id = ./node_modules/lodash/_baseFor.js\n// module chunks = 0","var baseFor = require('./_baseFor'),\n keys = require('./keys');\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 */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseForOwn.js\n// module id = ./node_modules/lodash/_baseForOwn.js\n// module chunks = 0","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\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 */\nfunction 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\nmodule.exports = baseGet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseGet.js\n// module id = ./node_modules/lodash/_baseGet.js\n// module chunks = 0","var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\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 */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseGetAllKeys.js\n// module id = ./node_modules/lodash/_baseGetAllKeys.js\n// module chunks = 0","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\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 */\nfunction 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\nmodule.exports = baseGetTag;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseGetTag.js\n// module id = ./node_modules/lodash/_baseGetTag.js\n// module chunks = 0","/**\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 */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseHasIn.js\n// module id = ./node_modules/lodash/_baseHasIn.js\n// module chunks = 0","var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\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 */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIndexOf.js\n// module id = ./node_modules/lodash/_baseIndexOf.js\n// module chunks = 0","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n arrayMap = require('./_arrayMap'),\n baseUnary = require('./_baseUnary'),\n cacheHas = require('./_cacheHas');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMin = Math.min;\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 */\nfunction 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\nmodule.exports = baseIntersection;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIntersection.js\n// module id = ./node_modules/lodash/_baseIntersection.js\n// module chunks = 0","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\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 */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsArguments.js\n// module id = ./node_modules/lodash/_baseIsArguments.js\n// module chunks = 0","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\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 */\nfunction 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\nmodule.exports = baseIsEqual;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsEqual.js\n// module id = ./node_modules/lodash/_baseIsEqual.js\n// module chunks = 0","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = baseIsEqualDeep;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsEqualDeep.js\n// module id = ./node_modules/lodash/_baseIsEqualDeep.js\n// module chunks = 0","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\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 */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsMap.js\n// module id = ./node_modules/lodash/_baseIsMap.js\n// module chunks = 0","var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\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 */\nfunction 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\nmodule.exports = baseIsMatch;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsMatch.js\n// module id = ./node_modules/lodash/_baseIsMatch.js\n// module chunks = 0","/**\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 */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsNaN.js\n// module id = ./node_modules/lodash/_baseIsNaN.js\n// module chunks = 0","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\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 */\nfunction 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\nmodule.exports = baseIsNative;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsNative.js\n// module id = ./node_modules/lodash/_baseIsNative.js\n// module chunks = 0","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\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 */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsSet.js\n// module id = ./node_modules/lodash/_baseIsSet.js\n// module chunks = 0","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar 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 identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\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 */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIsTypedArray.js\n// module id = ./node_modules/lodash/_baseIsTypedArray.js\n// module chunks = 0","var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\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 */\nfunction 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\nmodule.exports = baseIteratee;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseIteratee.js\n// module id = ./node_modules/lodash/_baseIteratee.js\n// module chunks = 0","var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = baseKeys;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseKeys.js\n// module id = ./node_modules/lodash/_baseKeys.js\n// module chunks = 0","var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = baseKeysIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseKeysIn.js\n// module id = ./node_modules/lodash/_baseKeysIn.js\n// module chunks = 0","var baseEach = require('./_baseEach'),\n isArrayLike = require('./isArrayLike');\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 */\nfunction 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\nmodule.exports = baseMap;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseMap.js\n// module id = ./node_modules/lodash/_baseMap.js\n// module chunks = 0","var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\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 */\nfunction 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\nmodule.exports = baseMatches;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseMatches.js\n// module id = ./node_modules/lodash/_baseMatches.js\n// module chunks = 0","var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\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 */\nfunction 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\nmodule.exports = baseMatchesProperty;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseMatchesProperty.js\n// module id = ./node_modules/lodash/_baseMatchesProperty.js\n// module chunks = 0","var arrayMap = require('./_arrayMap'),\n baseGet = require('./_baseGet'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n baseSortBy = require('./_baseSortBy'),\n baseUnary = require('./_baseUnary'),\n compareMultiple = require('./_compareMultiple'),\n identity = require('./identity'),\n isArray = require('./isArray');\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 */\nfunction baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(baseIteratee));\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\nmodule.exports = baseOrderBy;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseOrderBy.js\n// module id = ./node_modules/lodash/_baseOrderBy.js\n// module chunks = 0","var basePickBy = require('./_basePickBy'),\n hasIn = require('./hasIn');\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 */\nfunction basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n}\n\nmodule.exports = basePick;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_basePick.js\n// module id = ./node_modules/lodash/_basePick.js\n// module chunks = 0","var baseGet = require('./_baseGet'),\n baseSet = require('./_baseSet'),\n castPath = require('./_castPath');\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 */\nfunction 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\nmodule.exports = basePickBy;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_basePickBy.js\n// module id = ./node_modules/lodash/_basePickBy.js\n// module chunks = 0","/**\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 */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseProperty.js\n// module id = ./node_modules/lodash/_baseProperty.js\n// module chunks = 0","var baseGet = require('./_baseGet');\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 */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_basePropertyDeep.js\n// module id = ./node_modules/lodash/_basePropertyDeep.js\n// module chunks = 0","var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\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 */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseRest.js\n// module id = ./node_modules/lodash/_baseRest.js\n// module chunks = 0","var assignValue = require('./_assignValue'),\n castPath = require('./_castPath'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject'),\n toKey = require('./_toKey');\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 */\nfunction 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 (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return object;\n }\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\nmodule.exports = baseSet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseSet.js\n// module id = ./node_modules/lodash/_baseSet.js\n// module chunks = 0","var constant = require('./constant'),\n defineProperty = require('./_defineProperty'),\n identity = require('./identity');\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 */\nvar 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\nmodule.exports = baseSetToString;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseSetToString.js\n// module id = ./node_modules/lodash/_baseSetToString.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = baseSlice;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseSlice.js\n// module id = ./node_modules/lodash/_baseSlice.js\n// module chunks = 0","var baseEach = require('./_baseEach');\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 */\nfunction 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\nmodule.exports = baseSome;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseSome.js\n// module id = ./node_modules/lodash/_baseSome.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = baseSortBy;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseSortBy.js\n// module id = ./node_modules/lodash/_baseSortBy.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = baseTimes;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseTimes.js\n// module id = ./node_modules/lodash/_baseTimes.js\n// module chunks = 0","var arrayMap = require('./_arrayMap');\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 */\nfunction baseToPairs(object, props) {\n return arrayMap(props, function(key) {\n return [key, object[key]];\n });\n}\n\nmodule.exports = baseToPairs;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseToPairs.js\n// module id = ./node_modules/lodash/_baseToPairs.js\n// module chunks = 0","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\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 */\nfunction 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\nmodule.exports = baseToString;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseToString.js\n// module id = ./node_modules/lodash/_baseToString.js\n// module chunks = 0","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseTrim.js\n// module id = ./node_modules/lodash/_baseTrim.js\n// module chunks = 0","/**\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 */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseUnary.js\n// module id = ./node_modules/lodash/_baseUnary.js\n// module chunks = 0","var castPath = require('./_castPath'),\n last = require('./last'),\n parent = require('./_parent'),\n toKey = require('./_toKey');\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 */\nfunction baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n}\n\nmodule.exports = baseUnset;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseUnset.js\n// module id = ./node_modules/lodash/_baseUnset.js\n// module chunks = 0","var arrayMap = require('./_arrayMap');\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 */\nfunction baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n}\n\nmodule.exports = baseValues;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseValues.js\n// module id = ./node_modules/lodash/_baseValues.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = baseZipObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_baseZipObject.js\n// module id = ./node_modules/lodash/_baseZipObject.js\n// module chunks = 0","/**\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 */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_cacheHas.js\n// module id = ./node_modules/lodash/_cacheHas.js\n// module chunks = 0","var isArrayLikeObject = require('./isArrayLikeObject');\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 */\nfunction castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n}\n\nmodule.exports = castArrayLikeObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_castArrayLikeObject.js\n// module id = ./node_modules/lodash/_castArrayLikeObject.js\n// module chunks = 0","var identity = require('./identity');\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 */\nfunction castFunction(value) {\n return typeof value == 'function' ? value : identity;\n}\n\nmodule.exports = castFunction;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_castFunction.js\n// module id = ./node_modules/lodash/_castFunction.js\n// module chunks = 0","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\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 */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_castPath.js\n// module id = ./node_modules/lodash/_castPath.js\n// module chunks = 0","var Uint8Array = require('./_Uint8Array');\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 */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_cloneArrayBuffer.js\n// module id = ./node_modules/lodash/_cloneArrayBuffer.js\n// module chunks = 0","var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\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 */\nfunction 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\nmodule.exports = cloneBuffer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_cloneBuffer.js\n// module id = ./node_modules/lodash/_cloneBuffer.js\n// module chunks = 0","var cloneArrayBuffer = require('./_cloneArrayBuffer');\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 */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_cloneDataView.js\n// module id = ./node_modules/lodash/_cloneDataView.js\n// module chunks = 0","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\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 */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_cloneRegExp.js\n// module id = ./node_modules/lodash/_cloneRegExp.js\n// module chunks = 0","var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\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 */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_cloneSymbol.js\n// module id = ./node_modules/lodash/_cloneSymbol.js\n// module chunks = 0","var cloneArrayBuffer = require('./_cloneArrayBuffer');\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 */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_cloneTypedArray.js\n// module id = ./node_modules/lodash/_cloneTypedArray.js\n// module chunks = 0","var isSymbol = require('./isSymbol');\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 */\nfunction 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\nmodule.exports = compareAscending;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_compareAscending.js\n// module id = ./node_modules/lodash/_compareAscending.js\n// module chunks = 0","var compareAscending = require('./_compareAscending');\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 */\nfunction 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\nmodule.exports = compareMultiple;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_compareMultiple.js\n// module id = ./node_modules/lodash/_compareMultiple.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = copyArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_copyArray.js\n// module id = ./node_modules/lodash/_copyArray.js\n// module chunks = 0","var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\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 */\nfunction 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\nmodule.exports = copyObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_copyObject.js\n// module id = ./node_modules/lodash/_copyObject.js\n// module chunks = 0","var copyObject = require('./_copyObject'),\n getSymbols = require('./_getSymbols');\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 */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_copySymbols.js\n// module id = ./node_modules/lodash/_copySymbols.js\n// module chunks = 0","var copyObject = require('./_copyObject'),\n getSymbolsIn = require('./_getSymbolsIn');\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 */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_copySymbolsIn.js\n// module id = ./node_modules/lodash/_copySymbolsIn.js\n// module chunks = 0","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_coreJsData.js\n// module id = ./node_modules/lodash/_coreJsData.js\n// module chunks = 0","var baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\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 */\nfunction 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\nmodule.exports = createAssigner;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_createAssigner.js\n// module id = ./node_modules/lodash/_createAssigner.js\n// module chunks = 0","var isArrayLike = require('./isArrayLike');\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 */\nfunction 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\nmodule.exports = createBaseEach;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_createBaseEach.js\n// module id = ./node_modules/lodash/_createBaseEach.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = createBaseFor;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_createBaseFor.js\n// module id = ./node_modules/lodash/_createBaseFor.js\n// module chunks = 0","var baseIteratee = require('./_baseIteratee'),\n isArrayLike = require('./isArrayLike'),\n keys = require('./keys');\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 */\nfunction createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = baseIteratee(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\nmodule.exports = createFind;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_createFind.js\n// module id = ./node_modules/lodash/_createFind.js\n// module chunks = 0","var baseToPairs = require('./_baseToPairs'),\n getTag = require('./_getTag'),\n mapToArray = require('./_mapToArray'),\n setToPairs = require('./_setToPairs');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\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 */\nfunction 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\nmodule.exports = createToPairs;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_createToPairs.js\n// module id = ./node_modules/lodash/_createToPairs.js\n// module chunks = 0","var isPlainObject = require('./isPlainObject');\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 */\nfunction customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n}\n\nmodule.exports = customOmitClone;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_customOmitClone.js\n// module id = ./node_modules/lodash/_customOmitClone.js\n// module chunks = 0","var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_defineProperty.js\n// module id = ./node_modules/lodash/_defineProperty.js\n// module chunks = 0","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\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 */\nfunction 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 // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\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\nmodule.exports = equalArrays;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_equalArrays.js\n// module id = ./node_modules/lodash/_equalArrays.js\n// module chunks = 0","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\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 */\nfunction 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\nmodule.exports = equalByTag;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_equalByTag.js\n// module id = ./node_modules/lodash/_equalByTag.js\n// module chunks = 0","var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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 // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\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\nmodule.exports = equalObjects;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_equalObjects.js\n// module id = ./node_modules/lodash/_equalObjects.js\n// module chunks = 0","var flatten = require('./flatten'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\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 */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nmodule.exports = flatRest;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_flatRest.js\n// module id = ./node_modules/lodash/_flatRest.js\n// module chunks = 0","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_freeGlobal.js\n// module id = ./node_modules/lodash/_freeGlobal.js\n// module chunks = 0","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\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 */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getAllKeys.js\n// module id = ./node_modules/lodash/_getAllKeys.js\n// module chunks = 0","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbolsIn = require('./_getSymbolsIn'),\n keysIn = require('./keysIn');\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 */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getAllKeysIn.js\n// module id = ./node_modules/lodash/_getAllKeysIn.js\n// module chunks = 0","var isKeyable = require('./_isKeyable');\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 */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getMapData.js\n// module id = ./node_modules/lodash/_getMapData.js\n// module chunks = 0","var isStrictComparable = require('./_isStrictComparable'),\n keys = require('./keys');\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 */\nfunction 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\nmodule.exports = getMatchData;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getMatchData.js\n// module id = ./node_modules/lodash/_getMatchData.js\n// module chunks = 0","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\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 */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getNative.js\n// module id = ./node_modules/lodash/_getNative.js\n// module chunks = 0","var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getPrototype.js\n// module id = ./node_modules/lodash/_getPrototype.js\n// module chunks = 0","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\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 */\nfunction 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\nmodule.exports = getRawTag;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getRawTag.js\n// module id = ./node_modules/lodash/_getRawTag.js\n// module chunks = 0","var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\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 */\nvar 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\nmodule.exports = getSymbols;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getSymbols.js\n// module id = ./node_modules/lodash/_getSymbols.js\n// module chunks = 0","var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\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 */\nvar 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\nmodule.exports = getSymbolsIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getSymbolsIn.js\n// module id = ./node_modules/lodash/_getSymbolsIn.js\n// module chunks = 0","var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\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 */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((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\nmodule.exports = getTag;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getTag.js\n// module id = ./node_modules/lodash/_getTag.js\n// module chunks = 0","/**\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 */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_getValue.js\n// module id = ./node_modules/lodash/_getValue.js\n// module chunks = 0","var castPath = require('./_castPath'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isIndex = require('./_isIndex'),\n isLength = require('./isLength'),\n toKey = require('./_toKey');\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 */\nfunction 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\nmodule.exports = hasPath;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_hasPath.js\n// module id = ./node_modules/lodash/_hasPath.js\n// module chunks = 0","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_hashClear.js\n// module id = ./node_modules/lodash/_hashClear.js\n// module chunks = 0","/**\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 */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_hashDelete.js\n// module id = ./node_modules/lodash/_hashDelete.js\n// module chunks = 0","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = hashGet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_hashGet.js\n// module id = ./node_modules/lodash/_hashGet.js\n// module chunks = 0","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_hashHas.js\n// module id = ./node_modules/lodash/_hashHas.js\n// module chunks = 0","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\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 */\nfunction 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\nmodule.exports = hashSet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_hashSet.js\n// module id = ./node_modules/lodash/_hashSet.js\n// module chunks = 0","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = initCloneArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_initCloneArray.js\n// module id = ./node_modules/lodash/_initCloneArray.js\n// module chunks = 0","var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar 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/**\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 */\nfunction 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\nmodule.exports = initCloneByTag;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_initCloneByTag.js\n// module id = ./node_modules/lodash/_initCloneByTag.js\n// module chunks = 0","var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\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 */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_initCloneObject.js\n// module id = ./node_modules/lodash/_initCloneObject.js\n// module chunks = 0","var Symbol = require('./_Symbol'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray');\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\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 */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isFlattenable.js\n// module id = ./node_modules/lodash/_isFlattenable.js\n// module chunks = 0","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\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 */\nfunction 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\nmodule.exports = isIndex;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isIndex.js\n// module id = ./node_modules/lodash/_isIndex.js\n// module chunks = 0","var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\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 */\nfunction 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\nmodule.exports = isIterateeCall;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isIterateeCall.js\n// module id = ./node_modules/lodash/_isIterateeCall.js\n// module chunks = 0","var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\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 */\nfunction 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\nmodule.exports = isKey;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isKey.js\n// module id = ./node_modules/lodash/_isKey.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = isKeyable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isKeyable.js\n// module id = ./node_modules/lodash/_isKeyable.js\n// module chunks = 0","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\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 */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isMasked.js\n// module id = ./node_modules/lodash/_isMasked.js\n// module chunks = 0","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\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 */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isPrototype.js\n// module id = ./node_modules/lodash/_isPrototype.js\n// module chunks = 0","var isObject = require('./isObject');\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 */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_isStrictComparable.js\n// module id = ./node_modules/lodash/_isStrictComparable.js\n// module chunks = 0","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_listCacheClear.js\n// module id = ./node_modules/lodash/_listCacheClear.js\n// module chunks = 0","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\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 */\nfunction 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\nmodule.exports = listCacheDelete;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_listCacheDelete.js\n// module id = ./node_modules/lodash/_listCacheDelete.js\n// module chunks = 0","var assocIndexOf = require('./_assocIndexOf');\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 */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_listCacheGet.js\n// module id = ./node_modules/lodash/_listCacheGet.js\n// module chunks = 0","var assocIndexOf = require('./_assocIndexOf');\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 */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_listCacheHas.js\n// module id = ./node_modules/lodash/_listCacheHas.js\n// module chunks = 0","var assocIndexOf = require('./_assocIndexOf');\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 */\nfunction 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\nmodule.exports = listCacheSet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_listCacheSet.js\n// module id = ./node_modules/lodash/_listCacheSet.js\n// module chunks = 0","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_mapCacheClear.js\n// module id = ./node_modules/lodash/_mapCacheClear.js\n// module chunks = 0","var getMapData = require('./_getMapData');\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 */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_mapCacheDelete.js\n// module id = ./node_modules/lodash/_mapCacheDelete.js\n// module chunks = 0","var getMapData = require('./_getMapData');\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 */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_mapCacheGet.js\n// module id = ./node_modules/lodash/_mapCacheGet.js\n// module chunks = 0","var getMapData = require('./_getMapData');\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 */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_mapCacheHas.js\n// module id = ./node_modules/lodash/_mapCacheHas.js\n// module chunks = 0","var getMapData = require('./_getMapData');\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 */\nfunction 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\nmodule.exports = mapCacheSet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_mapCacheSet.js\n// module id = ./node_modules/lodash/_mapCacheSet.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = mapToArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_mapToArray.js\n// module id = ./node_modules/lodash/_mapToArray.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = matchesStrictComparable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_matchesStrictComparable.js\n// module id = ./node_modules/lodash/_matchesStrictComparable.js\n// module chunks = 0","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\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 */\nfunction 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\nmodule.exports = memoizeCapped;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_memoizeCapped.js\n// module id = ./node_modules/lodash/_memoizeCapped.js\n// module chunks = 0","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_nativeCreate.js\n// module id = ./node_modules/lodash/_nativeCreate.js\n// module chunks = 0","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_nativeKeys.js\n// module id = ./node_modules/lodash/_nativeKeys.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = nativeKeysIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_nativeKeysIn.js\n// module id = ./node_modules/lodash/_nativeKeysIn.js\n// module chunks = 0","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_nodeUtil.js\n// module id = ./node_modules/lodash/_nodeUtil.js\n// module chunks = 0","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\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 */\nvar nativeObjectToString = objectProto.toString;\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 */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_objectToString.js\n// module id = ./node_modules/lodash/_objectToString.js\n// module chunks = 0","/**\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 */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_overArg.js\n// module id = ./node_modules/lodash/_overArg.js\n// module chunks = 0","var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\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 */\nfunction 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\nmodule.exports = overRest;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_overRest.js\n// module id = ./node_modules/lodash/_overRest.js\n// module chunks = 0","var baseGet = require('./_baseGet'),\n baseSlice = require('./_baseSlice');\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 */\nfunction parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n}\n\nmodule.exports = parent;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_parent.js\n// module id = ./node_modules/lodash/_parent.js\n// module chunks = 0","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_root.js\n// module id = ./node_modules/lodash/_root.js\n// module chunks = 0","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\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 */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_setCacheAdd.js\n// module id = ./node_modules/lodash/_setCacheAdd.js\n// module chunks = 0","/**\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 */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_setCacheHas.js\n// module id = ./node_modules/lodash/_setCacheHas.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = setToArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_setToArray.js\n// module id = ./node_modules/lodash/_setToArray.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = setToPairs;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_setToPairs.js\n// module id = ./node_modules/lodash/_setToPairs.js\n// module chunks = 0","var baseSetToString = require('./_baseSetToString'),\n shortOut = require('./_shortOut');\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 */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_setToString.js\n// module id = ./node_modules/lodash/_setToString.js\n// module chunks = 0","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\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 */\nfunction 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\nmodule.exports = shortOut;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_shortOut.js\n// module id = ./node_modules/lodash/_shortOut.js\n// module chunks = 0","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_stackClear.js\n// module id = ./node_modules/lodash/_stackClear.js\n// module chunks = 0","/**\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 */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_stackDelete.js\n// module id = ./node_modules/lodash/_stackDelete.js\n// module chunks = 0","/**\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 */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_stackGet.js\n// module id = ./node_modules/lodash/_stackGet.js\n// module chunks = 0","/**\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 */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_stackHas.js\n// module id = ./node_modules/lodash/_stackHas.js\n// module chunks = 0","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\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 */\nfunction 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\nmodule.exports = stackSet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_stackSet.js\n// module id = ./node_modules/lodash/_stackSet.js\n// module chunks = 0","/**\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 */\nfunction 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\nmodule.exports = strictIndexOf;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_strictIndexOf.js\n// module id = ./node_modules/lodash/_strictIndexOf.js\n// module chunks = 0","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\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 */\nvar 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\nmodule.exports = stringToPath;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_stringToPath.js\n// module id = ./node_modules/lodash/_stringToPath.js\n// module chunks = 0","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\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 */\nfunction 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\nmodule.exports = toKey;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_toKey.js\n// module id = ./node_modules/lodash/_toKey.js\n// module chunks = 0","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\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 */\nfunction 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\nmodule.exports = toSource;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_toSource.js\n// module id = ./node_modules/lodash/_toSource.js\n// module chunks = 0","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/_trimmedEndIndex.js\n// module id = ./node_modules/lodash/_trimmedEndIndex.js\n// module chunks = 0","var assignValue = require('./_assignValue'),\n copyObject = require('./_copyObject'),\n createAssigner = require('./_createAssigner'),\n isArrayLike = require('./isArrayLike'),\n isPrototype = require('./_isPrototype'),\n keys = require('./keys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nvar 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\nmodule.exports = assign;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/assign.js\n// module id = ./node_modules/lodash/assign.js\n// module chunks = 0","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/constant.js\n// module id = ./node_modules/lodash/constant.js\n// module chunks = 0","var baseRest = require('./_baseRest'),\n eq = require('./eq'),\n isIterateeCall = require('./_isIterateeCall'),\n keysIn = require('./keysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nvar 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\nmodule.exports = defaults;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/defaults.js\n// module id = ./node_modules/lodash/defaults.js\n// module chunks = 0","var baseDifference = require('./_baseDifference'),\n baseFlatten = require('./_baseFlatten'),\n baseRest = require('./_baseRest'),\n isArrayLikeObject = require('./isArrayLikeObject');\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 */\nvar difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n});\n\nmodule.exports = difference;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/difference.js\n// module id = ./node_modules/lodash/difference.js\n// module chunks = 0","var baseSlice = require('./_baseSlice'),\n toInteger = require('./toInteger');\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 */\nfunction 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\nmodule.exports = drop;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/drop.js\n// module id = ./node_modules/lodash/drop.js\n// module chunks = 0","var baseSlice = require('./_baseSlice'),\n toInteger = require('./toInteger');\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 */\nfunction 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\nmodule.exports = dropRight;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/dropRight.js\n// module id = ./node_modules/lodash/dropRight.js\n// module chunks = 0","/**\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 */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/eq.js\n// module id = ./node_modules/lodash/eq.js\n// module chunks = 0","var arrayFilter = require('./_arrayFilter'),\n baseFilter = require('./_baseFilter'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\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 * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\nfunction filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = filter;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/filter.js\n// module id = ./node_modules/lodash/filter.js\n// module chunks = 0","var createFind = require('./_createFind'),\n findIndex = require('./findIndex');\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 */\nvar find = createFind(findIndex);\n\nmodule.exports = find;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/find.js\n// module id = ./node_modules/lodash/find.js\n// module chunks = 0","var baseFindIndex = require('./_baseFindIndex'),\n baseIteratee = require('./_baseIteratee'),\n toInteger = require('./toInteger');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\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 */\nfunction 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, baseIteratee(predicate, 3), index);\n}\n\nmodule.exports = findIndex;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/findIndex.js\n// module id = ./node_modules/lodash/findIndex.js\n// module chunks = 0","var baseFlatten = require('./_baseFlatten');\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 */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/flatten.js\n// module id = ./node_modules/lodash/flatten.js\n// module chunks = 0","var arrayEach = require('./_arrayEach'),\n baseEach = require('./_baseEach'),\n castFunction = require('./_castFunction'),\n isArray = require('./isArray');\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 */\nfunction forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, castFunction(iteratee));\n}\n\nmodule.exports = forEach;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/forEach.js\n// module id = ./node_modules/lodash/forEach.js\n// module chunks = 0","var baseForOwn = require('./_baseForOwn'),\n castFunction = require('./_castFunction');\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 */\nfunction forOwn(object, iteratee) {\n return object && baseForOwn(object, castFunction(iteratee));\n}\n\nmodule.exports = forOwn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/forOwn.js\n// module id = ./node_modules/lodash/forOwn.js\n// module chunks = 0","var baseGet = require('./_baseGet');\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 */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/get.js\n// module id = ./node_modules/lodash/get.js\n// module chunks = 0","var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\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 */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/hasIn.js\n// module id = ./node_modules/lodash/hasIn.js\n// module chunks = 0","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/identity.js\n// module id = ./node_modules/lodash/identity.js\n// module chunks = 0","var baseIndexOf = require('./_baseIndexOf'),\n isArrayLike = require('./isArrayLike'),\n isString = require('./isString'),\n toInteger = require('./toInteger'),\n values = require('./values');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\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 */\nfunction 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\nmodule.exports = includes;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/includes.js\n// module id = ./node_modules/lodash/includes.js\n// module chunks = 0","var baseSlice = require('./_baseSlice');\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 */\nfunction initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n}\n\nmodule.exports = initial;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/initial.js\n// module id = ./node_modules/lodash/initial.js\n// module chunks = 0","var arrayMap = require('./_arrayMap'),\n baseIntersection = require('./_baseIntersection'),\n baseRest = require('./_baseRest'),\n castArrayLikeObject = require('./_castArrayLikeObject');\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 */\nvar intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n});\n\nmodule.exports = intersection;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/intersection.js\n// module id = ./node_modules/lodash/intersection.js\n// module chunks = 0","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\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 */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isArguments.js\n// module id = ./node_modules/lodash/isArguments.js\n// module chunks = 0","/**\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 */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isArray.js\n// module id = ./node_modules/lodash/isArray.js\n// module chunks = 0","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\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 */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isArrayLike.js\n// module id = ./node_modules/lodash/isArrayLike.js\n// module chunks = 0","var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\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 */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isArrayLikeObject.js\n// module id = ./node_modules/lodash/isArrayLikeObject.js\n// module chunks = 0","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\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 */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isBuffer.js\n// module id = ./node_modules/lodash/isBuffer.js\n// module chunks = 0","var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLike = require('./isArrayLike'),\n isBuffer = require('./isBuffer'),\n isPrototype = require('./_isPrototype'),\n isTypedArray = require('./isTypedArray');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\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 */\nfunction 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\nmodule.exports = isEmpty;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isEmpty.js\n// module id = ./node_modules/lodash/isEmpty.js\n// module chunks = 0","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\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 */\nfunction 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\nmodule.exports = isFunction;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isFunction.js\n// module id = ./node_modules/lodash/isFunction.js\n// module chunks = 0","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\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 */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isLength.js\n// module id = ./node_modules/lodash/isLength.js\n// module chunks = 0","var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\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 */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isMap.js\n// module id = ./node_modules/lodash/isMap.js\n// module chunks = 0","/**\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 */\nfunction isNull(value) {\n return value === null;\n}\n\nmodule.exports = isNull;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isNull.js\n// module id = ./node_modules/lodash/isNull.js\n// module chunks = 0","/**\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 */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isObject.js\n// module id = ./node_modules/lodash/isObject.js\n// module chunks = 0","/**\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 */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isObjectLike.js\n// module id = ./node_modules/lodash/isObjectLike.js\n// module chunks = 0","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\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 */\nfunction 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\nmodule.exports = isPlainObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isPlainObject.js\n// module id = ./node_modules/lodash/isPlainObject.js\n// module chunks = 0","var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\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 */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isSet.js\n// module id = ./node_modules/lodash/isSet.js\n// module chunks = 0","var baseGetTag = require('./_baseGetTag'),\n isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\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 */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isString.js\n// module id = ./node_modules/lodash/isString.js\n// module chunks = 0","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\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 */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isSymbol.js\n// module id = ./node_modules/lodash/isSymbol.js\n// module chunks = 0","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\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 */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isTypedArray.js\n// module id = ./node_modules/lodash/isTypedArray.js\n// module chunks = 0","/**\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 */\nfunction isUndefined(value) {\n return value === undefined;\n}\n\nmodule.exports = isUndefined;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/isUndefined.js\n// module id = ./node_modules/lodash/isUndefined.js\n// module chunks = 0","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\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 */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/keys.js\n// module id = ./node_modules/lodash/keys.js\n// module chunks = 0","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\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 */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/keysIn.js\n// module id = ./node_modules/lodash/keysIn.js\n// module chunks = 0","/**\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 */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/last.js\n// module id = ./node_modules/lodash/last.js\n// module chunks = 0","var arrayMap = require('./_arrayMap'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n isArray = require('./isArray');\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 */\nfunction map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, baseIteratee(iteratee, 3));\n}\n\nmodule.exports = map;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/map.js\n// module id = ./node_modules/lodash/map.js\n// module chunks = 0","var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\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 */\nfunction 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`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/memoize.js\n// module id = ./node_modules/lodash/memoize.js\n// module chunks = 0","var arrayMap = require('./_arrayMap'),\n baseClone = require('./_baseClone'),\n baseUnset = require('./_baseUnset'),\n castPath = require('./_castPath'),\n copyObject = require('./_copyObject'),\n customOmitClone = require('./_customOmitClone'),\n flatRest = require('./_flatRest'),\n getAllKeysIn = require('./_getAllKeysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\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 */\nvar 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\nmodule.exports = omit;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/omit.js\n// module id = ./node_modules/lodash/omit.js\n// module chunks = 0","var baseOrderBy = require('./_baseOrderBy'),\n isArray = require('./isArray');\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 */\nfunction 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\nmodule.exports = orderBy;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/orderBy.js\n// module id = ./node_modules/lodash/orderBy.js\n// module chunks = 0","var basePick = require('./_basePick'),\n flatRest = require('./_flatRest');\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 */\nvar pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n});\n\nmodule.exports = pick;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/pick.js\n// module id = ./node_modules/lodash/pick.js\n// module chunks = 0","var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/property.js\n// module id = ./node_modules/lodash/property.js\n// module chunks = 0","var arraySome = require('./_arraySome'),\n baseIteratee = require('./_baseIteratee'),\n baseSome = require('./_baseSome'),\n isArray = require('./isArray'),\n isIterateeCall = require('./_isIterateeCall');\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 */\nfunction 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, baseIteratee(predicate, 3));\n}\n\nmodule.exports = some;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/some.js\n// module id = ./node_modules/lodash/some.js\n// module chunks = 0","var baseFlatten = require('./_baseFlatten'),\n baseOrderBy = require('./_baseOrderBy'),\n baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\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': 30 },\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', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\nvar 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\nmodule.exports = sortBy;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/sortBy.js\n// module id = ./node_modules/lodash/sortBy.js\n// module chunks = 0","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/stubArray.js\n// module id = ./node_modules/lodash/stubArray.js\n// module chunks = 0","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/stubFalse.js\n// module id = ./node_modules/lodash/stubFalse.js\n// module chunks = 0","var baseSlice = require('./_baseSlice'),\n toInteger = require('./toInteger');\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 */\nfunction 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\nmodule.exports = take;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/take.js\n// module id = ./node_modules/lodash/take.js\n// module chunks = 0","var toNumber = require('./toNumber');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\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 */\nfunction 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\nmodule.exports = toFinite;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/toFinite.js\n// module id = ./node_modules/lodash/toFinite.js\n// module chunks = 0","var toFinite = require('./toFinite');\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 */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/toInteger.js\n// module id = ./node_modules/lodash/toInteger.js\n// module chunks = 0","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\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 */\nfunction 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 = baseTrim(value);\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\nmodule.exports = toNumber;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/toNumber.js\n// module id = ./node_modules/lodash/toNumber.js\n// module chunks = 0","var createToPairs = require('./_createToPairs'),\n keys = require('./keys');\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 */\nvar toPairs = createToPairs(keys);\n\nmodule.exports = toPairs;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/toPairs.js\n// module id = ./node_modules/lodash/toPairs.js\n// module chunks = 0","var baseToString = require('./_baseToString');\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 */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/toString.js\n// module id = ./node_modules/lodash/toString.js\n// module chunks = 0","var toString = require('./toString');\n\n/** Used to generate unique IDs. */\nvar idCounter = 0;\n\n/**\n * Generates a unique ID. If `prefix` is given, the ID is appended to it.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {string} [prefix=''] The value to prefix the ID with.\n * @returns {string} Returns the unique ID.\n * @example\n *\n * _.uniqueId('contact_');\n * // => 'contact_104'\n *\n * _.uniqueId();\n * // => '105'\n */\nfunction uniqueId(prefix) {\n var id = ++idCounter;\n return toString(prefix) + id;\n}\n\nmodule.exports = uniqueId;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/uniqueId.js\n// module id = ./node_modules/lodash/uniqueId.js\n// module chunks = 0","var baseValues = require('./_baseValues'),\n keys = require('./keys');\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 */\nfunction values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n}\n\nmodule.exports = values;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/values.js\n// module id = ./node_modules/lodash/values.js\n// module chunks = 0","var baseDifference = require('./_baseDifference'),\n baseRest = require('./_baseRest'),\n isArrayLikeObject = require('./isArrayLikeObject');\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 */\nvar without = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, values)\n : [];\n});\n\nmodule.exports = without;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/without.js\n// module id = ./node_modules/lodash/without.js\n// module chunks = 0","var assignValue = require('./_assignValue'),\n baseZipObject = require('./_baseZipObject');\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 */\nfunction zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n}\n\nmodule.exports = zipObject;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash/zipObject.js\n// module id = ./node_modules/lodash/zipObject.js\n// module chunks = 0","/*\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\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/object-assign/index.js\n// module id = ./node_modules/object-assign/index.js\n// module chunks = 0","(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :\n\ttypeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :\n\t(factory((global.ReactResizeAware = global.ReactResizeAware || {}),global.React));\n}(this, (function (exports,react) { 'use strict';\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n//\n// react-resize-aware component\n//\n// Triggers a `resize` event everytime the component changes its sizes\n// MIT License\n// Copyright 2016, Federico Zivolo\n//\n\nvar style = {\n display: 'block',\n opacity: 0,\n position: 'absolute',\n top: 0,\n left: 0,\n height: '100%',\n width: '100%',\n overflow: 'hidden',\n pointerEvents: 'none',\n zIndex: -1\n};\n\nvar ResizeAware = function (_Component) {\n _inherits(ResizeAware, _Component);\n\n function ResizeAware() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, ResizeAware);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = ResizeAware.__proto__ || Object.getPrototypeOf(ResizeAware)).call.apply(_ref, [this].concat(args))), _this), _this.state = {}, _this.handleObjectLoad = function (evt) {\n _this.setState({\n resizeTarget: evt.target.contentDocument.defaultView\n }, function () {\n _this.state.resizeTarget.addEventListener('resize', _this.handleResize);\n _this.handleResize();\n });\n }, _this.handleResize = function () {\n var sizes = {\n width: _this.container.offsetWidth,\n height: _this.container.offsetHeight\n };\n _this.setState(sizes);\n _this.props.onResize && _this.props.onResize(sizes);\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(ResizeAware, [{\n key: 'componentDidMount',\n\n\n // Init the resizeElement\n value: function componentDidMount() {\n this.resizeElement.data = 'about:blank';\n }\n\n // Called when the object is loaded\n\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n var resizeTarget = this.state.resizeTarget;\n\n // ensure the resizeTarget exists and is in fact an event listener\n // this fixes an issue where contentDocument.defaultView is not a real window object\n // as can be the case when used with react portals\n\n var isListener = resizeTarget && typeof resizeTarget.removeEventListener === 'function';\n\n isListener && resizeTarget.removeEventListener('resize', this.handleResize);\n }\n\n // Function called on component resize\n\n }, {\n key: 'render',\n value: function render() {\n var _sizes,\n _this2 = this;\n\n var _props = this.props,\n children = _props.children,\n onResize = _props.onResize,\n onlyEvent = _props.onlyEvent,\n component = _props.component,\n widthPropName = _props.widthPropName,\n heightPropName = _props.heightPropName,\n props = _objectWithoutProperties(_props, ['children', 'onResize', 'onlyEvent', 'component', 'widthPropName', 'heightPropName']);\n\n var _state = this.state,\n width = _state.width,\n height = _state.height;\n\n\n var hasCustomComponent = typeof component !== 'string';\n\n var widthProp = [widthPropName || 'width'];\n var heightProp = [heightPropName || 'height'];\n\n var sizes = (_sizes = {}, _defineProperty(_sizes, widthProp, width), _defineProperty(_sizes, heightProp, height), _sizes);\n\n return react.createElement(component, _extends(_defineProperty({}, hasCustomComponent ? 'getRef' : 'ref', function (el) {\n return _this2.container = el;\n }), hasCustomComponent && sizes, props), react.createElement('object', {\n type: 'text/html',\n style: style,\n ref: function ref(el) {\n return _this2.resizeElement = el;\n },\n onLoad: this.handleObjectLoad,\n 'aria-hidden': true,\n tabIndex: -1\n }), typeof children === 'function' ? children({ width: width, height: height }) : react.Children.map(children, function (child) {\n return react.isValidElement(child) ? react.cloneElement(child, !onlyEvent ? sizes : null) : child;\n }));\n }\n }]);\n\n return ResizeAware;\n}(react.Component);\n\nResizeAware.defaultProps = {\n component: 'div',\n // don't define here the defaults to avoid to break\n // the render result of previous versions\n // TODO: use defaultProps to define default values\n widthPropName: undefined,\n heightPropName: undefined\n};\nfunction makeResizeAware(component) {\n return function (props) {\n return react.createElement(ResizeAware, _extends({ component: component }, props));\n };\n}\n\nexports['default'] = ResizeAware;\nexports.makeResizeAware = makeResizeAware;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n//# sourceMappingURL=index.js.map\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-resize-aware/dist/index.js\n// module id = ./node_modules/react-resize-aware/dist/index.js\n// module chunks = 0","/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]]\n ]).join('');\n}\n\nmodule.exports = bytesToUuid;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/uuid/lib/bytesToUuid.js\n// module id = ./node_modules/uuid/lib/bytesToUuid.js\n// module chunks = 0","// Unique ID creation requires a high quality random # generator. In the\n// browser this is a little complicated due to unknown quality of Math.random()\n// and inconsistent support for the `crypto` API. We do the best we can via\n// feature-detection\n\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto\n// implementation. Also, find the complete implementation of crypto on IE11.\nvar getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||\n (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));\n\nif (getRandomValues) {\n // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto\n var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef\n\n module.exports = function whatwgRNG() {\n getRandomValues(rnds8);\n return rnds8;\n };\n} else {\n // Math.random()-based (RNG)\n //\n // If all else fails, use Math.random(). It's fast, but is of unspecified\n // quality.\n var rnds = new Array(16);\n\n module.exports = function mathRNG() {\n for (var i = 0, r; i < 16; i++) {\n if ((i & 0x03) === 0) r = Math.random() * 0x100000000;\n rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;\n }\n\n return rnds;\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/uuid/lib/rng-browser.js\n// module id = ./node_modules/uuid/lib/rng-browser.js\n// module chunks = 0","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nvar _nodeId;\nvar _clockseq;\n\n// Previous uuid creation time\nvar _lastMSecs = 0;\nvar _lastNSecs = 0;\n\n// See https://github.com/uuidjs/uuid for API details\nfunction v1(options, buf, offset) {\n var i = buf && offset || 0;\n var b = buf || [];\n\n options = options || {};\n var node = options.node || _nodeId;\n var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;\n\n // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n if (node == null || clockseq == null) {\n var seedBytes = rng();\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [\n seedBytes[0] | 0x01,\n seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]\n ];\n }\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n }\n\n // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();\n\n // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;\n\n // Time since last uuid creation (in msecs)\n var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;\n\n // Per 4.2.1.2, Bump clockseq on clock regression\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n }\n\n // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n }\n\n // Per 4.2.1.2 Throw error if too many uuids are requested\n if (nsecs >= 10000) {\n throw new Error('uuid.v1(): Can\\'t create more than 10M uuids/sec');\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq;\n\n // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n msecs += 12219292800000;\n\n // `time_low`\n var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff;\n\n // `time_mid`\n var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff;\n\n // `time_high_and_version`\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n b[i++] = tmh >>> 16 & 0xff;\n\n // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n b[i++] = clockseq >>> 8 | 0x80;\n\n // `clock_seq_low`\n b[i++] = clockseq & 0xff;\n\n // `node`\n for (var n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf ? buf : bytesToUuid(b);\n}\n\nmodule.exports = v1;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/uuid/v1.js\n// module id = ./node_modules/uuid/v1.js\n// module chunks = 0","var g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// (webpack)/buildin/global.js\n// module id = ./node_modules/webpack/buildin/global.js\n// module chunks = 0","module.exports = function(module) {\r\n\tif(!module.webpackPolyfill) {\r\n\t\tmodule.deprecate = function() {};\r\n\t\tmodule.paths = [];\r\n\t\t// module.parent = undefined by default\r\n\t\tif(!module.children) module.children = [];\r\n\t\tObject.defineProperty(module, \"loaded\", {\r\n\t\t\tenumerable: true,\r\n\t\t\tget: function() {\r\n\t\t\t\treturn module.l;\r\n\t\t\t}\r\n\t\t});\r\n\t\tObject.defineProperty(module, \"id\", {\r\n\t\t\tenumerable: true,\r\n\t\t\tget: function() {\r\n\t\t\t\treturn module.i;\r\n\t\t\t}\r\n\t\t});\r\n\t\tmodule.webpackPolyfill = 1;\r\n\t}\r\n\treturn module;\r\n};\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// (webpack)/buildin/module.js\n// module id = ./node_modules/webpack/buildin/module.js\n// module chunks = 0","module.exports = React;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"React\"\n// module id = 0\n// module chunks = 0","module.exports = PropTypes;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"PropTypes\"\n// module id = 1\n// module chunks = 0","module.exports = Reactstrap;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"Reactstrap\"\n// module id = 10\n// module chunks = 0","module.exports = ViewModeActions;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"ViewModeActions\"\n// module id = 11\n// module chunks = 0","module.exports = jQuery;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"jQuery\"\n// module id = 12\n// module chunks = 0","module.exports = Config;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"Config\"\n// module id = 13\n// module chunks = 0","module.exports = FormBuilderLoader;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"FormBuilderLoader\"\n// module id = 14\n// module chunks = 0","module.exports = ReactDom;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"ReactDom\"\n// module id = 15\n// module chunks = 0","module.exports = moment;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"moment\"\n// module id = 16\n// module chunks = 0","module.exports = Injector;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"Injector\"\n// module id = 2\n// module chunks = 0","module.exports = i18n;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"i18n\"\n// module id = 3\n// module chunks = 0","module.exports = ReactRedux;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"ReactRedux\"\n// module id = 4\n// module chunks = 0","module.exports = Redux;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"Redux\"\n// module id = 5\n// module chunks = 0","module.exports = classnames;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"classnames\"\n// module id = 6\n// module chunks = 0","module.exports = GraphQLTag;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"GraphQLTag\"\n// module id = 7\n// module chunks = 0","module.exports = Loading;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"Loading\"\n// module id = 8\n// module chunks = 0","module.exports = ReactApollo;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"ReactApollo\"\n// module id = 9\n// module chunks = 0"],"sourceRoot":""} \ No newline at end of file diff --git a/client/dist/styles/bundle.css b/client/dist/styles/bundle.css index dac9937..eb3dd60 100644 --- a/client/dist/styles/bundle.css +++ b/client/dist/styles/bundle.css @@ -1,2 +1 @@ -#Form_EditForm_OtherDropdown_Holder{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin:-1.5385rem -1.5385rem 0;border-bottom:1px solid #ced5e1;padding:3.077rem;background-color:#fff}#Form_EditForm_error.good+fieldset>#Form_EditForm_OtherDropdown_Holder,#Form_EditForm_error.info+fieldset>#Form_EditForm_OtherDropdown_Holder,#Form_EditForm_error.warning+fieldset>#Form_EditForm_OtherDropdown_Holder{margin-top:0}#Form_EditForm_OtherDropdown_Holder:after{border-bottom:none}#Form_EditForm_OtherDropdown_Holder .form__field-label{max-width:none;width:auto;margin-bottom:.9231rem;color:#566b8d;font-size:19px}#Form_EditForm_OtherDropdown_Holder .form__field-holder{width:100%;max-width:23rem}.history-viewer>.panel--padded{padding-top:0}.history-viewer.history-viewer__compare-mode .panel--padded{padding-top:30px}.history-viewer--no-margins{margin-left:-1.5385rem;margin-right:-1.5385rem}.panel--padded-side{padding-bottom:0;padding-top:0}.history-viewer__form{position:relative}.history-viewer__message .text-muted{margin-right:10px}.history-viewer__compare-button{border:1px solid #fff;color:#fff;margin-right:1rem}.history-viewer__close-button{background:transparent;border:1px solid #fff;border-radius:50%;color:#fff;padding:.4rem .55rem}.history-viewer__close-button:before{font-size:1.4rem}.history-viewer__messages .message-box:first-child{margin-top:1.5385rem}.history-viewer__messages .message-box:last-child{margin-bottom:0}.history-viewer-preview{position:relative;display:-webkit-box;display:-webkit-flex;display:flex}.history-viewer-preview__underlay{position:absolute;width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.history-viewer-preview__frame{background-color:transparent}.history-viewer-preview__frame .preview__iframe{background-color:#fff}.history-viewer-preview__spinner{margin-bottom:1em;font-size:.923rem;position:relative;text-indent:-9999em;border:.26em solid transparent;border-left:.26em solid #005a93;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation:spinner-loader .9s infinite linear;-o-animation:spinner-loader .9s infinite linear;animation:spinner-loader .9s infinite linear}.history-viewer-preview__spinner,.history-viewer-preview__spinner:after{border-radius:50%;width:3em;height:3em}.history-viewer__toolbar--condensed{min-width:50%;width:50%}.history-viewer__version-detail-diff del{color:#da273b}.history-viewer__version-detail-diff ins{background-color:#f0fff0;text-decoration:none}@media (max-width:991.98px){.history-viewer-preview{display:none}}@-webkit-keyframes spinner-loader{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-o-keyframes spinner-loader{0%{-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);-o-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spinner-loader{0%{-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);-o-transform:rotate(1turn);transform:rotate(1turn)}}.history-viewer__compare-notice{border-top:none;border-radius:0 0 .23rem .23rem;padding:0;position:absolute;left:50%;-webkit-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%);z-index:2}.history-viewer__compare-notice .notice-message{padding:.4rem 1rem .4rem 1.5rem;vertical-align:middle}.history-viewer__compare-notice button{background-color:inherit;color:inherit;border-width:0 0 0 1px;border-color:#bde0f1;margin-right:0;border-radius:0 0 .23rem 0}.history-viewer__compare-notice button:hover{background-color:#bde0f1}.history-viewer__actions-dropdown .form-check-label{text-transform:none}.history-viewer__actions-dropdown .btn[class*=font-icon-]:before{margin-right:0}.history-viewer__actions-dropdown.show .dropdown-menu{min-width:14rem}.history-viewer__actions-dropdown .form-check{margin-top:.5rem}.history-viewer__heading{font-size:.923rem;text-transform:uppercase}.history-viewer__heading span:first-child{margin-left:28px}.history-viewer.history-viewer__compare-mode .history-viewer__snapshot .history-viewer__version-link:hover,.history-viewer__row--current .history-viewer__version-link{cursor:default}.history-viewer__selected-message,.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected .history-viewer__close-button{display:none}.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected .history-viewer__selected-message{display:block}.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus-within .history-viewer__selected-message,.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__selected-message{display:none}.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus-within .history-viewer__close-button,.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__close-button{display:block}.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus .history-viewer__selected-message,.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__selected-message{display:none}.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus .history-viewer__close-button,.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__close-button{display:block}.history-viewer__row.history-viewer__snapshot{background:transparent;position:relative}.history-viewer__row.history-viewer__snapshot:before{content:"";width:2px;position:absolute;top:0;bottom:0;background:#ccc;left:23px}.history-viewer__row.history-viewer__snapshot:after{content:"";width:10px;height:10px;border-radius:99px;background:#bbb;position:absolute;left:19px;top:50%;margin-top:-5px}.history-viewer__row.history-viewer__snapshot--initial:before{top:2rem}.history-viewer__row.history-viewer__snapshot--muted .history-viewer__version-link *{color:#ddd!important}.history-viewer__row.history-viewer__snapshot.history-viewer__row--current:after,.history-viewer__row.history-viewer__snapshot.history-viewer__row--current:before{display:none}.history-viewer__table{padding:0}.history-viewer__table li{display:-webkit-box;display:-webkit-flex;display:flex;list-style-type:none}.history-viewer__table--comparison-selected{margin-bottom:0;border-bottom:5px solid #303b4d}.history-viewer__heading,.history-viewer__row{border-bottom:1px solid #dbe0e9}.history-viewer__row{background-color:#fff}.history-viewer__row:active,.history-viewer__row:hover{background-color:#f0f4f7}.history-viewer__version-link{color:inherit;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;padding-left:32px}.history-viewer__version-link:active,.history-viewer__version-link:hover{color:inherit;text-decoration:none}.history-viewer__table--current .history-viewer__version-link:hover{cursor:default}.history-viewer__actions,.history-viewer__author,.history-viewer__message,.history-viewer__version-no,.history-viewer__version-state{padding:1.2308rem}.history-viewer__author,.history-viewer__message,.history-viewer__version-state{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;width:50%}.history-viewer__message{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.history-viewer__actions,.history-viewer__message{display:-webkit-box;display:-webkit-flex;display:flex}.history-viewer__actions{padding-top:0;padding-bottom:0;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;min-width:12rem}.table .history-viewer__row--current,.table .history-viewer__row--current:hover{background-color:#0071c4;color:#fff}.table .history-viewer__row--current .text-muted{color:#fff!important}.history-viewer__table--current{margin-bottom:.76925rem}.history-viewer__pagination select{width:auto} -/*# sourceMappingURL=bundle.css.map*/ \ No newline at end of file +#Form_EditForm_OtherDropdown_Holder{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin:-1.5385rem -1.5385rem 0;border-bottom:1px solid #ced5e1;padding:3.077rem;background-color:#fff}#Form_EditForm_error.good+fieldset>#Form_EditForm_OtherDropdown_Holder,#Form_EditForm_error.info+fieldset>#Form_EditForm_OtherDropdown_Holder,#Form_EditForm_error.warning+fieldset>#Form_EditForm_OtherDropdown_Holder{margin-top:0}#Form_EditForm_OtherDropdown_Holder:after{border-bottom:none}#Form_EditForm_OtherDropdown_Holder .form__field-label{max-width:none;width:auto;margin-bottom:.9231rem;color:#566b8d;font-size:19px}#Form_EditForm_OtherDropdown_Holder .form__field-holder{width:100%;max-width:23rem}.history-viewer>.panel--padded{padding-top:0}.history-viewer.history-viewer__compare-mode .panel--padded{padding-top:30px}.history-viewer--no-margins{margin-left:-1.5385rem;margin-right:-1.5385rem}.panel--padded-side{padding-bottom:0;padding-top:0}.history-viewer__form{position:relative}.history-viewer__message .text-muted{margin-right:10px}.history-viewer__compare-button{border:1px solid #fff;color:#fff;margin-right:1rem}.history-viewer__close-button{background:transparent;border:1px solid #fff;border-radius:50%;color:#fff;padding:.4rem .55rem}.history-viewer__close-button:before{font-size:1.4rem}.history-viewer__messages .message-box:first-child{margin-top:1.5385rem}.history-viewer__messages .message-box:last-child{margin-bottom:0}.history-viewer-preview{position:relative;display:-webkit-box;display:-webkit-flex;display:flex}.history-viewer-preview__underlay{position:absolute;width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.history-viewer-preview__frame{background-color:transparent}.history-viewer-preview__frame .preview__iframe{background-color:#fff}.history-viewer-preview__spinner{margin-bottom:1em;font-size:.923rem;position:relative;text-indent:-9999em;border:.26em solid transparent;border-left:.26em solid #005a93;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation:spinner-loader .9s infinite linear;-o-animation:spinner-loader .9s infinite linear;animation:spinner-loader .9s infinite linear}.history-viewer-preview__spinner,.history-viewer-preview__spinner:after{border-radius:50%;width:3em;height:3em}.history-viewer__toolbar--condensed{min-width:50%;width:50%}.history-viewer__version-detail-diff del{color:#da273b}.history-viewer__version-detail-diff ins{background-color:#f0fff0;text-decoration:none}@media (max-width:991.98px){.history-viewer-preview{display:none}}@-webkit-keyframes spinner-loader{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-o-keyframes spinner-loader{0%{-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);-o-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spinner-loader{0%{-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);-o-transform:rotate(1turn);transform:rotate(1turn)}}.history-viewer__compare-notice{border-top:none;border-radius:0 0 .23rem .23rem;padding:0;position:absolute;left:50%;-webkit-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%);z-index:2}.history-viewer__compare-notice .notice-message{padding:.4rem 1rem .4rem 1.5rem;vertical-align:middle}.history-viewer__compare-notice button{background-color:inherit;color:inherit;border-width:0 0 0 1px;border-color:#bde0f1;margin-right:0;border-radius:0 0 .23rem 0}.history-viewer__compare-notice button:hover{background-color:#bde0f1}.history-viewer__actions-dropdown .form-check-label{text-transform:none}.history-viewer__actions-dropdown .btn[class*=font-icon-]:before{margin-right:0}.history-viewer__actions-dropdown.show .dropdown-menu{min-width:14rem}.history-viewer__actions-dropdown .form-check{margin-top:.5rem}.history-viewer__heading{font-size:.923rem;text-transform:uppercase}.history-viewer__heading span:first-child{margin-left:28px}.history-viewer.history-viewer__compare-mode .history-viewer__snapshot .history-viewer__version-link:hover,.history-viewer__row--current .history-viewer__version-link{cursor:default}.history-viewer__selected-message,.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected .history-viewer__close-button{display:none}.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected .history-viewer__selected-message{display:block}.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus-within .history-viewer__selected-message,.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__selected-message{display:none}.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus-within .history-viewer__close-button,.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__close-button{display:block}.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus .history-viewer__selected-message,.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__selected-message{display:none}.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus .history-viewer__close-button,.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__close-button{display:block}.history-viewer__row.history-viewer__snapshot{background:transparent;position:relative}.history-viewer__row.history-viewer__snapshot:before{content:"";width:2px;position:absolute;top:0;bottom:0;background:#ccc;left:23px}.history-viewer__row.history-viewer__snapshot:after{content:"";width:10px;height:10px;border-radius:99px;background:#bbb;position:absolute;left:19px;top:50%;margin-top:-5px}.history-viewer__row.history-viewer__snapshot--initial:before{top:2rem}.history-viewer__row.history-viewer__snapshot--muted .history-viewer__version-link *{color:#ddd!important}.history-viewer__row.history-viewer__snapshot.history-viewer__row--current:after,.history-viewer__row.history-viewer__snapshot.history-viewer__row--current:before{display:none}.history-viewer__table{padding:0}.history-viewer__table li{display:-webkit-box;display:-webkit-flex;display:flex;list-style-type:none}.history-viewer__table--comparison-selected{margin-bottom:0;border-bottom:5px solid #303b4d}.history-viewer__heading,.history-viewer__row{border-bottom:1px solid #dbe0e9}.history-viewer__row{background-color:#fff}.history-viewer__row:active,.history-viewer__row:hover{background-color:#f0f4f7}.history-viewer__version-link{color:inherit;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;padding-left:32px}.history-viewer__version-link:active,.history-viewer__version-link:hover{color:inherit;text-decoration:none}.history-viewer__table--current .history-viewer__version-link:hover{cursor:default}.history-viewer__actions,.history-viewer__author,.history-viewer__message,.history-viewer__version-no,.history-viewer__version-state{padding:1.2308rem}.history-viewer__author,.history-viewer__message,.history-viewer__version-state{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;width:50%}.history-viewer__message{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.history-viewer__actions,.history-viewer__message{display:-webkit-box;display:-webkit-flex;display:flex}.history-viewer__actions{padding-top:0;padding-bottom:0;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;min-width:12rem}.table .history-viewer__row--current,.table .history-viewer__row--current:hover{background-color:#0071c4;color:#fff}.table .history-viewer__row--current .text-muted{color:#fff!important}.history-viewer__table--current{margin-bottom:.76925rem}.history-viewer__pagination select{width:auto} \ No newline at end of file diff --git a/client/dist/styles/bundle.css.map b/client/dist/styles/bundle.css.map index 345481d..5a7a4a9 100644 --- a/client/dist/styles/bundle.css.map +++ b/client/dist/styles/bundle.css.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./client/src/styles/legacy/_ArchiveAdmin.scss?6639","webpack:///./client/src/styles/bundle.scss?71e6","webpack:///./client/src/components/HistoryViewer/HistoryViewer.scss?1c71","webpack:///./~/bootstrap/scss/mixins/_breakpoints.scss?4f45","webpack:///./client/src/components/HistoryViewer/HistoryViewerCompareWarning.scss?e792","webpack:///./client/src/components/HistoryViewer/HistoryViewerHeading.scss?9cdf","webpack:///./client/src/components/HistoryViewer/HistoryViewerVersion.scss?93c9","webpack:///./client/src/components/HistoryViewer/HistoryViewerVersionList.scss?54b0"],"names":[],"mappings":"AAAA,oCACE,sDACA,6GACA,uEACA,+BACA,gCACA,iBAEA,sBCAD,wNDMG,aCAH,0CDIG,mBCAH,uDDIG,eACA,WACA,uBACA,cACA,eCAH,wDDIG,WACA,gBCAH,+BC7BG,cAFJ,4DAMI,iBACD,4BAIC,uBACA,wBACD,oBAKD,iBACA,cACD,sBAGC,kBACD,qCAGC,kBACD,gCAGC,sBACA,WACA,kBACD,8BAGC,uBACA,sBACA,kBACA,WACA,qBALF,qCAQI,iBACD,mDAKC,qBAFJ,kDAMI,gBACD,wBAKD,kBACA,sDAEA,kCACE,kBACA,WACA,YAEA,sDACA,6GACA,uEACA,8EACD,+BAGC,6BADD,gDAIG,sBACD,iCAgBD,kBACA,kBACA,kBACA,oBACA,+BACA,gCACA,gCAEA,wBACA,qDACA,6FAvBD,wEAQG,kBACA,UACA,WACD,oCAiBH,cACA,UACD,yCAIG,cAFJ,yCAMI,yBACA,qBChDA,4BDsDF,wBACE,aDkBD,CCdH,kCACE,GACE,+BACA,uBAEF,GACE,gCACA,wBDmBD,CChBH,6BACE,GACE,+BACA,iDAEF,GACE,gCACA,mDDqBD,CC5BH,0BACE,GACE,+BACA,iDAEF,GACE,gCACA,mDDqBD,CG1KH,gCACE,gBACA,gCACA,UACA,kBACA,SACA,4FACA,UAPF,gDASI,gCACA,sBAVJ,uCAcI,yBACA,cACA,uBACA,qBACA,eACA,2BAnBJ,6CAsBM,yBACD,oDCrBH,oBACD,iEAIG,eAFJ,sDAMI,gBANJ,8CAUI,iBACD,yBAID,kBACA,yBAFF,0CAII,iBCpBD,uKAIC,eAOH,0KAMK,aAJN,4IAQM,cARN,2SAgBQ,aAhBR,mSAoBQ,cApBR,oSA6BQ,aA7BR,4RAiCQ,cACD,8CAOL,uBACA,kBAFF,qDAII,WACA,UACA,kBACA,MACA,SACA,gBACA,UAVJ,oDAaI,WACA,WACA,YACA,mBACA,gBACA,kBACA,UACA,QACA,gBArBJ,8DA0BM,SA1BN,qFA+BM,qBA/BN,mKAqCM,aACD,uBC5FH,UADF,0BAII,sDACA,qBACD,4CAKD,gBACA,gCAED,8CAIC,gCACD,qBAKG,sBADD,uDAKG,yBACD,8BAID,cACA,eACA,sDACA,mDAQA,kBAZD,yEAQG,cACA,qBACD,oEAQG,eACD,qIAWL,kBACD,gFAKC,mDACA,UACD,yBAIC,6GACA,8EACD,kDAHC,sDAGD,yBAIC,cACA,iBAEA,uEACA,+EACA,gBACD,gFAIG,yBACA,WAHJ,iDAQI,qBACD,gCAKD,wBACD,mCAMK","file":"styles/bundle.css","sourcesContent":["#Form_EditForm_OtherDropdown_Holder {\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: (-$panel-padding-y) (-$panel-padding-x) 0;\n border-bottom: 1px solid $border-color;\n padding: ($panel-padding-y * 2) ($panel-padding-x * 2);\n\n background-color: $white;\n\n // If there is a message, fix spacing\n #Form_EditForm_error.good + fieldset > &,\n #Form_EditForm_error.warning + fieldset > &,\n #Form_EditForm_error.info + fieldset > & {\n margin-top: 0;\n }\n\n &::after {\n border-bottom: none;\n }\n\n .form__field-label {\n max-width: none;\n width: auto;\n margin-bottom: $spacer-sm;\n color: $text-muted;\n font-size: $h2-font-size;\n }\n\n .form__field-holder {\n width: 100%;\n max-width: 23rem;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/styles/legacy/_ArchiveAdmin.scss","#Form_EditForm_OtherDropdown_Holder {\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: -1.5385rem -1.5385rem 0;\n border-bottom: 1px solid #ced5e1;\n padding: 3.077rem 3.077rem;\n background-color: #fff;\n}\n\n#Form_EditForm_error.good+fieldset>#Form_EditForm_OtherDropdown_Holder,\n#Form_EditForm_error.warning+fieldset>#Form_EditForm_OtherDropdown_Holder,\n#Form_EditForm_error.info+fieldset>#Form_EditForm_OtherDropdown_Holder {\n margin-top: 0;\n}\n\n#Form_EditForm_OtherDropdown_Holder::after {\n border-bottom: none;\n}\n\n#Form_EditForm_OtherDropdown_Holder .form__field-label {\n max-width: none;\n width: auto;\n margin-bottom: .9231rem;\n color: #566b8d;\n font-size: 19px;\n}\n\n#Form_EditForm_OtherDropdown_Holder .form__field-holder {\n width: 100%;\n max-width: 23rem;\n}\n\n.history-viewer>.panel--padded {\n padding-top: 0;\n}\n\n.history-viewer.history-viewer__compare-mode .panel--padded {\n padding-top: 30px;\n}\n\n.history-viewer--no-margins {\n margin-left: -1.5385rem;\n margin-right: -1.5385rem;\n}\n\n.panel--padded-side {\n padding-bottom: 0;\n padding-top: 0;\n}\n\n.history-viewer__form {\n position: relative;\n}\n\n.history-viewer__message .text-muted {\n margin-right: 10px;\n}\n\n.history-viewer__compare-button {\n border: 1px solid #fff;\n color: #fff;\n margin-right: 1rem;\n}\n\n.history-viewer__close-button {\n background: transparent;\n border: 1px solid #fff;\n border-radius: 50%;\n color: #fff;\n padding: .4rem .55rem;\n}\n\n.history-viewer__close-button::before {\n font-size: 1.4rem;\n}\n\n.history-viewer__messages .message-box:first-child {\n margin-top: 1.5385rem;\n}\n\n.history-viewer__messages .message-box:last-child {\n margin-bottom: 0;\n}\n\n.history-viewer-preview {\n position: relative;\n display: flex;\n}\n\n.history-viewer-preview__underlay {\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.history-viewer-preview__frame {\n background-color: rgba(0,0,0,0);\n}\n\n.history-viewer-preview__frame .preview__iframe {\n background-color: white;\n}\n\n.history-viewer-preview__spinner {\n margin-bottom: 1em;\n font-size: .923rem;\n position: relative;\n text-indent: -9999em;\n border: .26em solid transparent;\n border-left: .26em solid #005a93;\n -webkit-transform: translateZ(0);\n -ms-transform: translateZ(0);\n transform: translateZ(0);\n -webkit-animation: spinner-loader .9s infinite linear;\n animation: spinner-loader .9s infinite linear;\n}\n\n.history-viewer-preview__spinner,\n.history-viewer-preview__spinner:after {\n border-radius: 50%;\n width: 3em;\n height: 3em;\n}\n\n.history-viewer__toolbar--condensed {\n min-width: 50%;\n width: 50%;\n}\n\n.history-viewer__version-detail-diff del {\n color: #da273b;\n}\n\n.history-viewer__version-detail-diff ins {\n background-color: #f0fff0;\n text-decoration: none;\n}\n\n@media (max-width: 991.98px) {\n .history-viewer-preview {\n display: none;\n }\n}\n\n@-webkit-keyframes spinner-loader {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes spinner-loader {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n.history-viewer__compare-notice {\n border-top: none;\n border-radius: 0 0 .23rem .23rem;\n padding: 0;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n z-index: 2;\n}\n\n.history-viewer__compare-notice .notice-message {\n padding: .4rem 1rem .4rem 1.5rem;\n vertical-align: middle;\n}\n\n.history-viewer__compare-notice button {\n background-color: inherit;\n color: inherit;\n border-width: 0 0 0 1px;\n border-color: #bde0f1;\n margin-right: 0;\n border-radius: 0 0 .23rem 0;\n}\n\n.history-viewer__compare-notice button:hover {\n background-color: #bde0f1;\n}\n\n.history-viewer__actions-dropdown .form-check-label {\n text-transform: none;\n}\n\n.history-viewer__actions-dropdown .btn[class*=font-icon-]:before {\n margin-right: 0;\n}\n\n.history-viewer__actions-dropdown.show .dropdown-menu {\n min-width: 14rem;\n}\n\n.history-viewer__actions-dropdown .form-check {\n margin-top: .5rem;\n}\n\n.history-viewer__heading {\n font-size: .923rem;\n text-transform: uppercase;\n}\n\n.history-viewer__heading span:first-child {\n margin-left: 28px;\n}\n\n.history-viewer__row--current .history-viewer__version-link {\n cursor: default;\n}\n\n.history-viewer.history-viewer__compare-mode .history-viewer__snapshot .history-viewer__version-link:hover {\n cursor: default;\n}\n\n.history-viewer__selected-message {\n display: none;\n}\n\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected .history-viewer__close-button {\n display: none;\n}\n\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected .history-viewer__selected-message {\n display: block;\n}\n\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__selected-message,\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus-within .history-viewer__selected-message {\n display: none;\n}\n\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__close-button,\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus-within .history-viewer__close-button {\n display: block;\n}\n\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__selected-message,\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus .history-viewer__selected-message {\n display: none;\n}\n\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__close-button,\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus .history-viewer__close-button {\n display: block;\n}\n\n.history-viewer__row.history-viewer__snapshot {\n background: transparent;\n position: relative;\n}\n\n.history-viewer__row.history-viewer__snapshot:before {\n content: '';\n width: 2px;\n position: absolute;\n top: 0;\n bottom: 0;\n background: #ccc;\n left: 23px;\n}\n\n.history-viewer__row.history-viewer__snapshot:after {\n content: '';\n width: 10px;\n height: 10px;\n border-radius: 99px;\n background: #bbb;\n position: absolute;\n left: 19px;\n top: 50%;\n margin-top: -5px;\n}\n\n.history-viewer__row.history-viewer__snapshot--initial:before {\n top: 2rem;\n}\n\n.history-viewer__row.history-viewer__snapshot--muted .history-viewer__version-link * {\n color: #ddd !important;\n}\n\n.history-viewer__row.history-viewer__snapshot.history-viewer__row--current:before,\n.history-viewer__row.history-viewer__snapshot.history-viewer__row--current:after {\n display: none;\n}\n\n.history-viewer__table {\n padding: 0;\n}\n\n.history-viewer__table li {\n display: flex;\n list-style-type: none;\n}\n\n.history-viewer__table--comparison-selected {\n margin-bottom: 0;\n border-bottom: 5px solid #303b4d;\n}\n\n.history-viewer__heading,\n.history-viewer__row {\n border-bottom: 1px solid #dbe0e9;\n}\n\n.history-viewer__row {\n background-color: #fff;\n}\n\n.history-viewer__row:hover,\n.history-viewer__row:active {\n background-color: #f0f4f7;\n}\n\n.history-viewer__version-link {\n color: inherit;\n cursor: pointer;\n display: flex;\n flex-grow: 1;\n padding-left: 32px;\n}\n\n.history-viewer__version-link:hover,\n.history-viewer__version-link:active {\n color: inherit;\n text-decoration: none;\n}\n\n.history-viewer__table--current .history-viewer__version-link:hover {\n cursor: default;\n}\n\n.history-viewer__version-no,\n.history-viewer__version-state,\n.history-viewer__author,\n.history-viewer__message,\n.history-viewer__actions {\n padding: 1.2308rem;\n}\n\n.history-viewer__version-state,\n.history-viewer__message,\n.history-viewer__author {\n flex-grow: 1;\n width: 50%;\n}\n\n.history-viewer__message {\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n.history-viewer__actions {\n padding-top: 0;\n padding-bottom: 0;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n min-width: 12rem;\n}\n\n.table .history-viewer__row--current,\n.table .history-viewer__row--current:hover {\n background-color: #0071c4;\n color: #fff;\n}\n\n.table .history-viewer__row--current .text-muted {\n color: #fff !important;\n}\n\n.history-viewer__table--current {\n margin-bottom: .76925rem;\n}\n\n.history-viewer__pagination select {\n width: auto;\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/styles/bundle.scss",".history-viewer {\n > .panel--padded {\n padding-top: 0;\n }\n\n &.history-viewer__compare-mode .panel--padded {\n padding-top: 30px;\n }\n\n // Used to negate margins added by .panel--padded in some contexts\n &--no-margins {\n margin-left: -$panel-padding-x;\n margin-right: -$panel-padding-x;\n }\n}\n\n// Used in conjunction with .panel--padded, removes top and bottom padding\n.panel--padded-side {\n padding-bottom: 0;\n padding-top: 0;\n}\n\n.history-viewer__form {\n position: relative;\n}\n\n.history-viewer__message .text-muted {\n margin-right: 10px;\n}\n\n.history-viewer__compare-button {\n border: 1px solid $white;\n color: $white;\n margin-right: 1rem;\n}\n\n.history-viewer__close-button {\n background: transparent;\n border: 1px solid $white;\n border-radius: 50%; // circular\n color: $white;\n padding: .4rem .55rem;\n\n &::before {\n font-size: 1.4rem;\n }\n}\n\n.history-viewer__messages .message-box {\n &:first-child {\n margin-top: $panel-padding-y;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n}\n\n// Todo: remove this when the CMS is React driven and we don't need this hack\n.history-viewer-preview {\n position: relative;\n display: flex;\n\n &__underlay {\n position: absolute;\n width: 100%;\n height: 100%;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n\n &__frame {\n background-color: rgba(0,0,0,0);\n\n .preview__iframe {\n background-color: white;\n }\n }\n\n &__spinner {\n $loading-indicator-size: 3em;\n $loading-indicator-border-size: .26em;\n $loading-indicator-border: $loading-indicator-border-size solid transparent;\n $loading-indicator-speed: 0.9s;\n $loading-indicator-animation: spinner-loader $loading-indicator-speed infinite linear;\n\n &, &:after {\n border-radius: 50%;\n width: $loading-indicator-size;\n height: $loading-indicator-size;\n }\n\n margin-bottom: 1em;\n font-size: $font-size-sm;\n position: relative;\n text-indent: -9999em;\n border: $loading-indicator-border;\n border-left: $loading-indicator-border-size solid $blue;\n -webkit-transform: translateZ(0);\n -ms-transform: translateZ(0);\n transform: translateZ(0);\n -webkit-animation: $loading-indicator-animation;\n animation: $loading-indicator-animation;\n }\n}\n\n.history-viewer__toolbar--condensed {\n min-width: 50%;\n width: 50%;\n}\n\n.history-viewer__version-detail-diff {\n del {\n color: $red;\n }\n\n ins {\n background-color: lighten($green, 70%);\n text-decoration: none;\n }\n}\n\n// Hide preview on small devices. @todo replace this with a view toggle component\n@include media-breakpoint-down(md) {\n .history-viewer-preview {\n display: none;\n }\n}\n\n@-webkit-keyframes spinner-loader {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes spinner-loader {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewer.scss","// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n//\n// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) {\n $n: index($breakpoint-names, $name);\n @return if($n != null and $n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);\n}\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n//\n// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 576px\n@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {\n $min: map-get($breakpoints, $name);\n @return if($min != 0, $min, null);\n}\n\n// Maximum breakpoint width. Null for the largest (last) breakpoint.\n// The maximum value is calculated as the minimum of the next one less 0.02px\n// to work around the limitations of `min-` and `max-` prefixes and viewports with fractional widths.\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\n//\n// >> breakpoint-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 767.98px\n@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {\n $next: breakpoint-next($name, $breakpoints);\n @return if($next, breakpoint-min($next, $breakpoints) - .02, null);\n}\n\n// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.\n// Useful for making responsive utilities.\n//\n// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"\" (Returns a blank string)\n// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"-sm\"\n@function breakpoint-infix($name, $breakpoints: $grid-breakpoints) {\n @return if(breakpoint-min($name, $breakpoints) == null, \"\", \"-#{$name}\");\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Media that spans multiple breakpoint widths.\n// Makes the @content apply between the min and max breakpoints\n@mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($lower, $breakpoints);\n $max: breakpoint-max($upper, $breakpoints);\n\n @if $min != null and $max != null {\n @media (min-width: $min) and (max-width: $max) {\n @content;\n }\n } @else if $max == null {\n @include media-breakpoint-up($lower, $breakpoints) {\n @content;\n }\n } @else if $min == null {\n @include media-breakpoint-down($upper, $breakpoints) {\n @content;\n }\n }\n}\n\n// Media between the breakpoint's minimum and maximum widths.\n// No minimum for the smallest breakpoint, and no maximum for the largest one.\n// Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.\n@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n $max: breakpoint-max($name, $breakpoints);\n\n @if $min != null and $max != null {\n @media (min-width: $min) and (max-width: $max) {\n @content;\n }\n } @else if $max == null {\n @include media-breakpoint-up($name, $breakpoints) {\n @content;\n }\n } @else if $min == null {\n @include media-breakpoint-down($name, $breakpoints) {\n @content;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/bootstrap/scss/mixins/_breakpoints.scss",".history-viewer__compare-notice {\n border-top: none;\n border-radius: 0 0 $border-radius $border-radius;\n padding: 0;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n z-index: 2;\n .notice-message {\n padding: .4rem 1rem .4rem 1.5rem;\n vertical-align: middle;\n }\n\n button {\n background-color: inherit;\n color: inherit;\n border-width: 0 0 0 $border-width;\n border-color: lighten($color-notice, 10%);\n margin-right: 0;\n border-radius: 0 0 $border-radius 0;\n\n &:hover {\n background-color: lighten($color-notice, 10%);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerCompareWarning.scss","// Labels are capitalised by default\n.history-viewer__actions-dropdown .form-check-label {\n text-transform: none;\n}\n\n.history-viewer__actions-dropdown {\n .btn[class*=font-icon-]:before {\n margin-right: 0;\n }\n\n &.show .dropdown-menu {\n min-width: 14rem;\n }\n\n .form-check {\n margin-top: .5rem;\n }\n}\n\n.history-viewer__heading {\n font-size: $font-size-sm;\n text-transform: uppercase;\n span:first-child {\n margin-left: 28px;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerHeading.scss",".history-viewer__row--current {\n .history-viewer__version-link {\n cursor: default;\n }\n}\n.history-viewer.history-viewer__compare-mode .history-viewer__snapshot {\n .history-viewer__version-link:hover {\n cursor: default;\n }\n}\n\n// By default hide 'Already selected' message\n.history-viewer__selected-message {\n display: none;\n}\n\n.history-viewer__table--headerless {\n .history-viewer__row--current.history-viewer__row--comparison-selected {\n // When version is selected in compare mode, hide close button and show 'Already selected' message instead\n .history-viewer__close-button {\n display: none;\n }\n\n .history-viewer__selected-message {\n display: block;\n }\n\n // When version is selected in compare mode - on hover only - show close button and hide the message\n // focus-within makes this feature keyboard accessible\n &:hover,\n &:focus-within {\n .history-viewer__selected-message {\n display: none;\n }\n\n .history-viewer__close-button {\n display: block;\n }\n }\n\n // Because focus-within is not supported by IE and Edge - see https://caniuse.com/#search=%3Afocus-within -,\n // and the above styl block is not being applied. Therefore the below defines it again using hover.\n &:hover,\n &:focus {\n .history-viewer__selected-message {\n display: none;\n }\n\n .history-viewer__close-button {\n display: block;\n }\n }\n }\n}\n\n// Necessary specificity for overriding history viewer styling\n.history-viewer__row.history-viewer__snapshot {\n background: transparent;\n position: relative;\n &:before {\n content: '';\n width: 2px;\n position: absolute;\n top: 0;\n bottom: 0;\n background: #ccc;\n left: 23px;\n }\n &:after {\n content: '';\n width: 10px;\n height: 10px;\n border-radius: 99px;\n background: #bbb;\n position: absolute;\n left: 19px;\n top: 50%;\n margin-top: -5px;\n }\n\n &--initial {\n &:before {\n top: ($table-cell-padding * 2 + $line-height-base) / 2;\n }\n }\n &--muted {\n .history-viewer__version-link * {\n color: #ddd !important;\n }\n }\n\n &.history-viewer__row--current {\n &:before, &:after {\n display:none;\n }\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerVersion.scss","// Replicate Bootstrap table stylings relatively closely but using a unordered list\n.history-viewer__table {\n padding: 0;\n\n li {\n display: flex;\n list-style-type: none;\n }\n}\n\n// In compare mode, we don't want any space between the two version lists, only a small black line.\n.history-viewer__table--comparison-selected {\n margin-bottom: 0;\n border-bottom: 5px solid $gray-800;\n\n}\n\n.history-viewer__heading,\n.history-viewer__row {\n border-bottom: 1px solid $table-border-color;\n}\n\n// Add colours to the table rows\n.history-viewer {\n &__row {\n background-color: $table-accent-bg;\n\n &:hover,\n &:active {\n background-color: $table-hover-bg;\n }\n }\n\n &__version-link {\n color: inherit;\n cursor: pointer;\n display: flex;\n flex-grow: 1; // use up 3 columns worth of space by default\n\n &:hover,\n &:active {\n color: inherit;\n text-decoration: none;\n }\n\n padding-left: 32px;\n }\n\n &__table {\n &--current {\n .history-viewer__version-link:hover {\n cursor: default;\n }\n }\n }\n}\n\n// Give all columns equal width to start with, and table padding\n.history-viewer__version-no,\n.history-viewer__version-state,\n.history-viewer__author,\n.history-viewer__message,\n.history-viewer__actions {\n padding: $table-cell-padding;\n}\n\n.history-viewer__version-state,\n.history-viewer__message,\n.history-viewer__author {\n flex-grow: 1;\n width: 50%;\n}\n\n.history-viewer__message {\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n// Remove padding in the heading's last column so it doesn't push padding in the others\n.history-viewer__actions {\n padding-top: 0;\n padding-bottom: 0;\n display: flex;\n align-items: center;\n justify-content: flex-end; // right alignment\n min-width: 12rem; // big enough to fit both Compare and \"X\" close buttons\n}\n\n.table .history-viewer__row--current {\n &, &:hover {\n background-color: $link-color;\n color: $white;\n }\n\n .text-muted {\n // Note: !important is necessary due to its use in the base Bootstrap library\n color: $white !important;\n }\n}\n\n// In detail views, pulls the content (and content tabs) closer to the selected version table\n.history-viewer__table--current {\n margin-bottom: $panel-padding-y / 2;\n}\n\n.history-viewer {\n // Ensure that form field styles don't give extra styles to the pagination controls\n &__pagination {\n select {\n width: auto;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerVersionList.scss"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./client/src/styles/legacy/_ArchiveAdmin.scss?6639","webpack:///./client/src/styles/bundle.scss?71e6","webpack:///./client/src/components/HistoryViewer/HistoryViewer.scss?1c71","webpack:///./~/bootstrap/scss/mixins/_breakpoints.scss?4f45","webpack:///./client/src/components/HistoryViewer/HistoryViewerCompareWarning.scss?e792","webpack:///./client/src/components/HistoryViewer/HistoryViewerHeading.scss?9cdf","webpack:///./client/src/components/HistoryViewer/HistoryViewerVersion.scss?93c9","webpack:///./client/src/components/HistoryViewer/HistoryViewerVersionList.scss?54b0"],"names":[],"mappings":"AAAA,oCACE,sDACA,6GACA,uEACA,+BACA,gCACA,iBAEA,sBCAD,wNDMG,aCAH,0CDIG,mBCAH,uDDIG,eACA,WACA,uBACA,cACA,eCAH,wDDIG,WACA,gBE/BJ,+BAEI,cAFJ,4DAMI,iBAIF,4BACE,uBACA,wBAKJ,oBACE,iBACA,cAGF,sBACE,kBAGF,qCACE,kBAGF,gCACE,sBACA,WACA,kBAGF,8BACE,uBACA,sBACA,kBACA,WACA,qBALF,qCAQI,iBAIJ,mDAEI,qBAFJ,kDAMI,gBAKJ,wBACE,kBACA,sDAEA,kCACE,kBACA,WACA,YAEA,sDACA,6GACA,uEACA,8EAGF,+BACE,6BADD,gDAIG,sBAIJ,iCAaE,kBACA,kBACA,kBACA,oBACA,+BACA,gCACA,gCAEA,wBACA,qDACA,6FAvBD,wEAQG,kBACA,UACA,WAiBN,oCACE,cACA,UAGF,yCAEI,cAFJ,yCAMI,yBACA,qBChDA,4BDsDF,wBACE,aDkBD,CCdH,kCACE,GACE,+BACA,uBAEF,GACE,gCACA,wBDmBD,CChBH,6BACE,GACE,+BACA,iDAEF,GACE,gCACA,mDDqBD,CC5BH,0BACE,GACE,+BACA,iDAEF,GACE,gCACA,mDDqBD,CG1KH,gCACE,gBACA,gCACA,UACA,kBACA,SACA,4FACA,UAPF,gDASI,gCACA,sBAVJ,uCAcI,yBACA,cACA,uBACA,qBACA,eACA,2BAnBJ,6CAsBM,yBCrBN,oDACE,oBAGF,iEAEI,eAFJ,sDAMI,gBANJ,8CAUI,iBAIJ,yBACE,kBACA,yBAFF,0CAII,iBClBJ,uKAEI,eASJ,0KAIM,aAJN,4IAQM,cARN,2SAgBQ,aAhBR,mSAoBQ,cApBR,oSA6BQ,aA7BR,4RAiCQ,cAOR,8CACE,uBACA,kBAFF,qDAII,WACA,UACA,kBACA,MACA,SACA,gBACA,UAVJ,oDAaI,WACA,WACA,YACA,mBACA,gBACA,kBACA,UACA,QACA,gBArBJ,8DA0BM,SA1BN,qFA+BM,qBA/BN,mKAqCM,aC5FN,uBACE,UADF,0BAII,sDACA,qBAKJ,4CACE,gBACA,gCAIF,8CAEE,gCAKA,qBACE,sBADD,uDAKG,yBAIJ,8BACE,cACA,eACA,sDACA,mDAQA,kBAZD,yEAQG,cACA,qBAOD,oEAEG,eAOR,qIAKE,kBAGF,gFAGE,mDACA,UAGF,yBAEE,6GACA,8EAIF,kDANE,sDAMF,yBACE,cACA,iBAEA,uEACA,+EACA,gBAGF,gFAEI,yBACA,WAHJ,iDAQI,qBAKJ,gCACE,wBAKC,mCAEG","file":"styles/bundle.css","sourcesContent":["#Form_EditForm_OtherDropdown_Holder {\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: (-$panel-padding-y) (-$panel-padding-x) 0;\n border-bottom: 1px solid $border-color;\n padding: ($panel-padding-y * 2) ($panel-padding-x * 2);\n\n background-color: $white;\n\n // If there is a message, fix spacing\n #Form_EditForm_error.good + fieldset > &,\n #Form_EditForm_error.warning + fieldset > &,\n #Form_EditForm_error.info + fieldset > & {\n margin-top: 0;\n }\n\n &::after {\n border-bottom: none;\n }\n\n .form__field-label {\n max-width: none;\n width: auto;\n margin-bottom: $spacer-sm;\n color: $text-muted;\n font-size: $h2-font-size;\n }\n\n .form__field-holder {\n width: 100%;\n max-width: 23rem;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/styles/legacy/_ArchiveAdmin.scss","#Form_EditForm_OtherDropdown_Holder {\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: -1.5385rem -1.5385rem 0;\n border-bottom: 1px solid #ced5e1;\n padding: 3.077rem 3.077rem;\n background-color: #fff;\n}\n\n#Form_EditForm_error.good + fieldset > #Form_EditForm_OtherDropdown_Holder,\n#Form_EditForm_error.warning + fieldset > #Form_EditForm_OtherDropdown_Holder,\n#Form_EditForm_error.info + fieldset > #Form_EditForm_OtherDropdown_Holder {\n margin-top: 0;\n}\n\n#Form_EditForm_OtherDropdown_Holder::after {\n border-bottom: none;\n}\n\n#Form_EditForm_OtherDropdown_Holder .form__field-label {\n max-width: none;\n width: auto;\n margin-bottom: 0.9231rem;\n color: #566b8d;\n font-size: 19px;\n}\n\n#Form_EditForm_OtherDropdown_Holder .form__field-holder {\n width: 100%;\n max-width: 23rem;\n}\n\n.history-viewer > .panel--padded {\n padding-top: 0;\n}\n\n.history-viewer.history-viewer__compare-mode .panel--padded {\n padding-top: 30px;\n}\n\n.history-viewer--no-margins {\n margin-left: -1.5385rem;\n margin-right: -1.5385rem;\n}\n\n.panel--padded-side {\n padding-bottom: 0;\n padding-top: 0;\n}\n\n.history-viewer__form {\n position: relative;\n}\n\n.history-viewer__message .text-muted {\n margin-right: 10px;\n}\n\n.history-viewer__compare-button {\n border: 1px solid #fff;\n color: #fff;\n margin-right: 1rem;\n}\n\n.history-viewer__close-button {\n background: transparent;\n border: 1px solid #fff;\n border-radius: 50%;\n color: #fff;\n padding: .4rem .55rem;\n}\n\n.history-viewer__close-button::before {\n font-size: 1.4rem;\n}\n\n.history-viewer__messages .message-box:first-child {\n margin-top: 1.5385rem;\n}\n\n.history-viewer__messages .message-box:last-child {\n margin-bottom: 0;\n}\n\n.history-viewer-preview {\n position: relative;\n display: flex;\n}\n\n.history-viewer-preview__underlay {\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.history-viewer-preview__frame {\n background-color: rgba(0, 0, 0, 0);\n}\n\n.history-viewer-preview__frame .preview__iframe {\n background-color: white;\n}\n\n.history-viewer-preview__spinner {\n margin-bottom: 1em;\n font-size: 0.923rem;\n position: relative;\n text-indent: -9999em;\n border: 0.26em solid transparent;\n border-left: 0.26em solid #005a93;\n -webkit-transform: translateZ(0);\n -ms-transform: translateZ(0);\n transform: translateZ(0);\n -webkit-animation: spinner-loader 0.9s infinite linear;\n animation: spinner-loader 0.9s infinite linear;\n}\n\n.history-viewer-preview__spinner,\n.history-viewer-preview__spinner:after {\n border-radius: 50%;\n width: 3em;\n height: 3em;\n}\n\n.history-viewer__toolbar--condensed {\n min-width: 50%;\n width: 50%;\n}\n\n.history-viewer__version-detail-diff del {\n color: #da273b;\n}\n\n.history-viewer__version-detail-diff ins {\n background-color: honeydew;\n text-decoration: none;\n}\n\n@media (max-width: 991.98px) {\n .history-viewer-preview {\n display: none;\n }\n}\n\n@-webkit-keyframes spinner-loader {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes spinner-loader {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n.history-viewer__compare-notice {\n border-top: none;\n border-radius: 0 0 0.23rem 0.23rem;\n padding: 0;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n z-index: 2;\n}\n\n.history-viewer__compare-notice .notice-message {\n padding: .4rem 1rem .4rem 1.5rem;\n vertical-align: middle;\n}\n\n.history-viewer__compare-notice button {\n background-color: inherit;\n color: inherit;\n border-width: 0 0 0 1px;\n border-color: #bde0f1;\n margin-right: 0;\n border-radius: 0 0 0.23rem 0;\n}\n\n.history-viewer__compare-notice button:hover {\n background-color: #bde0f1;\n}\n\n.history-viewer__actions-dropdown .form-check-label {\n text-transform: none;\n}\n\n.history-viewer__actions-dropdown .btn[class*=font-icon-]:before {\n margin-right: 0;\n}\n\n.history-viewer__actions-dropdown.show .dropdown-menu {\n min-width: 14rem;\n}\n\n.history-viewer__actions-dropdown .form-check {\n margin-top: .5rem;\n}\n\n.history-viewer__heading {\n font-size: 0.923rem;\n text-transform: uppercase;\n}\n\n.history-viewer__heading span:first-child {\n margin-left: 28px;\n}\n\n.history-viewer__row--current .history-viewer__version-link {\n cursor: default;\n}\n\n.history-viewer.history-viewer__compare-mode .history-viewer__snapshot .history-viewer__version-link:hover {\n cursor: default;\n}\n\n.history-viewer__selected-message {\n display: none;\n}\n\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected .history-viewer__close-button {\n display: none;\n}\n\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected .history-viewer__selected-message {\n display: block;\n}\n\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__selected-message,\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus-within .history-viewer__selected-message {\n display: none;\n}\n\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__close-button,\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus-within .history-viewer__close-button {\n display: block;\n}\n\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__selected-message,\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus .history-viewer__selected-message {\n display: none;\n}\n\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:hover .history-viewer__close-button,\n.history-viewer__table--headerless .history-viewer__row--current.history-viewer__row--comparison-selected:focus .history-viewer__close-button {\n display: block;\n}\n\n.history-viewer__row.history-viewer__snapshot {\n background: transparent;\n position: relative;\n}\n\n.history-viewer__row.history-viewer__snapshot:before {\n content: '';\n width: 2px;\n position: absolute;\n top: 0;\n bottom: 0;\n background: #ccc;\n left: 23px;\n}\n\n.history-viewer__row.history-viewer__snapshot:after {\n content: '';\n width: 10px;\n height: 10px;\n border-radius: 99px;\n background: #bbb;\n position: absolute;\n left: 19px;\n top: 50%;\n margin-top: -5px;\n}\n\n.history-viewer__row.history-viewer__snapshot--initial:before {\n top: 2rem;\n}\n\n.history-viewer__row.history-viewer__snapshot--muted .history-viewer__version-link * {\n color: #ddd !important;\n}\n\n.history-viewer__row.history-viewer__snapshot.history-viewer__row--current:before,\n.history-viewer__row.history-viewer__snapshot.history-viewer__row--current:after {\n display: none;\n}\n\n.history-viewer__table {\n padding: 0;\n}\n\n.history-viewer__table li {\n display: flex;\n list-style-type: none;\n}\n\n.history-viewer__table--comparison-selected {\n margin-bottom: 0;\n border-bottom: 5px solid #303b4d;\n}\n\n.history-viewer__heading,\n.history-viewer__row {\n border-bottom: 1px solid #dbe0e9;\n}\n\n.history-viewer__row {\n background-color: #fff;\n}\n\n.history-viewer__row:hover,\n.history-viewer__row:active {\n background-color: #f0f4f7;\n}\n\n.history-viewer__version-link {\n color: inherit;\n cursor: pointer;\n display: flex;\n flex-grow: 1;\n padding-left: 32px;\n}\n\n.history-viewer__version-link:hover,\n.history-viewer__version-link:active {\n color: inherit;\n text-decoration: none;\n}\n\n.history-viewer__table--current .history-viewer__version-link:hover {\n cursor: default;\n}\n\n.history-viewer__version-no,\n.history-viewer__version-state,\n.history-viewer__author,\n.history-viewer__message,\n.history-viewer__actions {\n padding: 1.2308rem;\n}\n\n.history-viewer__version-state,\n.history-viewer__message,\n.history-viewer__author {\n flex-grow: 1;\n width: 50%;\n}\n\n.history-viewer__message {\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n.history-viewer__actions {\n padding-top: 0;\n padding-bottom: 0;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n min-width: 12rem;\n}\n\n.table .history-viewer__row--current,\n.table .history-viewer__row--current:hover {\n background-color: #0071c4;\n color: #fff;\n}\n\n.table .history-viewer__row--current .text-muted {\n color: #fff !important;\n}\n\n.history-viewer__table--current {\n margin-bottom: 0.76925rem;\n}\n\n.history-viewer__pagination select {\n width: auto;\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/styles/bundle.scss",".history-viewer {\n > .panel--padded {\n padding-top: 0;\n }\n\n &.history-viewer__compare-mode .panel--padded {\n padding-top: 30px;\n }\n\n // Used to negate margins added by .panel--padded in some contexts\n &--no-margins {\n margin-left: -$panel-padding-x;\n margin-right: -$panel-padding-x;\n }\n}\n\n// Used in conjunction with .panel--padded, removes top and bottom padding\n.panel--padded-side {\n padding-bottom: 0;\n padding-top: 0;\n}\n\n.history-viewer__form {\n position: relative;\n}\n\n.history-viewer__message .text-muted {\n margin-right: 10px;\n}\n\n.history-viewer__compare-button {\n border: 1px solid $white;\n color: $white;\n margin-right: 1rem;\n}\n\n.history-viewer__close-button {\n background: transparent;\n border: 1px solid $white;\n border-radius: 50%; // circular\n color: $white;\n padding: .4rem .55rem;\n\n &::before {\n font-size: 1.4rem;\n }\n}\n\n.history-viewer__messages .message-box {\n &:first-child {\n margin-top: $panel-padding-y;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n}\n\n// Todo: remove this when the CMS is React driven and we don't need this hack\n.history-viewer-preview {\n position: relative;\n display: flex;\n\n &__underlay {\n position: absolute;\n width: 100%;\n height: 100%;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n\n &__frame {\n background-color: rgba(0,0,0,0);\n\n .preview__iframe {\n background-color: white;\n }\n }\n\n &__spinner {\n $loading-indicator-size: 3em;\n $loading-indicator-border-size: .26em;\n $loading-indicator-border: $loading-indicator-border-size solid transparent;\n $loading-indicator-speed: 0.9s;\n $loading-indicator-animation: spinner-loader $loading-indicator-speed infinite linear;\n\n &, &:after {\n border-radius: 50%;\n width: $loading-indicator-size;\n height: $loading-indicator-size;\n }\n\n margin-bottom: 1em;\n font-size: $font-size-sm;\n position: relative;\n text-indent: -9999em;\n border: $loading-indicator-border;\n border-left: $loading-indicator-border-size solid $blue;\n -webkit-transform: translateZ(0);\n -ms-transform: translateZ(0);\n transform: translateZ(0);\n -webkit-animation: $loading-indicator-animation;\n animation: $loading-indicator-animation;\n }\n}\n\n.history-viewer__toolbar--condensed {\n min-width: 50%;\n width: 50%;\n}\n\n.history-viewer__version-detail-diff {\n del {\n color: $red;\n }\n\n ins {\n background-color: lighten($green, 70%);\n text-decoration: none;\n }\n}\n\n// Hide preview on small devices. @todo replace this with a view toggle component\n@include media-breakpoint-down(md) {\n .history-viewer-preview {\n display: none;\n }\n}\n\n@-webkit-keyframes spinner-loader {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes spinner-loader {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewer.scss","// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n//\n// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) {\n $n: index($breakpoint-names, $name);\n @return if($n != null and $n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);\n}\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n//\n// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 576px\n@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {\n $min: map-get($breakpoints, $name);\n @return if($min != 0, $min, null);\n}\n\n// Maximum breakpoint width. Null for the largest (last) breakpoint.\n// The maximum value is calculated as the minimum of the next one less 0.02px\n// to work around the limitations of `min-` and `max-` prefixes and viewports with fractional widths.\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\n//\n// >> breakpoint-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 767.98px\n@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {\n $next: breakpoint-next($name, $breakpoints);\n @return if($next, breakpoint-min($next, $breakpoints) - .02, null);\n}\n\n// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.\n// Useful for making responsive utilities.\n//\n// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"\" (Returns a blank string)\n// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"-sm\"\n@function breakpoint-infix($name, $breakpoints: $grid-breakpoints) {\n @return if(breakpoint-min($name, $breakpoints) == null, \"\", \"-#{$name}\");\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Media that spans multiple breakpoint widths.\n// Makes the @content apply between the min and max breakpoints\n@mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($lower, $breakpoints);\n $max: breakpoint-max($upper, $breakpoints);\n\n @if $min != null and $max != null {\n @media (min-width: $min) and (max-width: $max) {\n @content;\n }\n } @else if $max == null {\n @include media-breakpoint-up($lower, $breakpoints) {\n @content;\n }\n } @else if $min == null {\n @include media-breakpoint-down($upper, $breakpoints) {\n @content;\n }\n }\n}\n\n// Media between the breakpoint's minimum and maximum widths.\n// No minimum for the smallest breakpoint, and no maximum for the largest one.\n// Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.\n@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n $max: breakpoint-max($name, $breakpoints);\n\n @if $min != null and $max != null {\n @media (min-width: $min) and (max-width: $max) {\n @content;\n }\n } @else if $max == null {\n @include media-breakpoint-up($name, $breakpoints) {\n @content;\n }\n } @else if $min == null {\n @include media-breakpoint-down($name, $breakpoints) {\n @content;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/bootstrap/scss/mixins/_breakpoints.scss",".history-viewer__compare-notice {\n border-top: none;\n border-radius: 0 0 $border-radius $border-radius;\n padding: 0;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n z-index: 2;\n .notice-message {\n padding: .4rem 1rem .4rem 1.5rem;\n vertical-align: middle;\n }\n\n button {\n background-color: inherit;\n color: inherit;\n border-width: 0 0 0 $border-width;\n border-color: lighten($color-notice, 10%);\n margin-right: 0;\n border-radius: 0 0 $border-radius 0;\n\n &:hover {\n background-color: lighten($color-notice, 10%);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerCompareWarning.scss","// Labels are capitalised by default\n.history-viewer__actions-dropdown .form-check-label {\n text-transform: none;\n}\n\n.history-viewer__actions-dropdown {\n .btn[class*=font-icon-]:before {\n margin-right: 0;\n }\n\n &.show .dropdown-menu {\n min-width: 14rem;\n }\n\n .form-check {\n margin-top: .5rem;\n }\n}\n\n.history-viewer__heading {\n font-size: $font-size-sm;\n text-transform: uppercase;\n span:first-child {\n margin-left: 28px;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerHeading.scss",".history-viewer__row--current {\n .history-viewer__version-link {\n cursor: default;\n }\n}\n.history-viewer.history-viewer__compare-mode .history-viewer__snapshot {\n .history-viewer__version-link:hover {\n cursor: default;\n }\n}\n\n// By default hide 'Already selected' message\n.history-viewer__selected-message {\n display: none;\n}\n\n.history-viewer__table--headerless {\n .history-viewer__row--current.history-viewer__row--comparison-selected {\n // When version is selected in compare mode, hide close button and show 'Already selected' message instead\n .history-viewer__close-button {\n display: none;\n }\n\n .history-viewer__selected-message {\n display: block;\n }\n\n // When version is selected in compare mode - on hover only - show close button and hide the message\n // focus-within makes this feature keyboard accessible\n &:hover,\n &:focus-within {\n .history-viewer__selected-message {\n display: none;\n }\n\n .history-viewer__close-button {\n display: block;\n }\n }\n\n // Because focus-within is not supported by IE and Edge - see https://caniuse.com/#search=%3Afocus-within -,\n // and the above styl block is not being applied. Therefore the below defines it again using hover.\n &:hover,\n &:focus {\n .history-viewer__selected-message {\n display: none;\n }\n\n .history-viewer__close-button {\n display: block;\n }\n }\n }\n}\n\n// Necessary specificity for overriding history viewer styling\n.history-viewer__row.history-viewer__snapshot {\n background: transparent;\n position: relative;\n &:before {\n content: '';\n width: 2px;\n position: absolute;\n top: 0;\n bottom: 0;\n background: #ccc;\n left: 23px;\n }\n &:after {\n content: '';\n width: 10px;\n height: 10px;\n border-radius: 99px;\n background: #bbb;\n position: absolute;\n left: 19px;\n top: 50%;\n margin-top: -5px;\n }\n\n &--initial {\n &:before {\n top: ($table-cell-padding * 2 + $line-height-base) / 2;\n }\n }\n &--muted {\n .history-viewer__version-link * {\n color: #ddd !important;\n }\n }\n\n &.history-viewer__row--current {\n &:before, &:after {\n display:none;\n }\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerVersion.scss","// Replicate Bootstrap table stylings relatively closely but using a unordered list\n.history-viewer__table {\n padding: 0;\n\n li {\n display: flex;\n list-style-type: none;\n }\n}\n\n// In compare mode, we don't want any space between the two version lists, only a small black line.\n.history-viewer__table--comparison-selected {\n margin-bottom: 0;\n border-bottom: 5px solid $gray-800;\n\n}\n\n.history-viewer__heading,\n.history-viewer__row {\n border-bottom: 1px solid $table-border-color;\n}\n\n// Add colours to the table rows\n.history-viewer {\n &__row {\n background-color: $table-accent-bg;\n\n &:hover,\n &:active {\n background-color: $table-hover-bg;\n }\n }\n\n &__version-link {\n color: inherit;\n cursor: pointer;\n display: flex;\n flex-grow: 1; // use up 3 columns worth of space by default\n\n &:hover,\n &:active {\n color: inherit;\n text-decoration: none;\n }\n\n padding-left: 32px;\n }\n\n &__table {\n &--current {\n .history-viewer__version-link:hover {\n cursor: default;\n }\n }\n }\n}\n\n// Give all columns equal width to start with, and table padding\n.history-viewer__version-no,\n.history-viewer__version-state,\n.history-viewer__author,\n.history-viewer__message,\n.history-viewer__actions {\n padding: $table-cell-padding;\n}\n\n.history-viewer__version-state,\n.history-viewer__message,\n.history-viewer__author {\n flex-grow: 1;\n width: 50%;\n}\n\n.history-viewer__message {\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n// Remove padding in the heading's last column so it doesn't push padding in the others\n.history-viewer__actions {\n padding-top: 0;\n padding-bottom: 0;\n display: flex;\n align-items: center;\n justify-content: flex-end; // right alignment\n min-width: 12rem; // big enough to fit both Compare and \"X\" close buttons\n}\n\n.table .history-viewer__row--current {\n &, &:hover {\n background-color: $link-color;\n color: $white;\n }\n\n .text-muted {\n // Note: !important is necessary due to its use in the base Bootstrap library\n color: $white !important;\n }\n}\n\n// In detail views, pulls the content (and content tabs) closer to the selected version table\n.history-viewer__table--current {\n margin-bottom: $panel-padding-y / 2;\n}\n\n.history-viewer {\n // Ensure that form field styles don't give extra styles to the pagination controls\n &__pagination {\n select {\n width: auto;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./client/src/components/HistoryViewer/HistoryViewerVersionList.scss"],"sourceRoot":""} \ No newline at end of file diff --git a/client/src/components/HistoryViewer/HistoryViewer.js b/client/src/components/HistoryViewer/HistoryViewer.js index e13eb87..71456f3 100644 --- a/client/src/components/HistoryViewer/HistoryViewer.js +++ b/client/src/components/HistoryViewer/HistoryViewer.js @@ -75,25 +75,23 @@ class HistoryViewer extends Component { */ getVersions() { const { versions } = this.props; - const edges = (versions && versions.SnapshotHistory && versions.SnapshotHistory.edges) - ? versions.SnapshotHistory.edges + const nodes = (versions && versions.snapshotHistory && versions.snapshotHistory.nodes) + ? versions.snapshotHistory.nodes : []; - return edges.map(({ node }) => { - return { + return nodes.map(node => ({ ...node, - ...node.OriginVersion, + ...node.originVersion, // Snapshots author is authoritative - Author: { - ...node.Author + author: { + ...node.author }, - AbsoluteLink: (node.IsFullVersion && node.OriginVersion) - ? node.OriginVersion.AbsoluteLink - : versions.AbsoluteLink, - Version: node.IsFullVersion && node.OriginVersion - ? node.OriginVersion.Version - : node.BaseVersion, - } - }); + absoluteLink: (node.isFullVersion && node.originVersion) + ? node.originVersion.absoluteLink + : versions.absoluteLink, + version: node.isFullVersion && node.originVersion + ? node.originVersion.version + : node.baseVersion, + })); } /** @@ -120,13 +118,13 @@ class HistoryViewer extends Component { const { currentVersion } = this.props; // Check whether the "current version" (in the store) is the latest draft - if (currentVersion && currentVersion.LatestDraftVersion === true) { + if (currentVersion && currentVersion.latestDraftVersion === true) { return currentVersion; } // Look for one in the list of available versions const latestDraftVersion = this.getVersions() - .filter(version => version.LatestDraftVersion === true); + .filter(version => version.latestDraftVersion === true); if (latestDraftVersion.length) { return latestDraftVersion[0]; @@ -236,13 +234,13 @@ class HistoryViewer extends Component { // Currently previewMode === MODE_VERSION is disabled as it displays incorrect relations. - schemaVersionReplacements[':date'] = currentVersion.LastEdited; + schemaVersionReplacements[':date'] = currentVersion.lastEdited; const schemaCompareReplacements = { ':id': recordId, ':class': recordClass, - ':from': versionFrom.Version || 0, - ':to': versionTo.Version || 0, + ':from': versionFrom.version || 0, + ':to': versionTo.version || 0, }; const schemaSearch = compare ? /:id|:class|:from|:to/g : /:id|:class|:version|:date/g; const schemaReplacements = compare ? schemaCompareReplacements : schemaVersionReplacements; @@ -251,7 +249,7 @@ class HistoryViewer extends Component { const latestVersion = this.getLatestVersion(); const props = { // comparison shows two versions as one, so by nature cannot be a single 'latest' version. - isLatestVersion: !compare && latestVersion && latestVersion.Version === version.Version, + isLatestVersion: !compare && latestVersion && latestVersion.version === version.version, isPreviewable, recordId, typeName, @@ -288,8 +286,8 @@ class HistoryViewer extends Component { return null; } - const totalVersions = versions.SnapshotHistory - ? versions.SnapshotHistory.pageInfo.totalCount + const totalVersions = versions.snapshotHistory + ? versions.snapshotHistory.pageInfo.totalCount : 0; if (totalVersions <= limit) { @@ -419,7 +417,7 @@ HistoryViewer.propTypes = { VersionDetailComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired, CompareWarningComponent: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired, versions: PropTypes.shape({ - Versions: PropTypes.shape({ + versions: PropTypes.shape({ pageInfo: PropTypes.shape({ totalCount: PropTypes.number, }), @@ -448,7 +446,7 @@ HistoryViewer.defaultProps = { typeName: '', schemaUrl: '', versions: { - Versions: { + versions: { pageInfo: { totalCount: 0, }, diff --git a/client/src/components/HistoryViewer/HistoryViewerSnapshot.js b/client/src/components/HistoryViewer/HistoryViewerSnapshot.js index 4be74a1..b0fcee7 100644 --- a/client/src/components/HistoryViewer/HistoryViewerSnapshot.js +++ b/client/src/components/HistoryViewer/HistoryViewerSnapshot.js @@ -58,8 +58,8 @@ class HistoryViewerSnapshot extends Component { render() { const { version, StateComponent, FormActionComponent, isComparing, isActive } = this.props; - const { Author: { FirstName, Surname } } = version; - const author = `${FirstName || ''} ${Surname || ''}`; + const { author: { firstName, surname } } = version; + const author = `${firstName || ''} ${surname || ''}`; const rowTitle = i18n._t('HistoryViewerSnapshot.GO_TO_SNAPSHOT', 'Go to snapshot at {date}'); return ( @@ -67,13 +67,13 @@ class HistoryViewerSnapshot extends Component { - {version.ActivityAgo} + {version.activityAgo} {' '} {getDateFromVersion(version)} @@ -116,7 +116,7 @@ HistoryViewerSnapshot.propTypes = { function mapDispatchToProps(dispatch) { return { onSelect(selectedVersion) { - const func = selectedVersion.IsFullVersion ? showVersion : showDate; + const func = selectedVersion.isFullVersion ? showVersion : showDate; dispatch(func(selectedVersion)); dispatch(clearMessages()); } diff --git a/client/src/components/HistoryViewer/HistoryViewerSnapshotState.js b/client/src/components/HistoryViewer/HistoryViewerSnapshotState.js index 1495059..150130b 100644 --- a/client/src/components/HistoryViewer/HistoryViewerSnapshotState.js +++ b/client/src/components/HistoryViewer/HistoryViewerSnapshotState.js @@ -1,5 +1,6 @@ import { Component as VersionedState } from './HistoryViewerVersionState'; import { inject } from 'lib/Injector'; +import React from 'react'; class HistoryViewerSnapshotState extends VersionedState { translateType(type) { @@ -25,14 +26,15 @@ class HistoryViewerSnapshotState extends VersionedState { } getPublishedState() { - const { ActivityDescription, ActivityType } = this.props.version; + const { activityDescription, activityType } = this.props.version; - const prefix = this.translateType(ActivityType); - const lines = ActivityDescription.split('\n'); + const prefix = this.translateType(activityType); + const lines = activityDescription.split('\n'); if (lines.length > 1) { + // eslint-disable-next-line react/no-array-index-key return lines.map((l, i) =>
    {l}
    ); } - return `${prefix} ${ActivityDescription}`; + return `${prefix} ${activityDescription}`; } getBadges() { diff --git a/client/src/components/HistoryViewer/HistoryViewerToolbar.js b/client/src/components/HistoryViewer/HistoryViewerToolbar.js index 8366fe0..d6b0c57 100644 --- a/client/src/components/HistoryViewer/HistoryViewerToolbar.js +++ b/client/src/components/HistoryViewer/HistoryViewerToolbar.js @@ -35,7 +35,7 @@ class HistoryViewerToolbar extends Component { return rollback({ variables: { id: recordId, toVersion: versionId - }}).then(() => handler(versionId)); + } }).then(() => handler(versionId)); } handleToggleRevertTooltip() { @@ -63,41 +63,39 @@ class HistoryViewerToolbar extends Component { return ( - {(rollback) => { - return ( -
    -
    - this.handleRevert(rollback)} - icon="back-in-time" - name="revert" - attributes={{ + {(rollback) => ( +
    +
    + this.handleRevert(rollback)} + icon="back-in-time" + name="revert" + attributes={{ title: revertButtonTitle, }} - data={{ + data={{ buttonStyle: 'warning' }} - disabled={isLatestVersion || isReverting || !canRollback} - loading={isReverting} - title={i18n._t('HistoryViewerToolbar.REVERT_TO_VERSION', 'Revert to this version')} - /> - { !canRollback && ( - - {rollbackMessage} - + disabled={isLatestVersion || isReverting || !canRollback} + loading={isReverting} + title={i18n._t('HistoryViewerToolbar.REVERT_TO_VERSION', 'Revert to this version')} + /> + { !canRollback && ( + + {rollbackMessage} + )} - { isPreviewable && } + { isPreviewable && }
    - ) - }} + )} ); } diff --git a/client/src/components/HistoryViewer/HistoryViewerVersion.js b/client/src/components/HistoryViewer/HistoryViewerVersion.js index 124eeeb..cd2fb72 100644 --- a/client/src/components/HistoryViewer/HistoryViewerVersion.js +++ b/client/src/components/HistoryViewer/HistoryViewerVersion.js @@ -32,9 +32,9 @@ class HistoryViewerVersion extends Component { * @returns {string} */ getAuthor() { - const { version: { Author } } = this.props; + const { version: { author } } = this.props; - return `${Author.FirstName || ''} ${Author.Surname || ''}`; + return `${author.firstName || ''} ${author.surname || ''}`; } /** @@ -88,7 +88,7 @@ class HistoryViewerVersion extends Component { */ handleClose() { const { onSelect, version, compare, compare: { versionFrom } } = this.props; - if (versionFrom && versionFrom.Version === version.Version) { + if (versionFrom && versionFrom.version === version.version) { // Ensures we set the correct thing. C.f. logic in mapDispatchToProps -> onSelect delete compare.versionFrom; } @@ -204,7 +204,7 @@ class HistoryViewerVersion extends Component { { let context = 'VersionedAdmin.HistoryViewer.HistoryViewerVersion'; if (version) { - context += `.${version.Version}`; + context += `.${version.version}`; } return context; } diff --git a/client/src/components/HistoryViewer/HistoryViewerVersionDetail.js b/client/src/components/HistoryViewer/HistoryViewerVersionDetail.js index 884c2f8..ddf4544 100644 --- a/client/src/components/HistoryViewer/HistoryViewerVersionDetail.js +++ b/client/src/components/HistoryViewer/HistoryViewerVersionDetail.js @@ -108,12 +108,12 @@ class HistoryViewerVersionDetail extends PureComponent { itemLinks={{ preview: { Stage: { - href: `${version.AbsoluteLink}&archiveDate=${version.LastEdited}`, + href: `${version.AbsoluteLink}&archiveDate=${version.lastEdited}`, type: 'text/html', }, }, }} - itemId={version.Version} + itemId={version.version} />
    ); @@ -138,13 +138,13 @@ class HistoryViewerVersionDetail extends PureComponent { return ( ); @@ -198,7 +198,7 @@ class HistoryViewerVersionDetail extends PureComponent {
    @@ -261,5 +261,5 @@ export default inject( PreviewComponent, CompareWarningComponent, }), - ({ version }, context) => `${context}.HistoryViewerVersionDetail.${version.Version}` + ({ version }, context) => `${context}.HistoryViewerVersionDetail.${version.version}` )(HistoryViewerVersionDetail); diff --git a/client/src/components/HistoryViewer/HistoryViewerVersionList.js b/client/src/components/HistoryViewer/HistoryViewerVersionList.js index 7599a2e..353edf3 100644 --- a/client/src/components/HistoryViewer/HistoryViewerVersionList.js +++ b/client/src/components/HistoryViewer/HistoryViewerVersionList.js @@ -44,9 +44,9 @@ class HistoryViewerVersionList extends PureComponent { */ isVersionActive(version) { const { currentVersion, compare, compare: { versionFrom, versionTo } } = this.props; - const isCurrent = currentVersion && currentVersion.ID === version.ID; - const isCompareFrom = versionFrom && versionFrom.ID === version.ID; - const isCompareTo = versionTo && versionTo.ID === version.ID; + const isCurrent = currentVersion && currentVersion.id === version.id; + const isCompareFrom = versionFrom && versionFrom.id === version.id; + const isCompareTo = versionTo && versionTo.id === version.id; return (!compare && isCurrent) || isCompareFrom || isCompareTo; } @@ -111,9 +111,9 @@ class HistoryViewerVersionList extends PureComponent { {this.renderHeader()} { versions.map((version, index) => ( - version.IsFullVersion ? + version.isFullVersion ? : ({ BadgeComponent }), - ({ version }) => `HistoryViewer.HistoryViewerVersionState.${version.Version}` + ({ version }) => `HistoryViewer.HistoryViewerVersionState.${version.version}` )(HistoryViewerVersionState); diff --git a/client/src/components/HistoryViewer/RollbackMutation.js b/client/src/components/HistoryViewer/RollbackMutation.js index 6e4ff80..8ce9039 100644 --- a/client/src/components/HistoryViewer/RollbackMutation.js +++ b/client/src/components/HistoryViewer/RollbackMutation.js @@ -5,10 +5,10 @@ import createRollbackMutation from '../../graphql/createRollbackMutation'; const RollbackMutation = ({ typeName, children }) => { const ROLLBACK = useMemo(() => createRollbackMutation(typeName), [typeName]); return ( - - {children} - - ) + + {children} + + ); }; -export default RollbackMutation; \ No newline at end of file +export default RollbackMutation; diff --git a/client/src/components/HistoryViewer/SnapshotViewerContainer.js b/client/src/components/HistoryViewer/SnapshotViewerContainer.js index afeb8ba..eb21d7d 100644 --- a/client/src/components/HistoryViewer/SnapshotViewerContainer.js +++ b/client/src/components/HistoryViewer/SnapshotViewerContainer.js @@ -12,11 +12,14 @@ const SnapshotViewerContainer = ({ page, recordClass, isPreviewable, - actions = {versions: {}}, + actions = { versions: {} }, }, SnapshotViewerComponent, }) => { - const QUERY = useMemo(() => createSnapshotsQuery(typeName, isPreviewable), [typeName, isPreviewable]); + const QUERY = useMemo( + () => createSnapshotsQuery(typeName, isPreviewable), + [typeName, isPreviewable] + ); const variables = { limit, @@ -24,8 +27,8 @@ const SnapshotViewerContainer = ({ page_id: recordId, }; return ( - - {({ loading, error, data, refetch }) => { + + {({ loading, error, data, refetch }) => { let readOne = null; if (data) { readOne = data[`readOne${typeName}`]; @@ -36,13 +39,14 @@ const SnapshotViewerContainer = ({ error.graphQLErrors.map((graphQLError) => graphQLError.message); const props = { - loading: loading, + loading, versions, graphQLErrors: errors, actions: { ...actions, versions: { ...versions, + // eslint-disable-next-line no-shadow goToPage(page) { refetch({ offset: ((page || 1) - 1) * limit, @@ -60,10 +64,10 @@ const SnapshotViewerContainer = ({ }; return ( - + ); }} - + ); }; diff --git a/client/src/components/HistoryViewer/tests/HistoryViewer-test.js b/client/src/components/HistoryViewer/tests/HistoryViewer-test.js index 608005c..68cb5d4 100644 --- a/client/src/components/HistoryViewer/tests/HistoryViewer-test.js +++ b/client/src/components/HistoryViewer/tests/HistoryViewer-test.js @@ -23,39 +23,39 @@ describe('HistoryViewer', () => { }); const versions = { - SnapshotHistory: { + snapshotHistory: { pageInfo: { totalCount: 2 }, edges: [ { node: { - BaseVersion: 14, - Author: { - FirstName: 'Michelle', - Surname: 'Masters' + baseVersion: 14, + author: { + firstName: 'Michelle', + surname: 'Masters' }, - Publisher: null, - Published: false, - LatestDraftVersion: false, - LiveVersion: false, - LastEdited: '2018-03-08 11:57:58', - IsFullVersion: false, + publisher: null, + published: false, + latestDraftVersion: false, + liveVersion: false, + lastEdited: '2018-03-08 11:57:58', + isFullVersion: false, } }, { node: { - BaseVersion: 13, - Author: { - FirstName: 'Scott', - Surname: 'Stockman' + baseVersion: 13, + author: { + firstName: 'Scott', + surname: 'Stockman' }, - Publisher: null, - Published: false, - LatestDraftVersion: true, - LiveVersion: false, - LastEdited: '2018-03-08 11:57:56', - IsFullVersion: false, + publisher: null, + published: false, + latestDraftVersion: true, + liveVersion: false, + lastEdited: '2018-03-08 11:57:56', + isFullVersion: false, } }, ], @@ -74,12 +74,12 @@ describe('HistoryViewer', () => { compare={false} />); - expect(wrapper.instance().getVersions().map((version) => version.Version)).toEqual([14, 13]); + expect(wrapper.instance().getVersions().map((version) => version.version)).toEqual([14, 13]); }); }); describe('getLatestVersion()', () => { - it('returns the version marked as LatestDraftVersion', () => { + it('returns the version marked as latestDraftVersion', () => { const wrapper = shallow( { compare={false} />); - expect(wrapper.instance().getLatestVersion().Version).toEqual(13); + expect(wrapper.instance().getLatestVersion().version).toEqual(13); }); it('gives priority to the currentVersion', () => { @@ -105,12 +105,12 @@ describe('HistoryViewer', () => { page={1} compare={false} currentVersion={{ - Version: 123, - LatestDraftVersion: true + version: 123, + latestDraftVersion: true }} />); - expect(wrapper.instance().getLatestVersion().Version).toEqual(123); + expect(wrapper.instance().getLatestVersion().version).toEqual(123); }); }); diff --git a/client/src/components/HistoryViewer/tests/HistoryViewerToolbar-test.js b/client/src/components/HistoryViewer/tests/HistoryViewerToolbar-test.js index df489d8..1b82a09 100644 --- a/client/src/components/HistoryViewer/tests/HistoryViewerToolbar-test.js +++ b/client/src/components/HistoryViewer/tests/HistoryViewerToolbar-test.js @@ -25,6 +25,7 @@ describe('HistoryViewerToolbar', () => { ViewModeComponent={ViewModeComponent} recordId={123} versionId={234} + typeName="MockType" />); return component.handleRevert() diff --git a/client/src/components/HistoryViewer/tests/HistoryViewerVersion-test.js b/client/src/components/HistoryViewer/tests/HistoryViewerVersion-test.js index 8623c41..e4130ad 100644 --- a/client/src/components/HistoryViewer/tests/HistoryViewerVersion-test.js +++ b/client/src/components/HistoryViewer/tests/HistoryViewerVersion-test.js @@ -23,16 +23,16 @@ describe('HistoryViewerVersion', () => { mockOnSelect = jest.fn(); version = { - Author: { - FirstName: 'John', - Surname: 'Smith', + author: { + firstName: 'John', + surname: 'Smith', }, - Published: false, - Publisher: { - FirstName: 'Sarah', - Surname: 'Smith', + published: false, + publisher: { + firstName: 'Sarah', + surname: 'Smith', }, - Version: 3, + version: 3, }; }); @@ -65,7 +65,7 @@ describe('HistoryViewerVersion', () => { const wrapper = shallow( { it('renders version details when version clicked', () => { const compare = { - versionFrom: { Version: 0 }, - versionTo: { Version: 0 }, + versionFrom: { version: 0 }, + versionTo: { version: 0 }, }; const wrapper = shallow( { onSelect={mockOnSelect} onCompareSelect={mockOnCompareSelect} compare={{ - versionFrom: { Version: 0 }, - versionTo: { Version: 0 }, + versionFrom: { version: 0 }, + versionTo: { version: 0 }, }} />); @@ -193,8 +193,8 @@ describe('HistoryViewerVersion', () => { onCompareSelect={mockOnCompareSelect} isActive compare={{ - versionFrom: { Version: 0 }, - versionTo: { Version: 0 }, + versionFrom: { version: 0 }, + versionTo: { version: 0 }, }} />); diff --git a/client/src/components/HistoryViewer/tests/HistoryViewerVersionState-test.js b/client/src/components/HistoryViewer/tests/HistoryViewerVersionState-test.js index fae1387..96f1bfe 100644 --- a/client/src/components/HistoryViewer/tests/HistoryViewerVersionState-test.js +++ b/client/src/components/HistoryViewer/tests/HistoryViewerVersionState-test.js @@ -21,7 +21,7 @@ describe('HistoryViewerVersionState', () => { describe('getPublishedState', () => { it('returns the correct state', () => { const mockVersion = { - Published: true + published: true }; component = ReactTestUtils @@ -41,7 +41,7 @@ describe('HistoryViewerVersionState', () => { describe('getDate', () => { it('returns a formatted date', () => { const mockVersion = { - LastEdited: '2018-05-03 17:12:00' + lastEdited: '2018-05-03 17:12:00' }; component = ReactTestUtils .renderIntoDocument(); @@ -54,7 +54,7 @@ describe('HistoryViewerVersionState', () => { describe('getBadges', () => { it('returns a Badge when the version is live', () => { const mockVersion = { - LiveVersion: true + liveVersion: true }; component = ReactTestUtils .renderIntoDocument(); diff --git a/client/src/graphql/createRollbackMutation.js b/client/src/graphql/createRollbackMutation.js index 3369051..01922e9 100644 --- a/client/src/graphql/createRollbackMutation.js +++ b/client/src/graphql/createRollbackMutation.js @@ -1,18 +1,15 @@ -import { graphql } from 'react-apollo'; import gql from 'graphql-tag'; -const createRollbakMutation = typeName => { - return gql` +const createRollbakMutation = typeName => gql` mutation rollback${typeName}($id:ID!, $toVersion:Int!) { rollback${typeName}( - ID: $id - ToVersion: $toVersion + id: $id + toVersion: $toVersion ) { - ID - ClassName + id + className } } `; -}; export default createRollbakMutation; diff --git a/client/src/graphql/createSnapshotsQuery.js b/client/src/graphql/createSnapshotsQuery.js index cbff99a..4a1d4a2 100644 --- a/client/src/graphql/createSnapshotsQuery.js +++ b/client/src/graphql/createSnapshotsQuery.js @@ -1,47 +1,48 @@ import gql from 'graphql-tag'; -const createSnapshotsQuery = (typeName, isPreviewable) => { - return gql` +const createSnapshotsQuery = (typeName, isPreviewable) => gql` query ReadSnapshots${typeName} ($page_id: ID!, $limit: Int!, $offset: Int!) { readOne${typeName}( - ID: $page_id + filter: { id: { eq: $page_id } } ) { - ID - ${isPreviewable ? 'AbsoluteLink' : ''} - SnapshotHistory (limit: $limit, offset: $offset) { - pageInfo { - totalCount - } - edges { - node { - ID - LastEdited - ActivityDescription - ActivityType - ActivityAgo - IsFullVersion - IsLiveSnapshot - BaseVersion - Message - Author { - FirstName - Surname - } - OriginVersion { - Version - ${isPreviewable ? 'AbsoluteLink' : ''} - Author { - FirstName - Surname + ... on ${typeName} { + id + ${isPreviewable ? 'absoluteLink' : ''} + snapshotHistory (limit: $limit, offset: $offset) { + pageInfo { + totalCount + } + nodes { + + id + lastEdited + activityDescription + activityType + activityAgo + isFullVersion + isLiveSnapshot + baseVersion + message + author { + firstName + surname } + originVersion { + version + ${isPreviewable ? 'absoluteLink' : ''} + author { + firstName + surname + } - Published - Publisher { - FirstName - Surname + published + publisher { + firstName + surname + } + latestDraftVersion } - LatestDraftVersion - } + } } } @@ -49,6 +50,5 @@ const createSnapshotsQuery = (typeName, isPreviewable) => { } `; -}; export default createSnapshotsQuery; diff --git a/client/src/helpers/getDateFromVersion.js b/client/src/helpers/getDateFromVersion.js index 45481d6..675d715 100644 --- a/client/src/helpers/getDateFromVersion.js +++ b/client/src/helpers/getDateFromVersion.js @@ -9,7 +9,7 @@ import moment from 'moment'; */ const getDateFromVersion = version => { moment.locale(i18n.detectLocale()); - return moment(version.LastEdited).format('L LT'); + return moment(version.lastEdited).format('L LT'); }; export default getDateFromVersion; diff --git a/client/src/state/historyviewer/HistoryViewerReducer.js b/client/src/state/historyviewer/HistoryViewerReducer.js index 4a6b7cd..7b9a81d 100644 --- a/client/src/state/historyviewer/HistoryViewerReducer.js +++ b/client/src/state/historyviewer/HistoryViewerReducer.js @@ -108,8 +108,8 @@ export default function historyViewerReducer(state = initialState, { type, paylo // A normal `diff` always shows what it takes turn FROM into TO // Here, comparisons are always FROM oldest TO newest version - // Version IDs (versionObject.Version) are always positive & in creation order. - if (versionTo && versionFrom && versionTo.Version < versionFrom.Version) { + // Version IDs (versionObject.version) are always positive & in creation order. + if (versionTo && versionFrom && versionTo.version < versionFrom.version) { versionFrom = versionTo; versionTo = state.compare.versionFrom; } diff --git a/client/src/state/historyviewer/tests/HistoryViewerReducer-test.js b/client/src/state/historyviewer/tests/HistoryViewerReducer-test.js index 33bef9b..f2269c4 100644 --- a/client/src/state/historyviewer/tests/HistoryViewerReducer-test.js +++ b/client/src/state/historyviewer/tests/HistoryViewerReducer-test.js @@ -38,7 +38,7 @@ describe('HistoryViewerReducer', () => { }, }); - expect(result.currentVersion.Version).toBe(23); + expect(result.currentVersion.version).toBe(23); }); }); @@ -145,7 +145,7 @@ describe('HistoryViewerReducer', () => { }, }); - expect(result.compare.versionFrom.Version).toBe(47); + expect(result.compare.versionFrom.version).toBe(47); }); it('uses versionTo for versionFrom when version is zero', () => { @@ -166,7 +166,7 @@ describe('HistoryViewerReducer', () => { payload: {} }); - expect(result.compare.versionFrom.Version).toBe(80); + expect(result.compare.versionFrom.version).toBe(80); expect(result.compare.versionTo).toBe(false); }); @@ -187,7 +187,7 @@ describe('HistoryViewerReducer', () => { }, }); - expect(result.currentVersion.Version).toBe(60); + expect(result.currentVersion.version).toBe(60); }); }); @@ -200,7 +200,7 @@ describe('HistoryViewerReducer', () => { }, }); - expect(result.compare.versionTo.Version).toBe(85); + expect(result.compare.versionTo.version).toBe(85); }); it('flips the versions if a lower version "to" is selected', () => { @@ -225,8 +225,8 @@ describe('HistoryViewerReducer', () => { }, }); - expect(result.compare.versionFrom.Version).toBe(25); - expect(result.compare.versionTo.Version).toBe(50); + expect(result.compare.versionFrom.version).toBe(25); + expect(result.compare.versionTo.version).toBe(50); }); }); @@ -247,6 +247,6 @@ describe('HistoryViewerReducer', () => { }, }); - expect(result.currentVersion.Version).toBe(60); + expect(result.currentVersion.version).toBe(60); }); }); diff --git a/client/src/types/versionType.js b/client/src/types/versionType.js index da1b473..8803be0 100644 --- a/client/src/types/versionType.js +++ b/client/src/types/versionType.js @@ -2,39 +2,39 @@ import PropTypes from 'prop-types'; // Describes the expected data structure for a member attached to a version const memberShape = PropTypes.shape({ - FirstName: PropTypes.string, - Surname: PropTypes.string, + firstName: PropTypes.string, + surname: PropTypes.string, }); // Describes the data structure for a Version, returned via GraphQL scaffolding const versionType = PropTypes.shape({ - Version: PropTypes.number, - AbsoluteLink: PropTypes.string, - LastEdited: PropTypes.string, - Published: PropTypes.boolean, - LiveVersion: PropTypes.boolean, - LatestDraftVersion: PropTypes.boolean, - Message: PropTypes.string, - Publisher: memberShape, - Author: memberShape, + version: PropTypes.number, + absoluteLink: PropTypes.string, + lastEdited: PropTypes.string, + published: PropTypes.boolean, + liveVersion: PropTypes.boolean, + latestDraftVersion: PropTypes.boolean, + message: PropTypes.string, + publisher: memberShape, + author: memberShape, }); // A default (empty) data set for a version const defaultVersion = { - Version: 0, - AbsoluteLink: '', - LastEdited: '', - Published: false, - LiveVersion: false, - LatestDraftVersion: false, - Message: '', - Publisher: { - FirstName: '', - Surname: '', + version: 0, + absoluteLink: '', + lastEdited: '', + published: false, + liveVersion: false, + latestDraftVersion: false, + message: '', + publisher: { + firstName: '', + surname: '', }, - Author: { - FirstName: '', - Surname: '', + author: { + firstName: '', + surname: '', }, }; diff --git a/composer.json b/composer.json index 8accee2..a8dd7df 100755 --- a/composer.json +++ b/composer.json @@ -21,9 +21,10 @@ ], "require": { "silverstripe/framework": "^4", + "silverstripe/graphql": "^4", "silverstripe/versioned-snapshots": "dev-master", "silverstripe/versioned-admin": "^1", - "silverstripe/admin": "< 1.7", + "silverstripe/admin": ">= 1.7", "silverstripe/vendor-plugin": "^1" }, "require-dev": { diff --git a/src/DataObjectScaffolderExtension.php b/src/DataObjectScaffolderExtension.php deleted file mode 100644 index e35c5a7..0000000 --- a/src/DataObjectScaffolderExtension.php +++ /dev/null @@ -1,93 +0,0 @@ -owner; - - $instance = $owner->getDataObjectInstance(); - $class = $owner->getDataObjectClass(); - if (!$instance->hasExtension(SnapshotPublishable::class) || !$instance->hasExtension(Versioned::class)) { - return; - } - $versionTypeName = $this->createVersionedTypeName($class); - $memberType = StaticSchema::inst()->typeNameForDataObject(Member::class); - $snapshotName = $this->createTypeName($class); - $snapshotType = new ObjectType([ - 'name' => $snapshotName, - 'fields' => function () use ($manager, $versionTypeName, $memberType) { - return [ - 'ID' => Type::id(), - 'LastEdited' => Type::string(), - 'ActivityDescription' => Type::string(), - 'ActivityType' => $this->createActivityEnum(), - 'ActivityAgo' => Type::string(), - 'OriginVersion' => $manager->getType($versionTypeName), - 'Author' => $manager->getType($memberType), - 'IsFullVersion' => Type::boolean(), - 'IsLiveSnapshot' => Type::boolean(), - 'BaseVersion' => Type::int(), - 'Message' => Type::string(), - ]; - } - ]); - - $manager->addType($snapshotType, $snapshotName); - - $owner - ->nestedQuery('SnapshotHistory', new ReadSnapshotHistory($class, $snapshotName)); - } - - protected function createActivityEnum() - { - if (!$this->activityEnum) { - $this->activityEnum = new EnumType([ - 'name' => 'SnapshotActivityType', - 'values' => [ - ActivityEntry::ADDED, - ActivityEntry::CREATED, - ActivityEntry::DELETED, - ActivityEntry::MODIFIED, - ActivityEntry::PUBLISHED, - ActivityEntry::UNPUBLISHED, - ActivityEntry::REMOVED, - ] - ]); - } - - return $this->activityEnum; - } - /** - * @param string $class - * @return string - */ - protected function createTypeName($class) - { - return StaticSchema::inst()->typeNameForDataObject($class).'Snapshot'; - } -} diff --git a/src/ReadSnapshotHistory.php b/src/ReadSnapshotHistory.php deleted file mode 100644 index 78d161c..0000000 --- a/src/ReadSnapshotHistory.php +++ /dev/null @@ -1,74 +0,0 @@ -setDataObjectClass($dataObjectClass); - $operationName = 'read' . ucfirst($snapshotTypeName); - - parent::__construct($operationName, $snapshotTypeName, $this); - } - - public function resolve($object, array $args, $context, ResolveInfo $info) - { - /** @var DataObject&Versioned&SnapshotPublishable $object */ - if (!$object->hasExtension(SnapshotPublishable::class)) { - throw new Exception(sprintf( - 'Types using the %s query scaffolder must have the SnapshotPublishable extension applied. (See %s)', - __CLASS__, - $this->getDataObjectClass() - )); - } - if (!$object->canViewStage(Versioned::DRAFT, $context['currentUser'])) { - throw new Exception(sprintf( - 'Cannot view snapshots on %s', - $this->getDataObjectClass() - )); - } - - // Get all snapshots - $list = $object->getRelevantSnapshots(); - $list = $list->sort('"LastEdited"', 'DESC'); - $this->extend('updateList', $list, $object, $args, $context, $info); - // To check if the items are the full versions we compare their hashes against the objects hash - // this is used in the frontend to show the user if the snapshot is from the object itself - // or one of it's children - // The reason for doing this here is so that it behaves nicely with fluent, ideally this would - // move to the frontend - $objectHash = static::hashObjectForSnapshot($object); - $listWithAlterations = ArrayList::create(); - foreach ($list as $item) { - $item->IsFullVersion = $item->OriginHash === $objectHash && - $item->getActivityType() !== ActivityEntry::DELETED; - $listWithAlterations->push($item); - } - return $listWithAlterations; - } -} diff --git a/src/SnapshotHistoryPlugin.php b/src/SnapshotHistoryPlugin.php new file mode 100644 index 0000000..dbb46dc --- /dev/null +++ b/src/SnapshotHistoryPlugin.php @@ -0,0 +1,168 @@ +hasExtension(SnapshotHistoryExtension::class) || !$inst->isSnapshotable()) { + continue; + } + + $fields = ['id', 'className']; + if ($inst->hasMethod('absoluteLink')) { + $fields[] = 'absoluteLink'; + } + $schema->addModelbyClassName($inst->baseClass(), function (ModelType $model) use ($fields) { + $model->addFields($fields) + ->addOperation('readOne') + ->addOperation('rollback'); + }); + } + + } + + + /** + * @param ModelType $type + * @param Schema $schema + * @param array $config + * @throws SchemaBuilderException + */ + public function apply(ModelType $type, Schema $schema, array $config = []): void + { + $class = $type->getModel()->getSourceClass(); + $inst = Injector::inst()->get($class); + + if (!$inst->hasExtension(SnapshotPublishable::class) || !$inst->hasExtension(Versioned::class)) { + return; + } + + $snapshotType = static::createSnapshotType($schema, $class); + $schema->addType($snapshotType); + $type->addField('snapshotHistory', $snapshotType->getName(), function (ModelField $field) use ($schema) { + $field->setResolver([static::class, 'resolve']); + Paginator::create()->apply($field, $schema); + }); + } + + /** + * @param Schema $schema + * @param string $class + * @return Type + * @throws SchemaBuilderException + */ + protected static function createSnapshotType(Schema $schema, string $class): Type + { + $versionName = $schema->getConfig()->getTypeNameForClass($class) . 'Version'; + $snapshotName = $schema->getConfig()->getTypeNameForClass($class) . 'Snapshot'; + $memberType = $schema->getConfig()->getTypeNameForClass(Member::class); + + return Type::create( + $snapshotName, + [ + 'fields' => [ + 'id' => 'ID', + 'lastEdited' => 'String', + 'activityDescription' => 'String', + 'activityType' => 'SnapshotActivityType', + 'activityAgo' => 'String', + 'originVersion' => $versionName, + 'author' => $memberType, + 'isFullVersion' => 'Boolean', + 'isLiveSnapshot' => 'Boolean', + 'baseVersion' => 'Int', + 'message' => 'String', + ], + 'fieldResolver' => [Resolver::class, 'baseResolve'], + ] + ); + } + + /** + * @param $object + * @param array $args + * @param $context + * @param ResolveInfo $info + * @return ArrayList + * @throws SchemaBuilderException + * @throws Exception + */ + public static function resolve($object, array $args, $context, ResolveInfo $info): ArrayList + { + /** @var DataObject&Versioned&SnapshotPublishable $object */ + Schema::invariant( + $object->hasExtension(SnapshotPublishable::class), + 'Types using snapshot history must have the SnapshotPublishable extension applied. (See %s)', + get_class($object) + ); + $currentUser = UserContextProvider::get($context); + if (!$object->canViewStage(Versioned::DRAFT, $currentUser)) { + throw new Exception(sprintf( + 'Cannot view snapshots on %s', + get_class($object) + )); + } + + // Get all snapshots + $list = $object->getRelevantSnapshots(); + $list = $list->sort('"LastEdited"', 'DESC'); + // To check if the items are the full versions we compare their hashes against the objects hash + // this is used in the frontend to show the user if the snapshot is from the object itself + // or one of it's children + // The reason for doing this here is so that it behaves nicely with fluent, ideally this would + // move to the frontend + $objectHash = SnapshotHasher::hashObjectForSnapshot($object); + $listWithAlterations = ArrayList::create(); + foreach ($list as $item) { + $item->isFullVersion = $item->OriginHash === $objectHash && + $item->getActivityType() !== ActivityEntry::DELETED; + $listWithAlterations->push($item); + } + return $listWithAlterations; + } + +} diff --git a/src/SnapshotPublishableExtension.php b/src/SnapshotPublishableExtension.php index 805d028..9762ade 100644 --- a/src/SnapshotPublishableExtension.php +++ b/src/SnapshotPublishableExtension.php @@ -26,13 +26,13 @@ public function updateRelevantSnapshots(DataList &$result) $result = $result->alterDataQuery(function (DataQuery $query) use ($hash, $snapshotTable, $itemTable) { $subquery = <<selectField( DB::inline_parameters($subquery, [$hash]), - 'BaseVersion' + 'baseVersion' ); return $query; }); diff --git a/src/SnapshotScaffoldingProvider.php b/src/SnapshotScaffoldingProvider.php deleted file mode 100644 index f2fc724..0000000 --- a/src/SnapshotScaffoldingProvider.php +++ /dev/null @@ -1,48 +0,0 @@ -type(Member::class) - ->addFields(['FirstName','Surname']); - if (class_exists(SiteTree::class)) { - $scaffolder->type(SiteTree::class) - ->addField('ClassName'); - } - foreach (ClassInfo::subclassesFor(DataObject::class, false) as $class) { - /* @var DataObject|SnapshotHistoryExtension $inst */ - $inst = $class::singleton(); - if (!$inst->hasExtension(SnapshotHistoryExtension::class)) { - continue; - } - if (!$inst->isSnapshotable()) { - continue; - } - - $fields = ['ID', 'ClassName']; - if ($inst->hasMethod('AbsoluteLink')) { - $fields[] = 'AbsoluteLink'; - } - $scaffolder->type($inst->baseClass()) - ->addFields($fields) - ->operation(SchemaScaffolder::READ_ONE) - ->end() - ->operation('rollback'); - } - } -} diff --git a/src/SnapshotViewerField.php b/src/SnapshotViewerField.php index bb35551..159013c 100644 --- a/src/SnapshotViewerField.php +++ b/src/SnapshotViewerField.php @@ -3,8 +3,10 @@ namespace SilverStripe\SnapshotAdmin; +use SilverStripe\CMS\Model\SiteTree; use SilverStripe\GraphQL\Manager; use SilverStripe\GraphQL\Scaffolding\StaticSchema; +use SilverStripe\GraphQL\Schema\SchemaBuilder; use SilverStripe\VersionedAdmin\Forms\HistoryViewerField; use SilverStripe\View\Requirements; @@ -32,18 +34,16 @@ public function getName(): string public function getSchemaDataDefaults() { - // Holy hack! setTypeNames() only gets applied when the Manager is bootstrapped, - // in a /graphql call, so it's not available in the context of a form schema API call. - $schemaConfig = Manager::config()->get('schemas'); - $typeNames = $schemaConfig['admin']['typeNames'] ?? []; - StaticSchema::inst()->setTypeNames($typeNames); - $data = parent::getSchemaDataDefaults(); $record = $this->getSourceRecord(); + + // GraphQL doesn't have any API for "hide ancestor", which we should support at some point + // to avoid things like readSiteTree. "Page" is exposed by default + $baseClass = $record->baseClass() === SiteTree::class ? 'Page' : $record->baseClass(); + $config = SchemaBuilder::singleton()->getConfig('admin'); $data['data'] = array_merge($data['data'], [ - 'typeName' => StaticSchema::inst()->typeNameForDataObject($record->baseClass()), + 'typeName' => $config->getTypeNameForClass($baseClass), ]); - return $data; } }