PageSourceSearch

https://online.safefed.org/dbank/live/static/js/35.eaebe218.chunk.js

js safefed.org collected 2026-09-24 11:50:30 UTC 243,403 bytes, 3 lines download raw bytes

1/*! For license information please see 35.eaebe218.chunk.js.LICENSE.txt */
2(this["webpackJsonponline-banking-app"]=this["webpackJsonponline-banking-app"]||[]).push([[35,1,96],{1342:function(e,t){e.exports={URL_LOCATIONS:"/accts-olb/v1/locations",URL_ACCOUNTS:"/accts-olb/v1/history",URL_TRANSFER_FEE:"/app/ajax/transferFee.json",URL_TRANSFER:"/app/ajax/transfer.json",URL_TRANSFER_CONTEXTUAL_MESSAGES:"/app/ajax/transferContextualMessages.json",URL_SCHEDULED_TRANSFERS:"/app/ajax/scheduledTransfers.json",URL_SCHEDULED_TRANSFER:"/app/ajax/scheduledTransfer.json",URL_UPDATE_SCHEDULED_TRANSFER:"/app/ajax/updateScheduledTransfer.json",URL_TRANSACTIONS:"/accts-olb/v1/history/transactions",URL_USERPREFERENCES:"/accts-olb/v1/history/preferences",URL_EXPORT:"/accts-olb/v1/history/transactions",URL_OUTSIDE_ACCOUNTS:"/app/ajax/financeWorks/outsideAccounts.json",URL_OUTSIDE_ACCOUNTS_TRANSACTIONS:"/app/ajax/financeWorks/outsideTransactions.json",URL_MX_OUTSIDE_ACCOUNTS:"/accts-olb/v1/mx/accounts",URL_MX_OUTSIDE_ACCOUNTS_TRANSACTIONS:"/accts-olb/v1/mx/transactions",URL_CHECK_IMAGE:"/accts-olb/v1/check/image",URL_CHECK_IMAGE_SIDE:"/accts-olb/v1/check/image/side",URL_DEPOSIT_IMAGE:"/accts-olb/v1/deposit/image",URL_DEPOSIT_CHECK_LIST:"/accts-olb/v1/deposit/image/check-list",URL_DEPOSIT_CHECK_IMAGE:"/accts-olb/v1/deposit/image/check-image",URL_DEPOSIT_IMAGE_SIDE:"/accts-olb/v1/deposit/image/side",URL_REWARDS_ACCOUNTS:"/usr-engage-olb/v1/user/purchase-rewards/dashboard-summary",URL_PROMOTIONS:"/usr-engage-olb/v1/user/promotions",URL_SEGMINT_OFFERS:"/usr-engage-olb/v1/epoxy/segmint/legacy/zones",URL_ACCOUNT_SUMMARY_GL:"/accts-olb/v1/history/global-logging-event",URL_ACCOUNT_ORDER:"/accts-olb/v1/accountorder",URL_UPDATE_NICKNAME:"/accts-olb/v1/nickname",URL_STOP_PAYMENT:"/accts-olb/v1/stoppayment",URL_CM_GET_CARDS:"/accts-olb/v1/cardmanagement/cards",URL_CM_CANCEL_CARD:"/accts-olb/v1/cardmanagement/card?action=cancel",URL_CM_TOGGLE_SUSPEND_CARD:"/accts-olb/v1/cardmanagement/card?action=suspend",URL_CM_TOGGLE_UNSUSPEND_CARD:"/accts-olb/v1/cardmanagement/card?action=unsuspend",URL_CM__CARDS:"/app/cardmanagement/cards.json",URL_CM_REPORT_STOLEN_CARDS:"/accts-olb/v1/cardmanagement/card?action=loststolen",URL_RECIPIENT:"/accts-olb/v1/recipients",LAYOUT_LG:"lg",LAYOUT_MD:"md",LAYOUT_SM:"sm",LAYOUT_XS:"xs",LOADING:"LOADING",ERROR:"ERROR",SUCCESS:"SUCCESS",INIT:"INIT",NO_RECORDS:"NO_RECORDS",HOME:"home",HISTORY:"history",TRANSFERS:"transfers",FREEDOM_PAY:"freedom_pay",STATEMENTS:"statements",ADD_RECIPIENTS:"add_recipients",NHP:"NHP",SDP:"SDP",ACCOUNT_PREFERENCES:"account_preferences",SRT:"srt",STOP_PAYMENT:"stop_payment",CM:"card_management",MANAGE_RECIPIENTS:"manage_recipients",TAB_ELEMENT_SELECTORS_FOR_POPUP:'[tabindex="0"],a[href],input,button,textarea',HTTP_STATUS_OK:200,HTTP_STATUS_NO_CONTENT:204,HTTP_STATUS_FORBIDDEN:403,HTTP_STATUS_ERROR:500,TAB_ELEMENT_SELECTORS_FOR_DROPDOWN:"a[href]",ACCOUNTS_RESPONSE_STATUS_PROCESSED:"PROCESSED",TRANSFER_STATUS_SUCCESS:"SUCCESS",TRANSFER_STATUS_SUCCESS_WITHOUT_BALANCE:"SUCCESS_WITHOUT_BALANCE",TRANSFER_STATUS_FAILURE:"FAILURE",TRANSFER_ERROR_RESPONSE:"error",INVALID_PASSCODE_ERROR_CODE:"21005",INSUFFICIENT_FUNDS_TO_PAYOFF:"INSUFFICIENT_PAYOFF_ERROR",AMOUNT_EXCEED_LIMIT:"LIMIT_EXCEED",TRANSFER_CUTOFF_ERROR_CODE:"TFR_10073",SRT_START_DATE_RANGE:1,SRT_END_DATE_RANGE:20,MAXIMUM_TRANSFER_AMOUNT:999999999.99,MEMO_MAX_LENGTH:100,TRANSACTIONS_DATE_FORMAT:"YYYY-MM-DD HH:mm:ss",CALENDAR_DATE_FORMAT:"MMM D, YYYY",CALENDAR_MONTH_FORMAT:"MMMM",CALENDAR_MONTH_YEAR_FORMAT:"MMMM YYYY",HISTORY_ACCOUNT_DETAILS_PRINT_DATE_FORMAT:"MM/DD/YYYY hh:mm A",TEN:"10",THIRTY:"30",MONTHLY:"currentMonth",CUSTOM:"custom",ACCOUNT_CHANGE:"account-change",LOAD_MORE:"load-more",DATE_FILTER:"date-filter",INITIAL_LOAD:"initial-load",OUTSIDE_ACCOUNTS_RESPONSE_NOTSIGNEDUP:"notsignedup",OUTSIDE_ACCOUNTS_RESPONSE_NOACCOUNTS:"noaccounts",OUTSIDE_ACCOUNTS_RESPONSE_ERROR:"error",CUSTOM_TYPE_COMPONENT:"component",CUSTOM_TYPE_CONTROLLED_IFRAME:"controlled-iframe",CUSTOM_TYPE_UNCONTROLLED_IFRAME:"uncontrolled-iframe",MAXIMUM_UNMASKED_ACCOUNT_NUMBER_LENGTH:4,SPAN_ALL_COLUMNS:"45",CLOSE_IMAGE_ROW_EVENT:"close-image-row",CLOSE_LIST_ROW_EVENT:"close-list-row",DEFAULT_IMAGE_TYPE:"GIF",SORT_ASCENDING:"ascending",SORT_DESCENDING:"descending",COLUMN_ID_DATE:"date",COLUMN_ID_DESCRIPTION:"description",COLUMN_ID_AMOUNT:"amount",COLUMN_ID_BALANCE:"balance",EXPORT_FILTER_TRANSACTION_DELIMITER:"@@intuit.exportsp@@",EXPORT_COOKIE_NAME:"downloadstatus",EXPORT_SUCCESS:"success",NO_QUALIFYING_TRANSACTIONS:"NO_QUALIFYING_TRANSACTIONS",EXPORT_CANCEL:"CANCEL",EXPORT_TIMEOUT:"TIMEOUT",EXPORT_TYPE_CSV:"CSV",EXPORT_TYPE_OFX:"OFX",EXPORT_TYPE_QFX:"QFX",EXPORT_TYPE_QBO:"QBO",EXPORT_MAX_TIME:15e4,EXPORT_INTERVAL:500,SRT_EXPIRED:"expired",SRT_NO_RECORDS:"no_records",CM_EXPIRED:"expired",CM_NO_RECORDS:"no_records",PRIMARY_ACCOUNT_OWNERSHIP_TYPE:"PRIMARY",JOINT_ACCOUNT_OWNERSHIP_TYPE:"JOINT",CROSS_USER_ACCOUNT_OWNERSHIP_TYPE:"CROSS",BUSINESS:"BUSINESS",RETAIL:"RETAIL",ACCOUNTS:"Accounts",STOP_PAYMENT_STATUS_SUCCESS:"SUCCESS",STOP_PAYMENT_FAILURE:"FAILURE",STOP_PAYMENT_ERROR_RESPONSE:"error",STOP_PAYMENT_ERROR_NOT_SUPPORTED:"NOT_SUPPORTED",STOP_PAYMENT_ERROR_21007:"21007",REASON_MAX_LENGTH:50,CHECK_MAX_LENGTH:6,CHECK_MIN_VALUE:1,CHECK_MAX_VALUE:999999,MAXIMUM_STOP_PAYMENT_AMOUNT:9999999.99,CHECK_TYPE:"CHECK",DEPOSIT_TYPE:"DEPOSIT",SRT_URL:"/olb/srt",MANAGE_RECIPIENTS_URL:"/frame?src=launchapp%3Fappcode%3DTransfer%2BDestinations",TRANSFER_BLOCKED:"TFR_10071",SELECT_ALL:"selectAll",ACCOUNTS_DETAILS_RTN_NONE:"None",CHECKING_ACC:"CHECKING",TRANSACTION_LIST_MENU_HEIGHT:"50px"}},1344:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(2),o=n(3),a=n(1390),i=n(1342),s=n.n(i),c=n(1359),u=function(){function e(){Object(r.a)(this,e)}return Object(o.a)(e,null,[{key:"getAccountTypeByName",value:function(e){for(var t in a.a)if(e===a.a[t])return t;return null}},{key:"isCreditCardLoanAccount",value:function(e){return a.a.CREDIT_CARD_LOAN===e.accountType}},{key:"isLOCAccount",value:function(e){return a.a.LINE_OF_CREDIT_LOAN===e.accountType}},{key:"isHomeEquityLoan",value:function(e){return a.a.HOME_EQUITY_LOAN===e.accountType}},{key:"isTCLCreditLineLoanAccount",value:function(e){return a.a.TCL_CREDIT_LINE===e.accountType}},{key:"isCreditCardAccountExceptTCL",value:function(e){return a.a.LINE_OF_CREDIT_LOAN===e.accountType||a.a.CREDIT_CARD_LOAN===e.accountType}},{key:"isCreditCardAccount",value:function(e){return a.a.LINE_OF_CREDIT_LOAN===e.accountType||a.a.TCL_CREDIT_LINE===e.accountType||a.a.CREDIT_CARD_LOAN===e.accountType}},{key:"isNewInstallmentLoan",value:function(e){return a.a.INSTALLMENT_LOAN===e.accountType}},{key:"isNewMortgageLoan",value:function(e){return a.a.MORTGAGE_LOAN===e.accountType||a.a.RESIDENTIAL_MORTGAGE_LOAN===e.accountType||a.a.COMMERCIAL_REFI_LOAN===e.accountType}},{key:"isMortgageLoan",value:function(e){return a.a.MORTGAGE_LOAN===e.accountType}},{key:"isNewOtherLoan",value:function(e){return a.a.CONSUMER_LOAN===e.accountType||a.a.COMMERCIAL_LOAN===e.accountType||a.a.TCL_MASTER===e.accountType||a.a.TCL_CREDIT_LINE===e.accountType||a.a.TCL_NOTE===e.accountType}},{key:"isLoanAccountExceptTCLNote",value:function(e){return a.a.INSTALLMENT_LOAN===e.accountType||a.a.RESIDENTIAL_MORTGAGE_LOAN===e.accountType||a.a.CONSUMER_LOAN===e.accountType||a.a.COMMERCIAL_LOAN===e.accountType||a.a.MORTGAGE_LOAN===e.accountType||a.a.COMMERCIAL_REFI_LOAN===e.accountType||a.a.HOME_EQUITY_LOAN===e.accountType||a.a.TCL_MASTER===e.accountType}},{key:"isTCLNoteAccount",value:function(e){return a.a.TCL_NOTE===e.accountType}},{key:"isLoanAccount",value:function(e){return a.a.INSTALLMENT_LOAN===e.accountType||a.a.RESIDENTIAL_MORTGAGE_LOAN===e.accountType||a.a.CONSUMER_LOAN===e.accountType||a.a.COMMERCIAL_LOAN===e.accountType||a.a.MORTGAGE_LOAN===e.accountType||a.a.COMMERCIAL_REFI_LOAN===e.accountType||a.a.HOME_EQUITY_LOAN===e.accountType||a.a.TCL_MASTER===e.accountType||a.a.TCL_NOTE===e.accountType}},{key:"isLoanAccountOrTCLCreditLine",value:function(e){return this.isLoanAccount(e)||a.a.TCL_CREDIT_LINE===e.accountType}},{key:"isSubLoanAccount",value:function(e){return this.isCreditCardAccount(e)||a.a.INSTALLMENT_LOAN===e.accountType||a.a.MORTGAGE_LOAN===e.accountType||a.a.TCL_NOTE===e.accountType}},{key:"isGeneralLedgerAccount",value:function(e){return a.a.GENERAL_LEDGER_ACCOUNT===e.accountType||a.a.GENERAL_LEDGER_CODE===e.accountType}},{key:"isInvestmentAccount",value:function(e){return this.isCertificateOfDeposit(e)||this.isCSICertificateOfDeposit(e)||this.isKeogh(e)||this.isRetirement401K(e)||this.isRetirementIRA(e)}},{key:"isCertificateOfDeposit",value:function(e){return a.a.CERT_OF_DEPOSIT===e.accountType}},{key:"isCSICertificateOfDeposit",value:function(e){return a.a.CSI_CERT_OF_DEPOSIT===e.accountType}},{key:"isKeogh",value:function(e){return a.a.KEOGH===e.accountType}},{key:"isRetirement401K",value:function(e){return a.a.RETIREMENT_401K===e.accountType}},{key:"isRetirementIRA",value:function(e){return a.a.RETIREMENT_IRA===e.accountType}},{key:"isMaturable",value:function(e){return a.a.RETIREMENT_IRA===e.accountType||a.a.CERT_OF_DEPOSIT===e.accountType||a.a.CSI_CERT_OF_DEPOSIT===e.accountType}},{key:"isSavings",value:function(e){return a.a.SAVINGS===e.accountType||a.a.MONEY_MARKET===e.accountType||this.isInvestmentAccount(e)}},{key:"isNewSavings",value:function(e){return a.a.SAVINGS===e.accountType||a.a.MONEY_MARKET===e.accountType}},{key:"isNewSavingMoneyMarket",value:function(e){return a.a.MONEY_MARKET===e.accountType}},{key:"isNewSavingSavings",value:function(e){return a.a.SAVINGS===e.accountType}},{key:"isChecking",value:function(e){return a.a.CHECKING===e.accountType}},{key:"getMaskedAccountNumber",value:function(e){var t;switch(e.accountType){case a.a.TCL_NOTE:t=this.maskAccountNumber(e.noteNumber);break;case a.a.TCL_CREDIT_LINE:t=this.maskAccountNumber(e.creditLineNumber);break;default:t=e.displayAccountNumber}return t}},{key:"maskAccountNumber",value:function(e){var t=e?e.length:0;return t>s.a.MAXIMUM_UNMASKED_ACCOUNT_NUMBER_LENGTH?"*"+e.substring(t-s.a.MAXIMUM_UNMASKED_ACCOUNT_NUMBER_LENGTH):e}},{key:"shouldShowRegdd",value:function(e,t){return t&&!this.isLoanAccount(e)&&!this.isCreditCardAccount(e)}},{key:"isIntraFIAccount",value:function(e){return e&&e.category&&e.category===c.a.RECIPIENT}},{key:"calculateTotalAmount",value:function(e){var t=0;return e&&e.forEach((function(e){t+=100*e.balance})),t=(t/100).toFixed(2)}},{key:"showPrimaryHolderIdInAccountDescription",value:function(e,t){if(e&&t){if(t.isUserCentricFI)return e.displayPrimaryHolderId&&!t.removeMemberNumber;var n=e.ownershipType===s.a.JOINT_ACCOUNT_OWNERSHIP_TYPE||e.ownershipType===s.a.CROSS_USER_ACCOUNT_OWNERSHIP_TYPE;return e.displayPrimaryHolderId&&!t.removeMemberNumber&&n}return!1}}]),e}()},1350:function(e,t,n){"use strict";var r=n(32),o=n(1342);t.a={get:function(e,t,n){return r.a.get(e,t,n).then((function(e){return{status:o.HTTP_STATUS_OK,data:e}}))},post:function(e,t,n){return r.a.post(e,t,n).then((function(e){return{status:o.HTTP_STATUS_OK,data:e}}))},postFormData:function(e,t,n){return r.a.postFormData(e,t,n).then((function(e){return{status:o.HTTP_STATUS_OK,data:e}}))},delete:function(e,t,n){return r.a.delete(e,t,n).then((function(e){return{status:o.HTTP_STATUS_NO_CONTENT,data:e}}))},put:function(e,t,n){return r.a.put(e,t,n).then((function(e){return{status:o.HTTP_STATUS_OK,data:e}}))}}},1351:function(e,t,n){e.exports={"accounts-error":"Accounts_accounts-error__2__qr","no-accounts":"Accounts_no-accounts__3YXuU","accounts-loader-spinner":"Accounts_accounts-loader-spinner__2aELb","no-accounts-icon":"Accounts_no-accounts-icon__2x1Jq","group-label":"Accounts_group-label__CfU-S","dotted-spacer":"Accounts_dotted-spacer__1jYlw","overview-item-container":"Accounts_overview-item-container__3dppr","overview-item-label":"Accounts_overview-item-label__1SpD5","overview-item-value":"Accounts_overview-item-value__3coxr","main-overview-item":"Accounts_main-overview-item__pNttT",account:"Accounts_account__CDcNK","account-header":"Accounts_account-header__2XO_1","account-info":"Accounts_account-info__3WFZj","quickpeek-link":"Accounts_quickpeek-link__3p06G","account-name":"Accounts_account-name__1pu6q","account-type":"Accounts_account-type__2_VgD","account-primaryholder-id":"Accounts_account-primaryholder-id__2c1b7","account-number":"Accounts_account-number__3udbO","account-description":"Accounts_account-description__36KDD","account-action-container":"Accounts_account-action-container__3cZXP","pay-button-container":"Accounts_pay-button-container__3m2rB","quick-peek-l
2ink":"Accounts_quick-peek-link__3kJ3q","account-divider":"Accounts_account-divider__3U94Q","location-divider":"Accounts_location-divider__3lJkr","account-divider-last":"Accounts_account-divider-last__3SxoJ","account-group":"Accounts_account-group__1jnhb","panel-account-group":"Accounts_panel-account-group__1CJ1N","group-header":"Accounts_group-header__3glNU","group-total":"Accounts_group-total__KOGJQ","group-total-value":"Accounts_group-total-value__1ezit","accounts-header":"Accounts_accounts-header__flZUo","accounts-title":"Accounts_accounts-title__2GvML","transfer-link":"Accounts_transfer-link__1ulq4","preferences-link":"Accounts_preferences-link__2d0b7",warning:"Accounts_warning__p6Nxz",regd:"Accounts_regd__F_Ni5","tin-accounts-loading":"Accounts_tin-accounts-loading__3pILc","account-sub-header":"Accounts_account-sub-header__1fWJn"}},1352:function(e,t,n){"use strict";var r=n(2),o=n(3),a=(n(0),n(26)),i=n.n(a),s=n(27),c=n.n(s),u=function(){function e(){Object(r.a)(this,e)}return Object(o.a)(e,[{key:"handleDomString",value:function(e){var t=document.getElementsByClassName("accessibleAlertMessage");if(t[0]){t[0].setAttribute("role","alert"),t[0].parentNode.setAttribute("aria-live","assertive"),t[0].setAttribute("aria-live","assertive"),t[0].innerHTML="";var n=document.createTextNode(e);t[0].appendChild(n),t[0].style.display="none",t[0].style.display="inline"}}},{key:"ariaReplaceHTMLTagtoText",value:function(e){return e.replace(/(<[^>]*>)/g," ")}},{key:"ariaReplaceSpecialSymbol",value:function(e){return e.replace(/&(nbsp|amp|quot|lt|gt);/g," ")}},{key:"formatDateString",value:function(e){return c()(e,"MMMM D, YYYY").format("MMMM D, YYYY")}},{key:"setfocusRestriction",value:function(e,t){for(var n=i.a.findDOMNode(e).querySelectorAll(t),r=[],o=0;o<n.length;o++){var a=n[o];a&&"hidden"!=a.getAttribute("type")&&"-1"!=a.getAttribute("tabindex")&&r.push(a)}if(r.length>0){r[0].focus();var s=r[0];r[0].addEventListener("keydown",(function(e){1==e.shiftKey&&9==e.keyCode&&(s.focus(),e.preventDefault())})),r[r.length-1].addEventListener("keydown",(function(e){0==e.shiftKey&&9==e.keyCode&&e.preventDefault()}))}}}]),e}();t.a=new u},1359:function(e,t,n){"use strict";t.a=Object.freeze({DEPOSIT:"DEPOSIT",CHECKING:"CHECKING",SAVINGS:"SAVINGS",CREDIT_CARD:"CREDIT_CARD",LOAN:"LOAN",INVESTMENT:"INVESTMENT",TIERED_LOAN:"TIERED_LOAN",TCL_LOAN:"TCL_LOAN",TCL_CREDIT_LINE_LOAN:"TCL_CREDIT_LINE_LOAN",LOC_LOAN:"LOC_LOAN",GENERAL_LEDGER:"GENERAL_LEDGER",UNDEFINED:"UNDEFINED",RECIPIENT:"RECIPIENT",CROSS_USER_ACCOUNT:"CROSS_USER_ACCOUNT",JOINT_ACCOUNT_OWNERSHIP_TYPE:"JOINT",CROSS_USER_ACCOUNT_OWNERSHIP_TYPE:"CROSS"})},1362:function(e,t,n){"use strict";var r=n(2),o=n(3),a=n(89),i=n(1498),s=n(1342),c=n.n(s),u=null,l=function(){function e(){Object(r.a)(this,e),this.generateActions("getLocalizationsSuccess","getLocalizationsError","setLoadingState")}return Object(o.a)(e,[{key:"getLocalizations",value:function(e,t,n){var r=this,o=u=Date.now()+"-"+Math.random();return this.actions.setLoadingState.defer(),i.a.getLocalizations(e,t,n).then((function(e){o===u&&(null!=e&&e.status==c.a.HTTP_STATUS_OK?r.actions.getLocalizationsSuccess.defer([e.data,t]):r.actions.getLocalizationsError.defer())})).catch((function(e){null!=e&&e.status==c.a.HTTP_STATUS_FORBIDDEN?window.location.href=e.headers.redirecturl:o===u&&r.actions.getLocalizationsError.defer()}))}},{key:"reset",value:function(){return u=null,!0}}]),e}();t.a=a.a.createActions(l)},1365:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(2),o=n(3),a=n(11),i=n(5),s=n(6),c=n(0),u=n.n(c),l=n(1366),d=n.n(l),p=n(31),f=function(e){Object(i.a)(n,e);var t=Object(s.a)(n);function n(e){var o;return Object(r.a)(this,n),(o=t.call(this,e))._displaySupportMessage=o._displaySupportMessage.bind(Object(a.a)(o)),o}return Object(o.a)(n,[{key:"render",value:function(){return u.a.createElement("div",{id:"noAccessMessage"},u.a.createElement("div",{className:d.a["feature-no-access-msg"]},u.a.createElement(p.a,{name:"Security"}),u.a.createElement("span",{className:d.a["sub-msg"]},this.props.i18nStrings.feature_no_access_msg)),this._displaySupportMessage())}},{key:"_displaySupportMessage",value:function(){return this.props.hideSupportMsg?null:u.a.createElement("div",null,u.a.createElement("div",{className:d.a["feature-no-access-sub-msg"]},this.props.i18nStrings.feature_no_access_sub_msg),u.a.createElement("div",{className:d.a["feature-no-access-support-code"]},this.props.i18nStrings.feature_no_access_support_code))}}]),n}(c.Component)},1366:function(e,t,n){e.exports={"feature-no-access-msg":"NoAccess_feature-no-access-msg__2dzuL","sub-msg":"NoAccess_sub-msg__1zkfl","feature-no-access-sub-msg":"NoAccess_feature-no-access-sub-msg__3iIY1","feature-no-access-support-code":"NoAccess_feature-no-access-support-code__SCb3X"}},1370:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(2),o=n(3),a=n(5),i=n(6),s=n(0),c=n.n(s),u=n(31),l=function(e){Object(a.a)(n,e);var t=Object(i.a)(n);function n(e){return Object(r.a)(this,n),t.call(this,e)}return Object(o.a)(n,[{key:"render",value:function(){return c.a.createElement("div",{style:{textAlign:"center"}},c.a.createElement(u.a,{name:"SmallLoader",size:"lg"}))}}]),n}(s.Component)},1373:function(e,t,n){"use strict";var r=n(46),o=n(61),a=n(85),i=n.n(a),s=n(25),c=n.n(s),u=n(0),l=n.n(u),d=n(26),p=n.n(d),f=void 0,h=function(e,t){var n=e.substring(4),r={};return new Function("wrapper","React","ReactDOM","PropTypes","__widget_webpack_public_path__","return wrapper.".concat(n,";\n"))(r,l.a,p.a,c.a,t),r[Object.getOwnPropertyNames(r)[0]]},g=function(e,t){var n,r=new Function("define","__widget_webpack_public_path__","".concat(e,";\n")),o=function(){for(var e,t,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];1===o.length?t=o[0]:2===o.length?(e=o[0],t=o[1]):3===o.length&&(o.shift(),e=o[0],t=o[1]);var i=(e||[]).map((function(e){return"React"===e||"react"===e?l.a:"PropTypes"===e||"prop-types"===e?c.a:"ReactDOM"===e||"react-dom"===e?p.a:null}));n=t.apply(f,i)};return o.amd=!0,r(o,t),n},v=function(e,t){var n,r={},o={};if(new Function("module","require","exports","React","ReactDOM","PropTypes","__widget_webpack_public_path__","".concat(e,";\n"))(r,(function(e){switch(e){case"React":case"react":return l.a;case"PropTypes":case"prop-types":return c.a;case"ReactDOM":case"react-dom":return p.a;default:return null}}),o,l.a,p.a,c.a,t),!(n=r.exports))if(o.default)n=o;else{var a=Object.getOwnPropertyNames(o);a.length>0&&(n=o[a[0]])}return n},_=function(e,t){var n=e.sourceUrl,r=e.frameHeight,o=e.name,a=e.mode,i=t.fiDomainInfo;if("ADMIN"===a)return l.a.createElement(u.Fragment,null);var s=n;return s&&0===s.indexOf("/")&&i&&i.origin&&(s="".concat(i.origin).concat(n)),l.a.createElement("iframe",{width:"100%",height:r,sandbox:"allow-storage-access-by-user-activation allow-scripts allow-forms",src:s,title:o})};_.contextTypes={fiDomainInfo:c.a.object},_.defaultProps={frameHeight:600},_.propTypes={sourceUrl:c.a.string.isRequired,name:c.a.string,mode:c.a.string,frameHeight:c.a.number};var y=_,m=function(e){return Object(u.useEffect)((function(){var t=e.onWidgetInit,n=e.wrapperElement;t&&t({widgetContainer:n.current,props:e})}),[]),l.a.createElement(l.a.Fragment,null)};m.propTypes={wrapperElement:c.a.object,onWidgetInit:c.a.func};var b=m,O="live",E="beta",S=function(e){return e&&(-1!==e.indexOf("application/javascript")||-1!==e.indexOf("text/javascript"))},T=function(e){var t=document.createElement("a");t.href=e;var n=t.search,r=t.hash,o=t.pathname,a=t.origin;a||(a="".concat(t.protocol,"//").concat(t.host,"/"));var s=i.a.parse(n),c=new Date;return s.__cacheBuster="".concat(c.getFullYear(),"-").concat(c.getMonth(),"-").concat(c.getDate()),"".concat(a).concat(o,"?").concat(i.a.stringify(s)).concat(r)},C=function(e,t){var n=e;if(n){if(0===n.indexOf("/*")){var r=n.indexOf("*/");n=n.substring(r+2)}n=n.trim()}var o="";if(t){var a=t.split("/");a.splice(-3),o="".concat(a.join("/"),"/")}var i=function(e){var t=e;return t?0===t.indexOf("var ")?h:0===t.indexOf("define(")?g:0===t.indexOf("module.exports=")||0===t.indexOf("exports.")||0===t.indexOf("exports[")||0===t.indexOf("!function")||(-1!==t.indexOf("function _interopDefault(e)")||-1!==t.indexOf("function _interopDefaultLegacy(e)"))&&-1!==t.indexOf("module.exports=")?v:null:null}(n);if(!i)throw new Error("INVALID_LIBRARY_TARGET");var s=i(n,o);if(!s)throw new Error("INVALID_LIBRARY_TARGET");return s.default?s:{default:s}},D={fetchWidgetComponent:function(e,t,n){return Object(o.a)(Object(r.a)().mark((function o(){var a,i,s,c,u;return Object(r.a)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!e||!n){r.next=2;break}return r.abrupt("return",Promise.resolve({default:y}));case 2:if(e){r.next=4;break}return r.abrupt("return",Promise.resolve({default:b}));case 4:return a=e,0===e.indexOf("/")&&t&&t.origin&&(a="".concat(t.origin).concat(e)),i=T(a),r.next=9,fetch(i);case 9:if(s=r.sent,c=s.headers.get("content-type"),S(c)){r.next=13;break}throw new Error("INVALID_CONTENT_TYPE");case 13:return r.next=15,s.text();case 15:if(u=r.sent){r.next=18;break}throw new Error("INVALID_WIDGET_RESPONSE");case 18:return r.abrupt("return",C(u,e));case 19:case"end":return r.stop()}}),o)})))()},getFIDomainInfo:function(e){var t=e;if(t||(t=window.location.href),!t)return{};var n=document.createElement("a");n.href=t;var r=n.pathname,o=n.origin;o||(o="".concat(n.protocol,"//").concat(n.host));var a="";r&&(-1!==r.indexOf("/".concat(O))?a=O:-1!==r.indexOf("/".concat(E))&&(a=E));var i={};return i.origin=o,i.region=a,i}};t.a=D},1374:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),o=n(3),a=(n(1342),function(){function e(){Object(r.a)(this,e)}return Object(o.a)(e,null,[{key:"trackNewPage",value:function(e){try{"undefined"!=typeof window.top.lpTrackNewPage&&window.top.lpTrackNewPage(e)}catch(t){}}}]),e}())},1375:function(e,t,n){"use strict";t.a=Object.freeze({HOME:"Home Page",HISTORY:"History",TRANSFERS:"Account Transfers",ADD_RECIPIENTS:"Intra-institution: Add Recipient",REWARDS_SUMMARY:"Rewards Summary",SRT:"SRT",STOP_PAYMENT:"Stop Payment",MANAGE_RECIPIENTS:"Manage Recipients"})},1380:function(e,t,n){"use strict";var r=n(2),o=n(3),a=n(89),i=n(36),s=n(22),c=n(1350),u=n(1415),l=["rftoken"],d=function(){function e(){Object(r.a)(this,e)}return Object(o.a)(e,null,[{key:"getConfigurations",value:function(e,t,n){var r=t.replace("_",""),o=n||{},a=o.rftoken,d=Object(i.a)(o,l),p=Object.keys(d).length>0,f=a?{rftoken:a}:void 0;return c.a.get("/accts-olb/v1/".concat(r,"/config"),p?d:void 0,f).then((function(e){return(((e||{}).data||{}
2).activeComponents||[]).forEach((function(e){var t,n=e.type,r=e.componentProps;if("CustomComponent"===n){var o=(r||{}).config;(t=o)&&"BBAPPROVALS.ApprovalsPageComponent"===t.componentName?r.config=function(e){var t=Object(s.a)({},e||{}),n=t.js,r=t.css;return t.js=(n||[]).map((function(e){return e&&-1!==e.indexOf("/entitlements-ui")?e:Object(u.a)(e)})),t.css=(r||[]).map((function(e){return e&&-1!==e.indexOf("/entitlements-ui")?e:Object(u.a)(e)})),t}(o):o&&"uncontrolled-iframe"===o.type&&(o.url=function(e){var t=(null!==e&&void 0!==e?e:{}).url,n=t;if(n){var r=document.createElement("a");r.href=n;var o=r.protocol,a=r.hostname;n="".concat(r.pathname).concat(r.search),["/tob/live/usp-core","/tob/beta/usp-core","/usp-core"].forEach((function(e){var t="".concat(e,"/app"),r=n.indexOf(t);0===r&&(n=n.substring(r+t.length+1),n="".concat("/dbank/live/").concat(n))})),0===t.indexOf("http")&&(n="".concat(o,"//").concat(a).concat(n))}return n}(o))}})),e}))}}]),e}(),p=n(1342),f=n.n(p),h=null,g=function(){function e(){Object(r.a)(this,e),this.generateActions("getConfigurationsSuccess","getConfigurationsError","setLoadingState")}return Object(o.a)(e,[{key:"getConfigurations",value:function(e,t,n){var r=this,o=h=Date.now()+"-"+Math.random();return this.actions.setLoadingState.defer(),d.getConfigurations(e,t,n).then((function(e){o===h&&(null!=e&&e.status==f.a.HTTP_STATUS_OK?r.actions.getConfigurationsSuccess.defer(e.data):r.actions.getConfigurationsError.defer())})).catch((function(e){null!=e&&e.status==f.a.HTTP_STATUS_FORBIDDEN||o===h&&r.actions.getConfigurationsError.defer()}))}},{key:"reset",value:function(){return h=null,!0}}]),e}();t.a=a.a.createActions(g)},1390:function(e,t,n){"use strict";t.a=Object.freeze({1:"CHECKING",0:"SAVINGS",2:"MONEY_MARKET",16:"CERT_OF_DEPOSIT",4:"KEOGH",8:"RETIREMENT_401K",32:"LINE_OF_CREDIT_LOAN",20:"CSI_CERT_OF_DEPOSIT",64:"CREDIT_CARD_LOAN",256:"MORTGAGE_LOAN",266:"RESIDENTIAL_MORTGAGE_LOAN",286:"HOME_EQUITY_LOAN",128:"INSTALLMENT_LOAN",138:"CONSUMER_LOAN",148:"COMMERCIAL_LOAN",276:"COMMERCIAL_REFI_LOAN",512:"GENERAL_LEDGER_ACCOUNT",513:"GENERAL_LEDGER_CODE",1024:"TCL_MASTER",1025:"TCL_CREDIT_LINE",1026:"TCL_NOTE",4096:"RETIREMENT_IRA","-1":"UNKNOWN",CHECKING:"CHECKING",SAVINGS:"SAVINGS",MONEY_MARKET:"MONEY_MARKET",CERT_OF_DEPOSIT:"CERT_OF_DEPOSIT",KEOGH:"KEOGH",RETIREMENT_401K:"RETIREMENT_401K",LINE_OF_CREDIT_LOAN:"LINE_OF_CREDIT_LOAN",CSI_CERT_OF_DEPOSIT:"CSI_CERT_OF_DEPOSIT",CREDIT_CARD_LOAN:"CREDIT_CARD_LOAN",MORTGAGE_LOAN:"MORTGAGE_LOAN",RESIDENTIAL_MORTGAGE_LOAN:"RESIDENTIAL_MORTGAGE_LOAN",HOME_EQUITY_LOAN:"HOME_EQUITY_LOAN",INSTALLMENT_LOAN:"INSTALLMENT_LOAN",CONSUMER_LOAN:"CONSUMER_LOAN",COMMERCIAL_LOAN:"COMMERCIAL_LOAN",COMMERCIAL_REFI_LOAN:"COMMERCIAL_REFI_LOAN",GENERAL_LEDGER_ACCOUNT:"GENERAL_LEDGER_ACCOUNT",GENERAL_LEDGER_CODE:"GENERAL_LEDGER_CODE",TCL_MASTER:"TCL_MASTER",TCL_CREDIT_LINE:"TCL_CREDIT_LINE",TCL_NOTE:"TCL_NOTE",RETIREMENT_IRA:"RETIREMENT_IRA",UNKNOWN:"UNKNOWN"})},1392:function(e,t,n){"use strict";var r=n(2),o=n(3),a=n(89),i=n(1380),s=n(1342),c=function(){function e(){Object(r.a)(this,e),this.state={status:s.LOADING,configs:{}},this.bindActions(i.a)}return Object(o.a)(e,[{key:"onSetLoadingState",value:function(){this.setState({status:s.LOADING,configs:{}})}},{key:"onGetConfigurationsSuccess",value:function(e){this.setState({status:s.SUCCESS,configs:e})}},{key:"onGetConfigurationsError",value:function(){this.setState({status:s.ERROR})}},{key:"onReset",value:function(){this.alt.recycle(this)}}]),e}();t.a=a.a.createStore(c,"ConfigurationStore")},1393:function(e,t,n){"use strict";var r=n(18),o=n(2),a=n(3),i=n(89),s=n(1362),c=n(1342),u=n(27),l=n.n(u),d=function(){function e(){Object(o.a)(this,e),this.state={localizationStatus:c.LOADING,i18nStrings:{}},this.bindActions(s.a)}return Object(a.a)(e,[{key:"onSetLoadingState",value:function(){this.setState({localizationStatus:c.LOADING,i18nStrings:{}})}},{key:"onGetLocalizationsSuccess",value:function(e){var t=Object(r.a)(e,2),n=t[0],o=t[1];l.a.locale(o),this.setState({localizationStatus:c.SUCCESS,i18nStrings:n})}},{key:"onGetLocalizationsError",value:function(){this.setState({localizationStatus:c.ERROR})}},{key:"onReset",value:function(){this.alt.recycle(this)}}]),e}();t.a=i.a.createStore(d,"LocalizationStore")},1398:function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));var r=n(10),o=n(2),a=n(3),i=n(11),s=n(5),c=n(6),u=n(0),l=n.n(u),d=n(25),p=n.n(d),f=n(1724),h=n.n(f),g=n(36),v=n(1342),_=n.n(v),y=["refKey","onHeightChange","zIndex","breakpoint"],m=function(e){Object(s.a)(n,e);var t=Object(c.a)(n);function n(e){var r;return Object(o.a)(this,n),(r=t.call(this,e)).state={height:0,eventListenerID:0}
2,r._resize=r._resize.bind(Object(i.a)(r)),r.componentMounted=!1,r}return Object(a.a)(n,[{key:"componentDidMount",value:function(){this._resize();var e=window.setInterval(this._resize,200);this.setState({eventListenerID:e})}},{key:"componentWillUnmount",value:function(){window.clearInterval(this.state.eventListenerID)}},{key:"_resize",value:function(){var e=this,t=this.props.refKey,n=this.props.breakpoint,r=this.refs[t];if(null!=r){var o=r.getBoundingClientRect(),a=Math.round(o.height);this.state.height!=a&&this.setState({height:a},(function(){e.props.onHeightChange(t,n,a)}))}}},{key:"render",value:function(){var e=!this.props.hidden||this.componentMounted?this.props.children:null;this.componentMounted||null==e||(this.componentMounted=!0);var t=this.props.hidden?{display:"none"}:null,n=this.props,r=(n.refKey,n.onHeightChange,n.zIndex,n.breakpoint,Object(g.a)(n,y)),o=Object.assign({},this.props.style),a="";return this.props.hidden?(o={display:"none"},r.style=o,this.props.breakpoint===_.a.LAYOUT_XS&&(e=null)):(o.zIndex=null!=this.props.zIndex?this.props.zIndex:1,r.style=o,a="fade-in"),l.a.createElement("div",r,l.a.createElement("div",{ref:this.props.refKey,style:t,className:a},e))}}]),n}(u.Component);m.PropTypes={refKey:p.a.string.isRequired,breakpoint:p.a.string.isRequired,onHeightChange:p.a.func.isRequired,hidden:p.a.bool.isRequired,zIndex:p.a.number.isRequired};var b="fullWidth",O="EVEN_SPLIT";function E(e,t,n){if(null!=t&&null!=e&&null!=n){var r=function(e,t,n){var r=[];return t.forEach((function(t){if(n[t.type]){t.id;var o=function(e){return e.i===t.id},a=e.find(o);null!=a&&r.push(Object.assign({},a))}})),r}(e,t,n),o=function(e){var t=e,n=S(e,0,12);if(null!=n){var r=T(n,0,12);if(null!=r&&r.length>0){var o=[];r.forEach((function(e){o.push(function(e){var t={items:[]};if(null!=e.items){var n={};if(e.width!=e.originalWidth)T(S(e.items.filter((function(t){return t.w!=e.originalWidth})),e.begin,e.width),e.originalBegin,e.originalEnd,O).forEach((function(e){e.items.forEach((function(t){var r=Object.assign({},t);r.x=e.begin,r.w=e.width,n[t.i]=r}))}));e.items.forEach((function(r){var o=Object.assign({},r);if(1!=r.hidden)if(e.width!=e.originalWidth)o.w==e.originalWidth?(o.x=e.begin,o.w=e.width):o=n[o.i];else if(e.begin!=e.originalBegin||e.end!=e.originalEnd)if(o.x==e.originalBegin)o.x=e.begin;else{var a=e.begin-e.originalBegin;o.x+=a}t.items.push(o)}))}return t}(e))}));var a=function(e){var t=[];return e.forEach((function(e){e.items.forEach((function(e){t.push(Object.assign({},e))}))})),t}(o);a.length>0&&(t=a)}}return t}(r);return o}return e}function S(e,t,n){var r={};return e.forEach((function(e){if(e.w==n)null==r.fullWidth&&(r.fullWidth={begin:t,end:n,width:n-t,originalBegin:t,originalEnd:n,originalWidth:n-t,items:[]}),r.fullWidth.items.push(Object.assign({},e));else{var o=r[e.x],a=e.x+e.w;if(null==o){for(var i in r)if(r.hasOwnProperty(i)&&i!=b){var s=r[i];e.x>s.begin&&e.x<s.end&&(o=s)}null==o&&(o={begin:e.x,end:a,width:e.w,originalBegin:e.x,originalEnd:a,originalWidth:e.w,items:[]},r[e.x]=o)}1!=e.hidden&&a>o.end&&(o.end=a),o.items.push(Object.assign({},e))}})),r}function T(e,t,n,r){var o=[],a=null;for(var i in e)if(e.hasOwnProperty(i)){i!=b?o.push(Object.assign({},e[i])):a=Object.assign({},e[i])}o=o.sort((function(e,t){return t.end-e.end}));for(var s=n,c=0;c<o.length;c++){var u=o[c];u.end<s?function(){var e=u.end-u.begin,t=s-u.end;u.end=s,u.begin=s-e,s=u.begin,u.items.forEach((function(e){1!=e.hidden&&(e.x+=t)}))}():s=u.begin}if(s>t&&o.length>0)if(r==O){var l=s-t,d=Math.round(l/o.length),p=Math.round((l+(n-t))/o.length),f=l,h=t;(o=o.sort((function(e,t){return e.end-t.end}))).forEach((function(e){if(f>0){e.begin=h;var t=e.originalWidth+d,n=d;t>p&&(n=t-p,t=p),e.width=t,e.end=e.begin+e.width,f-=n,h=e.end,f<d&&(d=f)}}))}else{var g=o[o.length-1];g.begin=t,g.width=g.end}return null!=a&&o.push(a),o}var C=n(1534),D=n(1534).WidthProvider;C=D(C);var N=function(e){Object(s.a)(n,e);var t=Object(c.a)(n);function n(e){var r;Object(o.a)(this,n),r=t.call(this,e);return r.state={},r.props.components.forEach((function(e,t){r.state[e.id]={height:1}})),r._resize=r._resize.bind(Object(i.a)(r)),r._getLayout=r._getLayout.bind(Object(i.a)(r)),r._renderLayoutItems=r._renderLayoutItems.bind(Object(i.a)(r)),r._dedupeLayoutItems=r._dedupeLayoutItems.bind(Object(i.a)(r)),r}return Object(a.a)(n,[{key:"render",value:function(){var e=this._getLayout(),t=[10,0];return this.props.breakpoint===_.a.LAYOUT_XS&&(t=[0,0]),l.a.createElement(C,{layout:e,useCSSTransforms:!0,isDraggable:!1,isResizable:!1,autoSize:!0,className:"layout",margin:t,cols:12,rowHeight:1,onLayoutChange:this.props.onLayoutChange},this._renderLayoutItems(e))}},{key:"_resize",value:function(e,t,n){var o=Object.assign({},this.state[e]);o.height=n>1?n+10:1,this.setState(Object(r.a)({},e,o))}},{key:"_getLayout",value:function(){var e=this,t=this.props.breakpoint,n=[],r=this._dedupeLayoutItems(this.props.layout[t]),o=r;return t!=_.a.LAYOUT_XS&&(o=E(r,this.props.components,this.props.registry)),o.forEach((function(t,r){var o=Object.assign({},t);null!=e.state[t.i]&&(o.h=e.state[t.i].height,n.push(o))})),n}},{key:"_dedupeLayoutItems",value:function(e){for(var t=[],n=function(n){var r=e[n],o=t.findIndex((function(e){return e.i===r.i}
2));if(-1===o)t.push(r);else{var a=t[o];a.master||(r.master?t[o]=Object.assign({},r):a.x<=r.x&&a.y<=r.y&&(a.x=r.x,a.y=r.y))}},r=0;r<e.length;r++)n(r);return t}},{key:"_renderLayoutItems",value:function(e){for(var t=this,n=[],r={},o=0;o<e.length;o++)r[e[o].i]=e[o];return this.props.components.forEach((function(e,o){var a=t.props.registry[e.type];if(null!=a&&t.state[e.id]&&!t.state[e.id].hidden){var i=null!=e.componentProps?e.componentProps:{},s=!0,c=r[e.id];if(null!=c){if(!0!==c.hidden&&(s=!1),"CustomComponent"===e.type){i.allowDomains=t.props.pageConfigs.allowDomains;var u=i.resizerOptions;u||(u={},i.resizerOptions=u),u.checkOrigin=!1}var d=t.props.components.length-c.y;d<0&&(d=0),n.push(l.a.createElement(m,{key:e.id,refKey:e.id,breakpoint:t.props.breakpoint,zIndex:d,onHeightChange:t._resize,hidden:s},l.a.createElement(a,Object.assign({id:e.id,pageConfigs:t.props.pageConfigs,i18nStrings:t.props.i18nStrings,breakpoint:t.props.breakpoint,componentHide:t._hideGridComponent.bind(t,e.id)},i))))}else console.warn(e.id+" is not defined in the layout configuration and will not be shown.")}})),n}},{key:"_hideGridComponent",value:function(e){var t=Object.assign({},this.state[e]);t.hidden=!0,this.setState(Object(r.a)({},e,t))}}]),n}(h.a);N.PropTypes={onLayoutChange:p.a.func,breakpoint:p.a.string.isRequired,components:p.a.arrayOf(p.a.object).isRequired,registry:p.a.element.isRequired,layout:p.a.object.isRequired}},1403:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n(2),o=n(3),a=n(11),i=n(5),s=n(6),c=n(0),u=n.n(c),l=n(31),d=n(588),p=n(1342),f=n(1601),h=n.n(f),g={en_US:"<strong>We are experiencing some technical difficulties.</strong> Please try again later.",es_ES:"<strong>Estamos experimentando problemas t\xe9cnicos.</strong> Int\xe9ntelo en otro momento.",zh_TW:"<strong>\u76ee\u524d\u51fa\u73fe\u4e00\u4e9b\u6280\u8853\u554f\u984c\u3002</strong> \u8acb\u7a0d\u5f8c\u91cd\u8a66\u3002",fr_CA:"<strong>Nous rencontrons actuellement quelques difficult\xe9s techniques.</strong> Veuillez r\xe9essayer plus tard."},v=function(e){var t;return(t=function(t){Object(i.a)(c,t);var n=Object(s.a)(c);function c(e){var t;return Object(r.a)(this,c),(t=n.call(this,e)).state={breakpoint:t._getBreakpoint()},t._updateBreakpoint=t._updateBreakpoint.bind(Object(a.a)(t)),t._renderDefaultError=t._renderDefaultError.bind(Object(a.a)(t)),t}return Object(o.a)(c,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this._updateBreakpoint)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this._updateBreakpoint)}},{key:"render",value:function(){var t="";return null!=this.props.contextURL?t=this.props.contextURL+"/sdp":this.props.contextPath&&(t=this.props.contextPath),u.a.createElement("div",{className:h.a["page-container"]},u.a.createElement(e,Object.assign({},this.props,this.state,{contextPath:t,parseLayoutString:this._parseLayoutString,renderDefaultError:this._renderDefaultError,renderDefaultLoading:this._renderDefaultLoading})))}},{key:"_getBreakpoint",value:function(){var e=window,t=document,n=t.documentElement,r=t.getElementsByTagName("body")[0],o=e.innerWidth||n.clientWidth||r.clientWidth;e.innerHeight||n.clientHeight||r.clientHeight;return o>=1200?p.LAYOUT_LG:o<1200&&o>=992?p.LAYOUT_MD:o<992&&o>=768?p.LAYOUT_SM:p.LAYOUT_XS}},{key:"_updateBreakpoint",value:function(){this.setState({breakpoint:this._getBreakpoint()})}},{key:"_parseLayoutString",value:function(e){if(null!=e)try{var t=JSON.parse(e);if(Array.isArray(t.lg)&&t.lg.length>0&&Array.isArray(t.md)&&t.md.length>0&&Array.isArray(t.sm)&&t.sm.length>0&&Array.isArray(t.xs)&&t.xs.length>0)return t}catch(n){console.error("Exception parsing JSON layout string: "+n)}return null}},{key:"_renderDefaultLoading",value:function(){return u.a.createElement("div",{className:"first text-center",style:{lineHeight:"200px"}},u.a.createElement("span",{style:{position:"relative",top:"-25px",left:"10px"}},u.a.createElement(l.a,{name:"PageLoader",size:"lg",height:75,width:75})))}},{key:"_renderDefaultError",value:function(e){var t=g[this.props.locale];return null==t&&(t=g.en_US),u.a.createElement("div",{className:"di-container first"},u.a.createElement(d.a,{type:"danger",showIcon:!0},u.a.createElement("div",{dangerouslySetInnerHTML:{__html:t}})))}}]),c}(c.Component)).displayName="PageLevelComponent",t}},1416:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(2),o=n(3),a=n(1350),i=n(1342),s=n.n(i),c=(n(32).a.configureMock((function(){return n.e(111).then(n.bind(null,1685))})),function(){function e(){Object(r.a)(this,e)}return Object(o.a)(e,null,[{key:"getAccounts",value:function(e,t,n,r,o,i,c){return t?a.a.get(s.a.URL_ACCOUNTS,{getExportAccountNums:!0,pageId:n,allowAccountsCall:!0,getxuseraccts:r?"1":null,transfers_dis
2play_xuser_accounts:o,locationId:i,getAccountsForAllLocations:c},{rftoken:t}):Promise.reject("Failed to retrieve rftoken.")}}]),e}())},1425:function(e,t,n){var r=n(1410)(Object,"create");e.exports=r},1426:function(e,t,n){var r=n(1438);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},1427:function(e,t,n){var r=n(1634);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},1428:function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var u=a[c];if(!s(u))return!1;var l=e[u],d=t[u];if(!1===(o=n?n.call(r,l,d,u):void 0)||void 0===o&&l!==d)return!1}return!0}},1436:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(2),o=n(3),a=n(11),i=n(5),s=n(6),c=n(0),u=n.n(c),l=n(1342),d=n.n(l),p=n(25),f=n.n(p),h=function(e){Object(i.a)(n,e);var t=Object(s.a)(n);function n(e){var o;return Object(r.a)(this,n),(o=t.call(this,e))._renderLinkedAccountDescription=o._renderLinkedAccountDescription.bind(Object(a.a)(o)),o._renderJointAccountDescription=o._renderJointAccountDescription.bind(Object(a.a)(o)),o}return Object(o.a)(n,[{key:"render",value:function(){return this.props.account.ownershipType===d.a.CROSS_USER_ACCOUNT_OWNERSHIP_TYPE?this._renderLinkedAccountDescription():this._renderJointAccountDescription()}},{key:"_renderLinkedAccountDescription",value:function(){var e=this.props.account,t=!!e.primaryHolderName,n=!this.props.configs.removeMemberNumber,r=null;return(t||n)&&(r=this.props.i18nStrings.Owned_by,t&&(r+=" "+e.primaryHolderName)),n&&null!=e.displayPrimaryHolderId&&(r+=" "+e.displayPrimaryHolderId),null!=r?u.a.createElement("div",{id:"jointOwnerDescription"+e.id+(this.props.id||""),className:"text-long"},r):null}},{key:"_renderJointAccountDescription",value:function(){var e=this.props.account,t=!!e.primaryHolderName,n=!this.props.configs.removeMemberNumber,r=null;return t||n&&null!=e.displayPrimaryHolderId?(r=this.props.i18nStrings.Joint_owner,t&&(r+=" "+e.primaryHolderName),n&&null!=e.displayPrimaryHolderId&&(r+=" "+e.displayPrimaryHolderId)):r=this.props.i18nStrings.Jointly_owned_account,u.a.createElement("div",{id:"jointOwnerDescription"+e.id+(this.props.id||""),className:"text-long"},r)}}]),n}(c.Component);h.propTypes={id:f.a.oneOfType([f.a.string,f.a.number]),account:f.a.object.isRequired,configs:f.a.object.isRequired,i18nStrings:f.a.objectOf(f.a.string).isRequired}},1440:function(e,t,n){"use strict";e.exports=n(2103)},1450:function(e,t,n){var r=n(1464),o=n(1638),a=n(1639);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},1451:function(e,t){e.exports=function(e,t){return e.has(t)}},1452:function(e,t,n){var r=n(1439),o=n(1423);e.exports=function(e){return o(e)&&r(e)}},1453:function(e,t,n){e.exports={"sortable-row":"AccountPreferences_sortable-row__2oRCN",closebtn:"AccountPreferences_closebtn__3zbE8","joint-account":"AccountPreferences_joint-account__GSEyU","row-handle":"AccountPreferences_row-handle__2Fccr","selected-row":"AccountPreferences_selected-row__SJPHL","input-help-block":"AccountPreferences_input-help-block__3Ji8S","nickname-input-container":"AccountPreferences_nickname-input-container__ikKCP","show-hide-checkbox-container":"AccountPreferences_show-hide-checkbox-container__2QUdf","cell-container":"AccountPreferences_cell-container__fIYuZ",hidden:"AccountPreferences_hidden__2pvRK",dragging:"AccountPreferences_dragging__yQZ-D",divider:"AccountPreferences_divider__3pfos","loader-text-container":"AccountPreferences_loader-text-container__28mdY","accounts-error":"AccountPreferences_accounts-error__249ee","no-accounts":"AccountPreferences_no-accounts__3UVbu","account-desc":"AccountPreferences_account-desc__tbWI6","account-primary-holderid":"AccountPreferences_account-primary-holderid__
21OAgQ","popover-container":"AccountPreferences_popover-container__DWuXt","popover-content-conatiner":"AccountPreferences_popover-content-conatiner__2l8EN","popover-close-button":"AccountPreferences_popover-close-button__28bIu","popover-icon":"AccountPreferences_popover-icon__1esLC","help-icon":"AccountPreferences_help-icon__19rGq","subtitle-container":"AccountPreferences_subtitle-container__3GuT5","subtitle-icon":"AccountPreferences_subtitle-icon__3vCOS","subtitle-content":"AccountPreferences_subtitle-content__1TIEo","edit-button-container":"AccountPreferences_edit-button-container__3WL9o","save-button":"AccountPreferences_save-button__109Yo","cancel-button":"AccountPreferences_cancel-button__2jp2f","edit-nickname-title":"AccountPreferences_edit-nickname-title__36U9p","edit-nickname-divider":"AccountPreferences_edit-nickname-divider__2_Qhc","checkbox-input":"AccountPreferences_checkbox-input__kVDcI","checkbox-label":"AccountPreferences_checkbox-label__18dHm","account-preferences-container":"AccountPreferences_account-preferences-container__A7sSE",title:"AccountPreferences_title__2GvJl","alert-container":"AccountPreferences_alert-container__1tRdh","button-container":"AccountPreferences_button-container__TS8V8","account-name-container":"AccountPreferences_account-name-container__2Mj5G","account-name":"AccountPreferences_account-name__1XGCr","account-number":"AccountPreferences_account-number__vfNal","show-account-input-container":"AccountPreferences_show-account-input-container__1VwJB","edit-nickname-link":"AccountPreferences_edit-nickname-link__1Gudd"}},1464:function(e,t,n){var r=n(1621),o=n(1633),a=n(1635),i=n(1636),s=n(1637);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},1465:function(e,t,n){var r=n(1628),o=n(1629),a=n(1630),i=n(1631),s=n(1632);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},1466:function(e,t,n){var r=n(1640);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},1467:function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},1468:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},1469:function(e,t,n){var r=n(1502);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},1470:function(e,t,n){e.exports=n(2104)()},1498:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),o=n(3),a=n(1350),i=function(){function e(){Object(r.a)(this,e)}return Object(o.a)(e,null,[{key:"getLocalizations",value:function(e,t,n){return a.a.get("/accts-olb/v1/localization",{v:n,locale:t})}}]),e}()},1507:function(e,t,n){var r=n(1410)(n(1404),"Map");e.exports=r},1508:function(e,t,n){var r=n(1557),o=n(1644);e.exports=function e(t,n,a,i,s){var c=-1,u=t.length;for(a||(a=o),s||(s=[]);++c<u;){var l=t[c];n>0&&a(l)?n>1?e(l,n-1,a,i,s):r(s,l):i||(s[s.length]=l)}return s}},1509:function(e,t,n){var r=n(1353),o=n(1502),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(i.test(e)||!a.test(e)||null!=t&&e in Object(t))}},1522:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var r=n(22),o=n(36),a=n(2),i=n(3),s=n(5),c=n(6),u=n(0),l=n.n(u),d=n(2392),p=n(25),f=n.n(p),h=n(1345),g=n.n(h),v=n(2318),_=function(e){Object(s.a)(n,e);var t=Object(c.a)(n);function n(){var e;Object(a.a)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).state={hasError:!1},e}return Object(i.a)(n,[{key:"render",value:function(){var e=this.state.hasError,t=this.props.children;if(e){var n=(this.props.messages||{}).widget,r=void 0===n?{}:n,o={};if(r){var a=r.loadErrorTitle,i=r.loadErrorMessage;o.title=a||"Error",o.msg=i||"There was an error loading the widget"}return l.a.createElement(v.a,o)}return t}}],[{key:"getDerivedStateFromError",value:function(e){return console.log("Error rendering widget",e),{hasError:!0}}}]),n}(u.Component);_.propTypes={messages:f.a.object.isRequired};var y=n(1373),m="ADMIN",b="TEXT",O="LIST",E=["isAdmin","messages","sourceUrl","isIFrame","containerCls","windowDimensions","extraWidgetProperties","widgetProperties","name","layoutOption","fiDomainInfo","contextCls"],S=function(e){Object(s.a)(n,e);var t=Object(c.a)(n);function n(e){var r;Object(a.a)(this,n),(r=t.call(this,e)).state={};var o=r.props.widgetProperties;return r.wrapperElement=l.a.createRef(),r.state.normalizedProperties=n.getNormalizedProperties(o),r}return Object(i.a)(n,[{key:"render",value:function(){var e=this.props,t=e.isAdmin,n=e.messages,a=e.sourceUrl,i=(e.isIFrame,e.containerCls),s=e.windowDimensions,c=e.extraWidgetProperties,d=e.widgetProperties,p=e.name,f=e.layoutOption,h=e.fiDomainInfo,v=e.contextCls,y=Object(o.a)(e,E),b=this.getWidgetComponent(),O=this.getFallbackComponent(),S=this.state.normalizedProperties,T={};return a?(T.sourceUrl=a,T.layoutOption=f,T.originalWidgetProperties=d,T.fiDomainInfo=h):T=Object(r.a)(Object(r.a)({},y),{},{containerCls:i,wrapperElement:this.wrapperElement}),l.a.createElement(_,{messages:n},l.a.createElement(u.Suspense,{fallback:O},l.a.createElement("div",{className:g()(v,"".concat(i,"__widget-container"),"composite-layout-widget"),ref:this.wrapperElement},l.a.createElement(b,Object.assign({mode:t?m:"",windowDimensions:s,name:p},S,T,c||{})))))}},{key:"getFallbackComponent",value:function(){var e=this.props.fallbackComponent;return e||l.a.createElement(d.a,null)}},{key:"getWidgetComponent",value:function(){if(!this.widgetComponent){var e=this.getWidgetPromise();this.widgetComponent=l.a.lazy((function(){return e}))}return this.widgetComponent}},{key:"getWidgetPromise",value:function(){var e=this.props,t=e.widgetPromise,n=e.isIFrame;if(t)return t;var r=this.props.sourceUrl,o=this.context.fiDomainInfo;return y.a.fetchWidgetComponent(r,o,n)}},{key:"getWidgetElement",value:function(){return this.wrapperElement?this.wrapperElement.current:void 0}}],[{key:"getDerivedStateFromProps",value:function(e){var t=e.widgetProperties;return{normalizedProperties:n.getNormalizedProperties(t)}}},{key:"getNormalizedProperties",value:function(e){var t,n,o={locale:(null===(t=window.di)||void 0===t||null===(n=t.env)||void 0===n?void 0:n.locale)||"en_US"};return(e||[]).reduce((function(e,t){var n=Object(r.a)({}
2,e),o=t.propertyName,a=t.propertyType,i=t.propertyValue,s=t.propertyValueLocale,c=t.isLocalized,u=i;return a===b&&c?u=Object(r.a)(Object(r.a)({},null!==s&&void 0!==s?s:{}),i&&{en_US:i}):a===O&&(u=(i||"").split(",")),n[o]=u,n}),o)}}]),n}(u.Component);S.contextTypes={fiDomainInfo:f.a.object},S.propTypes={isAdmin:f.a.bool,widgetPromise:f.a.object,messages:f.a.object.isRequired,onWidgetInit:f.a.func,containerCls:f.a.string,contextCls:f.a.string,extraWidgetProperties:f.a.object,windowDimensions:f.a.object,fallbackComponent:f.a.object,layoutOption:f.a.object,fiDomainInfo:f.a.object,sourceUrl:f.a.string,name:f.a.string,isIFrame:f.a.bool,widgetProperties:f.a.array},S.defaultProps={fiDomainInfo:y.a.getFIDomainInfo()}},1549:function(e,t,n){var r=n(1438),o=n(1439),a=n(1550),i=n(1421);e.exports=function(e,t,n){if(!i(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&a(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},1556:function(e,t,n){var r=n(1450),o=n(1466),a=n(1467),i=n(1463),s=n(1553),c=n(1451);e.exports=function(e,t,n,u){var l=-1,d=o,p=!0,f=e.length,h=[],g=t.length;if(!f)return h;n&&(t=i(t,s(n))),u?(d=a,p=!1):t.length>=200&&(d=c,p=!1,t=new r(t));e:for(;++l<f;){var v=e[l],_=null==n?v:n(v);if(v=u||0!==v?v:0,p&&_===_){for(var y=g;y--;)if(t[y]===_)continue e;h.push(v)}else d(t,_,u)||h.push(v)}return h}},1557:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},1558:function(e,t,n){var r=n(1450),o=n(1466),a=n(1467),i=n(1451),s=n(1646),c=n(1468);e.exports=function(e,t,n){var u=-1,l=o,d=e.length,p=!0,f=[],h=f;if(n)p=!1,l=a;else if(d>=200){var g=t?null:s(e);if(g)return c(g);p=!1,l=i,h=new r}else h=t?[]:f;e:for(;++u<d;){var v=e[u],_=t?t(v):v;if(v=n||0!==v?v:0,p&&_===_){for(var y=h.length;y--;)if(h[y]===_)continue e;t&&h.push(_),f.push(v)}else l(h,_,n)||(h!==f&&h.push(_),f.push(v))}return f}},1559:function(e,t,n){var r=n(1410)(n(1404),"Set");e.exports=r},1560:function(e,t,n){var r=n(1561);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},1561:function(e,t,n){var r=n(1562),o=n(1469);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n<a;)e=e[o(t[n++])];return n&&n==a?e:void 0}},1562:function(e,t,n){var r=n(1353),o=n(1509),a=n(1649),i=n(1555);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:a(i(e))}},1563:function(e,t,n){var r=n(1464);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},1564:function(e,t,n){e.exports=n(2052)()},1565:function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(100)),i=o(n(1353)),s=o(n(1421)),c=o(n(1760));t.BEGIN_DRAG="dnd-core/BEGIN_DRAG",t.PUBLISH_DRAG_SOURCE="dnd-core/PUBLISH_DRAG_SOURCE",t.HOVER="dnd-core/HOVER",t.DROP="dnd-core/DROP",t.END_DRAG="dnd-core/END_DRAG",t.default=function(e){return{beginDrag:function(n,r){void 0===n&&(n=[]);var o=void 0===r?{publishSource:!0}:r,i=o.publishSource,c=o.clientOffset,u=o.getSourceClientOffset,l=e.getMonitor(),d=e.getRegistry();a.default(!l.isDragging(),"Cannot call beginDrag while dragging.");for(var p=0,f=n;p<f.length;p++){var h=f[p];a.default(d.getSource(h),"Expected sourceIds to be registered.")}for(var g=null,v=n.length-1;v>=0;v--)if(l.canDragSource(n[v])){g=n[v];break}if(null!==g){var _=null;c&&(a.default("function"===typeof u,"When clientOffset is provided, getSourceClientOffset must be a function."),_=u(g));var y=d.getSource(g).beginDrag(l,g);a.default(s.default(y),"Item must be an object."),d.pinSource(g);var m=d.getSourceType(g);return{type:t.BEGIN_DRAG,payload:{itemType:m,item:y,sourceId:g,clientOffset:c||null,sourceClientOffset:_||null,isSourcePublic:!!i}}}},publishDragSource:function(){if(e.getMonitor().isDragging())return{type:t.PUBLISH_DRAG_SOURCE}},hover:function(n,r){var o=(void 0===r?{}:r).clientOffset;a.default(i.default(n),"Expected targetIds to be an array.");var s=n.slice(0),u=e.getMonitor(),l=e.getRegistry();a.default(u.isDragging(),"Cannot call hover while not dragging."),a.default(!u.didDrop(),"Cannot call hover after drop.");for(var d=0;d<s.length;d++){var p=s[d];a.default(s.lastIndexOf(p)===d,"Expected targetIds to be unique in the passed array.");var f=l.getTarget(p);a.default(f,"Expected targetIds to be registered.")}var h=u.getItemType();for(d=s.length-1;d>=0;d--){p=s[d];var g=l.getTargetType(p);c.default(g,h)||s.splice(d,1)}for(var v=0,_=s;v<_.length;v++){p=_[v];(f=l.getTarget(p)).hover(u,p)}return{type:t.HOVER,payload:{targetIds:s,clientOffset:o||null}}},drop:function(n){void 0===n&&(n={});var o=e.getMonitor(),i=e.getRegistry();a.default(o.isDragging(),"Cannot call drop while not dragging."),a.default(!o.didDrop(),"Cannot call drop twice during one drag operation.");var c=o.getTargetIds().filter(o.canDropOnTarget,o);
2c.reverse(),c.forEach((function(c,u){var l=i.getTarget(c).drop(o,c);a.default("undefined"===typeof l||s.default(l),"Drop result must either be an object or undefined."),"undefined"===typeof l&&(l=0===u?{}:o.getDropResult());var d={type:t.DROP,payload:{dropResult:r({},n,l)}};e.dispatch(d)}))},endDrag:function(){var n=e.getMonitor(),r=e.getRegistry();a.default(n.isDragging(),"Cannot call endDrag while not dragging.");var o=n.getSourceId();return r.getSource(o,!0).endDrag(n,o),r.unpinSource(),{type:t.END_DRAG}}}}},1566:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ADD_SOURCE="dnd-core/ADD_SOURCE",t.ADD_TARGET="dnd-core/ADD_TARGET",t.REMOVE_SOURCE="dnd-core/REMOVE_SOURCE",t.REMOVE_TARGET="dnd-core/REMOVE_TARGET",t.addSource=function(e){return{type:t.ADD_SOURCE,payload:{sourceId:e}}},t.addTarget=function(e){return{type:t.ADD_TARGET,payload:{targetId:e}}},t.removeSource=function(e){return{type:t.REMOVE_SOURCE,payload:{sourceId:e}}},t.removeTarget=function(e){return{type:t.REMOVE_TARGET,payload:{targetId:e}}}},1567:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r]}},1568:function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(100)),i=o(n(1353)),s=o(n(1421)),c=o(n(1775));t.BEGIN_DRAG="dnd-core/BEGIN_DRAG",t.PUBLISH_DRAG_SOURCE="dnd-core/PUBLISH_DRAG_SOURCE",t.HOVER="dnd-core/HOVER",t.DROP="dnd-core/DROP",t.END_DRAG="dnd-core/END_DRAG",t.default=function(e){return{beginDrag:function(n,r){void 0===n&&(n=[]);var o=void 0===r?{publishSource:!0}:r,i=o.publishSource,c=o.clientOffset,u=o.getSourceClientOffset,l=e.getMonitor(),d=e.getRegistry();a.default(!l.isDragging(),"Cannot call beginDrag while dragging.");for(var p=0,f=n;p<f.length;p++){var h=f[p];a.default(d.getSource(h),"Expected sourceIds to be registered.")}for(var g=null,v=n.length-1;v>=0;v--)if(l.canDragSource(n[v])){g=n[v];break}if(null!==g){var _=null;c&&(a.default("function"===typeof u,"When clientOffset is provided, getSourceClientOffset must be a function."),_=u(g));var y=d.getSource(g).beginDrag(l,g);a.default(s.default(y),"Item must be an object."),d.pinSource(g);var m=d.getSourceType(g);return{type:t.BEGIN_DRAG,payload:{itemType:m,item:y,sourceId:g,clientOffset:c||null,sourceClientOffset:_||null,isSourcePublic:!!i}}}},publishDragSource:function(){if(e.getMonitor().isDragging())return{type:t.PUBLISH_DRAG_SOURCE}},hover:function(n,r){var o=(void 0===r?{}:r).clientOffset;a.default(i.default(n),"Expected targetIds to be an array.");var s=n.slice(0),u=e.getMonitor(),l=e.getRegistry();a.default(u.isDragging(),"Cannot call hover while not dragging."),a.default(!u.didDrop(),"Cannot call hover after drop.");for(var d=0;d<s.length;d++){var p=s[d];a.default(s.lastIndexOf(p)===d,"Expected targetIds to be unique in the passed array.");var f=l.getTarget(p);a.default(f,"Expected targetIds to be registered.")}var h=u.getItemType();for(d=s.length-1;d>=0;d--){p=s[d];var g=l.getTargetType(p);c.default(g,h)||s.splice(d,1)}for(var v=0,_=s;v<_.length;v++){p=_[v];(f=l.getTarget(p)).hover(u,p)}return{type:t.HOVER,payload:{targetIds:s,clientOffset:o||null}}},drop:function(n){void 0===n&&(n={});var o=e.getMonitor(),i=e.getRegistry();a.default(o.isDragging(),"Cannot call drop while not dragging."),a.default(!o.didDrop(),"Cannot call drop twice during one drag operation.");var c=o.getTargetIds().filter(o.canDropOnTarget,o);c.reverse(),c.forEach((function(c,u){var l=i.getTarget(c).drop(o,c);a.default("undefined"===typeof l||s.default(l),"Drop result must either be an object or undefined."),"undefined"===typeof l&&(l=0===u?{}:o.getDropResult());var d={type:t.DROP,payload:{dropResult:r({},n,l)}};e.dispatch(d)}))},endDrag:function(){var n=e.getMonitor(),r=e.getRegistry();a.default(n.isDragging(),"Cannot call endDrag while not dragging.");
2var o=n.getSourceId();return r.getSource(o,!0).endDrag(n,o),r.unpinSource(),{type:t.END_DRAG}}}}},1569:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ADD_SOURCE="dnd-core/ADD_SOURCE",t.ADD_TARGET="dnd-core/ADD_TARGET",t.REMOVE_SOURCE="dnd-core/REMOVE_SOURCE",t.REMOVE_TARGET="dnd-core/REMOVE_TARGET",t.addSource=function(e){return{type:t.ADD_SOURCE,payload:{sourceId:e}}},t.addTarget=function(e){return{type:t.ADD_TARGET,payload:{targetId:e}}},t.removeSource=function(e){return{type:t.REMOVE_SOURCE,payload:{sourceId:e}}},t.removeTarget=function(e){return{type:t.REMOVE_TARGET,payload:{targetId:e}}}},1570:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r]}},1600:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(2),o=n(3),a=n(5),i=n(6),s=n(0),c=n.n(s),u=n(25),l=n.n(u),d=n(1351),p=n.n(d),f=n(31);console.log("styles",p.a);var h=function(e){Object(a.a)(n,e);var t=Object(i.a)(n);function n(e){return Object(r.a)(this,n),t.call(this,e)}return Object(o.a)(n,[{key:"render",value:function(){return c.a.createElement("div",{className:p.a["no-accounts"]},c.a.createElement("span",{className:"text-light"},c.a.createElement(f.a,{className:"brand-type-a-10p",name:"Accounts",height:"60px",width:"60px"})),c.a.createElement("h2",null,this.props.i18nStrings.accounts_noAccountsLabelText),c.a.createElement("h3",{className:"text-light"},this.props.i18nStrings.Any_questions_please_call_us))}}]),n}(s.Component);h.propTypes={i18nStrings:l.a.objectOf(l.a.string).isRequired}},1601:function(e,t,n){e.exports={"page-container":"PageLevelComponent_page-container__3p7fP"}},1607:function(e,t,n){var r=n(1551),o=n(1608),a=n(1439);e.exports=function(e){return a(e)?r(e,!0):o(e)}},1608:function(e,t,n){var r=n(1421),o=n(1554),a=n(1609),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&n.push(s);return n}},1609:function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},1621:function(e,t,n){var r=n(1622),o=n(1465),a=n(1507);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||o),str
2ing:new r}}},1622:function(e,t,n){var r=n(1623),o=n(1624),a=n(1625),i=n(1626),s=n(1627);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},1623:function(e,t,n){var r=n(1425);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},1624:function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1625:function(e,t,n){var r=n(1425),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},1626:function(e,t,n){var r=n(1425),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},1627:function(e,t,n){var r=n(1425);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},1628:function(e,t){e.exports=function(){this.__data__=[],this.size=0}},1629:function(e,t,n){var r=n(1426),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},1630:function(e,t,n){var r=n(1426);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},1631:function(e,t,n){var r=n(1426);e.exports=function(e){return r(this.__data__,e)>-1}},1632:function(e,t,n){var r=n(1426);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},1633:function(e,t,n){var r=n(1427);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},1634:function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},1635:function(e,t,n){var r=n(1427);e.exports=function(e){return r(this,e).get(e)}},1636:function(e,t,n){var r=n(1427);e.exports=function(e){return r(this,e).has(e)}},1637:function(e,t,n){var r=n(1427);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},1638:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},1639:function(e,t){e.exports=function(e){return this.__data__.has(e)}},1640:function(e,t,n){var r=n(1641),o=n(1642),a=n(1643);e.exports=function(e,t,n){return t===t?a(e,t,n):r(e,o,n)}},1641:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},1642:function(e,t){e.exports=function(e){return e!==e}},1643:function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},1644:function(e,t,n){var r=n(1462),o=n(1552),a=n(1353),i=r?r.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||o(e)||!!(i&&e&&e[i])}},1645:function(e,t,n){var r=n(1508),o=n(1422),a=n(1558),i=n(1452),s=o((function(e){return a(r(e,1,i,!0))}));e.exports=s},1646:function(e,t,n){var r=n(1559),o=n(1647),a=n(1468),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},1647:function(e,t){e.exports=function(){}},1648:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},1649:function(e,t,n){var r=n(1650),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)})),t}));e.exports=i},1650:function(e,t,n){var r=n(1563);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},1651:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1758);t.DragDropContext=r.default;var o=n(2072);t.DragDropContextProvider=o.default;var a=n(2073);t.DragLayer=a.default;var i=n(2074);t.DragSource=i.default;var s=n(2083);t.DropTarget=s.default},1652:function(e,t,n){var r=n(1556),o=n(1422),a=n(1452),i=o((function(e,t){return a(e)?r(e,t):[]}));e.exports=i},1653:function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a=Object.defineProperty,i=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,l=u&&u(Object);e.exports=function e(t,n,d){if("string"!==typeof n){if(l){var p=u(n);p&&p!==l&&e(t,p,d)}var f=i(n);s&&(f=f.concat(s(n)));for(var h=0;h<f.length;++h){var g=f[h];
2if(!r[g]&&!o[g]&&(!d||!d[g])){var v=c(n,g);try{a(t,g,v)}catch(_){}}}return t}return t}},1654:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return Boolean(e&&"function"===typeof e.dispose)},e.exports=t.default},1655:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(2088)),i=r(n(2095));t.getEmptyImage=i.default;var s=o(n(1656));t.NativeTypes=s,t.default=function(e){return new a.default(e)}},1656:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FILE="__NATIVE_FILE__",t.URL="__NATIVE_URL__",t.TEXT="__NATIVE_TEXT__"},1657:function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a=Object.defineProperty,i=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,l=u&&u(Object);e.exports=function e(t,n,d){if("string"!==typeof n){if(l){var p=u(n);p&&p!==l&&e(t,p,d)}var f=i(n);s&&(f=f.concat(s(n)));for(var h=0;h<f.length;++h){var g=f[h];if(!r[g]&&!o[g]&&(!d||!d[g])){var v=c(n,g);try{a(t,g,v)}catch(_){}}}return t}return t}},1758:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(0)),s=a(n(1564)),c=n(2054),u=a(n(100)),l=a(n(1653)),d=a(n(1567));function p(e,t){return{dragDropManager:c.createDragDropManager(e,t)}}t.CHILD_CONTEXT_TYPES={dragDropManager:s.default.object.isRequired},t.createChildContext=p,t.default=function(e,n){d.default("DragDropContext","backend",e);var a=p(e,n);return function(e){var n=e.displayName||e.name||"Component",s=function(s){function c(){return null!==s&&s.apply(this,arguments)||this}return r(c,s),c.prototype.getDecoratedComponentInstance=function(){return u.default(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child},c.prototype.getManager=function(){return a.dragDropManager},c.prototype.getChildContext=function(){return a},c.prototype.render=function(){var t=this;return i.default.createElement(e,o({},this.props,{ref:function(e){return t.child=e}}))},c.DecoratedComponent=e,c.displayName="DragDropContext("+n+")",c.childContextTypes=t.CHILD_CONTEXT_TYPES,c}(i.default.Component);return l.default(s,e)}}},1759:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(t.HandlerRole||(t.HandlerRole={}))},1760:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1353));t.default=function(e,t){return null===t?null===e:o.default(e)?e.some((function(e){return e===t})):e===t}},1761:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.strictEquality=function(e,t){return e===t},t.areCoordsEqual=function(e,t){return!e&&!t||!(!e||!t)&&(e.x===t.x&&e.y===t.y)},t.areArraysEqual=function(e,n,r){if(void 0===r&&(r=t.strictEquality),e.length!==n.length)return!1;for(var o=0;o<e.length;++o)if(!r(e[o],n[o]))return!1;return!0}},1762:function(e,t,n){var r=n(1648),o=n(1422),a=n(2062),i=n(1452),s=o((function(e){return a(r(e,i))}));e.exports=s},1763:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
2dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1764));t.NONE=[],t.ALL=[],t.areDirty=function(e,n){return e!==t.NONE&&(e===t.ALL||"undefined"===typeof n||o.default(n,e).length>0)}},1764:function(e,t,n){var r=n(1463),o=n(2063),a=n(1422),i=n(2064),s=a((function(e){var t=r(e,i);return t.length&&t[0]===e[0]?o(t):[]}));e.exports=s},1765:function(e,t,n){"use strict";var r=n(2069),o=[],a=[],i=r.makeRequestCallFromTimer((function(){if(a.length)throw a.shift()}));function s(e){var t;(t=o.length?o.pop():new c).task=e,r(t)}function c(){this.task=null}e.exports=s,c.prototype.call=function(){try{this.task.call()}catch(e){s.onerror?s.onerror(e):(a.push(e),i())}finally{this.task=null,o[o.length]=this}}},1766:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=a(n(0)),c=i(n(1564)),u=(i(n(1376)),i(n(100))),l=i(n(1653)),d=n(1428),p=n(1767),f=p.Disposable,h=p.CompositeDisposable,g=p.SerialDisposable;t.default=function(e){var t=e.DecoratedComponent,n=e.createHandler,a=e.createMonitor,i=e.createConnector,p=e.registerHandler,v=e.containerDisplayName,_=e.getType,y=e.collect,m=e.options.arePropsEqual,b=void 0===m?d:m,O=t.displayName||t.name||"Component",E=function(e){function l(t,r){var o=e.call(this,t,r)||this;return o.isCurrentlyMounted=!1,o.handleChange=o.handleChange.bind(o),o.handleChildRef=o.handleChildRef.bind(o),u.default("object"===typeof o.context.dragDropManager,"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",O,O),o.manager=o.context.dragDropManager,o.handlerMonitor=a(o.manager),o.handlerConnector=i(o.manager.getBackend()),o.handler=n(o.handlerMonitor),o.disposable=new g,o.receiveProps(t),o.state=o.getCurrentState(),o.dispose(),o}return r(l,e),l.prototype.getHandlerId=function(){return this.handlerId},l.prototype.getDecoratedComponentInstance=function(){return this.decoratedComponentInstance},l.prototype.shouldComponentUpdate=function(e,t){return!b(e,this.props)||!d(t,this.state)},l.prototype.componentDidMount=function(){this.isCurrentlyMounted=!0,this.disposable=new g,this.currentType=void 0,this.receiveProps(this.props),this.handleChange()},l.prototype.componentWillReceiveProps=function(e){b(e,this.props)||(this.receiveProps(e),this.handleChange())},l.prototype.componentWillUnmount=function(){this.dispose(),this.isCurrentlyMounted=!1},l.prototype.receiveProps=function(e){this.handler.receiveProps(e),this.receiveType(_(e))},l.prototype.receiveType=function(e){if(e!==this.currentType){this.currentType=e;var t=p(e,this.handler,this.manager),n=t.handlerId,r=t.unregister;this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var o=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new h(new f(o),new f(r)))}},l.prototype.handleChange=function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();d(e,this.state)||this.setState(e)}},l.prototype.dispose=function(){this.disposable.dispose(),this.handlerConnector.receiveHandlerId(null)},l.prototype.handleChildRef=function(e){this.decoratedComponentInstance=e,this.handler.receiveComponent(e)},l.prototype.getCurrentState=function(){return y(this.handlerConnector.hooks,this.handlerMonitor)},l.prototype.render=function(){return s.createElement(t,o({},this.props,this.state,{ref:(e=t,e&&e.prototype&&"function"===typeof e.prototype.render?this.handleChildRef:null)}));var e},l.DecoratedComponent=t,l.displayName=v+"("+O+")",l.contextTypes={dragDropManager:c.default.object.isRequired},l}(s.Component);return l.default(E,t)}},1767:function(e,t,n){"use strict";
2function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(n(1654));t.isDisposable=o.default;var a=r(n(2075));t.Disposable=a.default;var i=r(n(2076));t.CompositeDisposable=i.default;var s=r(n(2077));t.SerialDisposable=s.default},1768:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=r(n(2082));function i(e){return function(t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),o.isValidElement(t)){var r=t;!function(e){if("string"!==typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors.You can either wrap "+t+" into a <div>, or turn it into a drag source or a drop target itself.")}}(r);var i=n?function(t){return e(t,n)}:e;return a.default(r,i)}e(t,n)}}t.default=function(e){var t={};return Object.keys(e).forEach((function(n){var r=i(e[n]);t[n]=function(){return r}})),t}},1769:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1353));t.default=function e(t,n){return"string"===typeof t||"symbol"===typeof t||!!n&&o.default(t)&&t.every((function(t){return e(t,!1)}))}},1770:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1563);t.isFirefox=r((function(){return/firefox/i.test(navigator.userAgent)})),t.isSafari=r((function(){return Boolean(window.safari)}))},1771:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e,t){return{_isMBTransition:!0,event:e,check:t}}},1772:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1773);t.DragDropContext=r.default;var o=n(2121);t.DragDropContextProvider=o.default;var a=n(2122);t.DragLayer=a.default;var i=n(2123);t.DragSource=i.default;var s=n(2129);t.DropTarget=s.default},1773:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(1440)),s=a(n(1470)),c=n(2107),u=a(n(100)),l=a(n(1657)),d=a(n(1570));function p(e,t){return{dragDropManager:c.createDragDropManager(e,t)}}t.CHILD_CONTEXT_TYPES={dragDropManager:s.default.object.isRequired},t.createChildContext=p,t.default=function(e,n){d.default("DragDropContext","backend",e);var a=p(e,n);return function(e){var n=e.displayName||e.name||"Component",s=function(s){function c(){return null!==s&&s.apply(this,arguments)||this}return r(c,s),c.prototype.getDecoratedComponentInstance=function(){return u.default(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child},c.prototype.getManager=function(){return a.dragDropManager},c.prototype.getChildContext=function(){return a},c.prototype.render=function(){var t=this;return i.default.createElement(e,o({},this.props,{ref:function(e){return t.child=e}}))},c.DecoratedComponent=e,c.displayName="DragDropContext("+n+")",c.childContextTypes=t.CHILD_CONTEXT_TYPES,c}(i.default.Component);return l.default(s,e)}}},1774:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(t.HandlerRole||(t.HandlerRole={}))},1775:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1353));t.default=function(e,t){return null===t?null===e:o.default(e)?e.some((function(e){return e===t})):e===t}},1776:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.strictEquality=function(e,t){return e===t},t.areCoordsEqual=function(e,t){return!e&&!t||!(!e||!t)&&(e.x===t.x&&e.y===t.y)},t.areArraysEqual=function(e,n,r){if(void 0===r&&(r=t.strictEquality),e.length!==n.length)return!1;for(var o=0;o<e.length;++o)if(!r(e[o],n[o]))return!1;return!0}},1777:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1764));t.NONE=[],t.ALL=[],t.areDirty=function(e,n){return e!==t.NONE&&(e===t.ALL||"undefined"===typeof n||o.default(n,e).length>0)}},1778:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=a(n(1440)),c=i(n(1470)),u=(i(n(1376)),i(n(100))),l=i(n(1657)),d=n(1428),p=n(1767),f=p.Disposable,h=p.CompositeDisposable,g=p.SerialDisposable;t.default=function(e){var t=e.DecoratedComponent,n=e.createHandler,a=e.createMonitor,i=e.createConnector,p=e.registerHandler,v=e.containerDisplayName,_=e.getType,y=e.collect,m=e.options.arePropsEqual,b=void 0===m?d:m,O=t.displayName||t.name||"Component",E=function(e){function l(t,r){var o=e.call(this,t,r)||this;return o.isCurrentlyMounted=!1,o.handleChange=o.handleChange.bind(o),o.handleChildRef=o.handleChildRef.bind(o),u.default("object"===typeof o.context.dragDropManager,"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",O,O),o.manager=o.context.dragDropManager,o.handlerMonitor=a(o.manager),o.handlerConnector=i(o.manager.getBackend()),o.handler=n(o.handlerMonitor),o.disposable=new g,o.receiveProps(t),o.state=o.getCurrentState(),o.dispose(),o}return r(l,e),l.prototype.getHandlerId=function(){return this.handlerId},l.prototype.getDecoratedComponentInstance=function(){return this.decoratedComponentInstance},l.prototype.shouldComponentUpdate=function(e,t){return!b(e,this.props)||!d(t,this.state)},l.prototype.componentDidMount=function(){this.isCurrentlyMounted=!0,this.disposable=new g,this.currentType=void 0,this.receiveProps(this.props),this.handleChange()},l.prototype.componentWillReceiveProps=function(e){b(e,this.props)||(this.receiveProps(e),this.handleChange())},l.prototype.componentWillUnmount=function(){this.dispose(),this.isCurrentlyMounted=!1},l.prototype.receiveProps=function(e){this.handler.receiveProps(e),this.receiveType(_(e))},l.prototype.receiveType=function(e){if(e!==this.currentType){this.currentType=e;var t=p(e,this.handler,this.manager),n=t.handlerId,r=t.unregister;this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var o=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new h(new f(o),new f(r)))}},l.prototype.handleChange=function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();d(e,this.state)||this.setState(e)}},l.prototype.dispose=function(){this.disposable.dispose(),this.handlerConnector.receiveHandlerId(null)},l.prototype.handleChildRef=function(e){this.decoratedComponentInstance=e,this.handler.receiveComponent(e)},l.prototype.getCurrentState=function(){return y(this.handlerConnector.hooks,this.handlerMonitor)},l.prototype.render=function(){return s.createElement(t,o({},this.props,this.state,{ref:(e=t,e&&e.prototype&&"function"===typeof e.prototype.render?this.handleChildRef:null)}));var e},l.DecoratedComponent=t,l.displayName=v+"("+O+")",l.contextTypes={dragDropManager:c.default.object.isRequired},l}(s.Component);return l.default(E,t)}},1779:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
2dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1440),a=r(n(2128));function i(e){return function(t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),o.isValidElement(t)){var r=t;!function(e){if("string"!==typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors.You can either wrap "+t+" into a <div>, or turn it into a drag source or a drop target itself.")}}(r);var i=n?function(t){return e(t,n)}:e;return a.default(r,i)}e(t,n)}}t.default=function(e){var t={};return Object.keys(e).forEach((function(n){var r=i(e[n]);t[n]=function(){return r}})),t}},1780:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1353));t.default=function e(t,n){return"string"===typeof t||"symbol"===typeof t||!!n&&o.default(t)&&t.every((function(t){return e(t,!1)}))}},1781:function(e,t,n){"use strict";n.r(t);var r=n(2),o=n(3),a=n(5),i=n(6),s=n(893),c=n(0),u=n(481),l=function(e){Object(a.a)(n,e);var t=Object(i.a)(n);function n(){var e;Object(r.a)(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).state={},e}return Object(o.a)(n,[{key:"render",value:function(){var e=sessionStorage.getItem("nextGenBaseUrl"),t=u.a.getDBKSession()||{};return e?React.createElement(s.a,{title:"NextGen account preferences page",url:"".concat(e,"/#account-preferences"),dbkSession:t}):null}}]),n}(c.Component);t.default=l},2052:function(e,t,n){"use strict";var r=n(2053);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},2053:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2054:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(1759)),r(n(2055))},2055:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2056));t.createDragDropManager=function(e,t){return new o.default(e,t)}},2056:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(472),a=r(n(2057)),i=r(n(1565)),s=r(n(2066)),c=r(n(2068)),u=function(){function e(e,t){void 0===t&&(t={}),this.context=t,this.isSetUp=!1;var n=o.createStore(a.default);this.store=n,this.monitor=new s.default(n,new c.default(n)),this.backend=e(this),n.subscribe(this.handleRefCountChange.bind(this))}return e.prototype.getContext=function(){return this.context},e.prototype.getMonitor=function(){return this.monitor},e.prototype.getBackend=function(){return this.backend},e.prototype.getRegistry=function(){return this.monitor.registry},e.prototype.getActions=function(){var e=this,t=this.store.dispatch;var n=i.default(this);return Object.keys(n).reduce((function(r,o){var a,i=n[o];return r[o]=(a=i,function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=a.apply(e,n);"undefined"!==typeof o&&t(o)}),r}),{})},e.prototype.dispatch=function(e){this.store.dispatch(e)},e.prototype.handleRefCountChange=function(){var e=this.store.getState().refCount>0;e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1)},e}();t.default=u},2057:function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}
2,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(1560)),i=o(n(2058)),s=o(n(2059)),c=o(n(2060)),u=o(n(2061)),l=o(n(2065));t.default=function(e,t){return void 0===e&&(e={}),{dirtyHandlerIds:u.default(e.dirtyHandlerIds,{type:t.type,payload:r({},t.payload,{prevTargetIds:a.default(e,"dragOperation.targetIds",[])})}),dragOffset:i.default(e.dragOffset,t),refCount:c.default(e.refCount,t),dragOperation:s.default(e.dragOperation,t),stateId:l.default(e.stateId)}}},2058:function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1565),a=n(1761),i={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};t.default=function(e,t){void 0===e&&(e=i);var n=t.payload;switch(t.type){case o.BEGIN_DRAG:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case o.HOVER:return a.areCoordsEqual(e.clientOffset,n.clientOffset)?e:r({},e,{clientOffset:n.clientOffset});case o.END_DRAG:case o.DROP:return i;default:return e}}},2059:function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(1652)),i=n(1565),s=n(1566),c={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};t.default=function(e,t){void 0===e&&(e=c);var n=t.payload;switch(t.type){case i.BEGIN_DRAG:return r({},e,{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case i.PUBLISH_DRAG_SOURCE:return r({},e,{isSourcePublic:!0});case i.HOVER:return r({},e,{targetIds:n.targetIds});case s.REMOVE_TARGET:return-1===e.targetIds.indexOf(n.targetId)?e:r({},e,{targetIds:a.default(e.targetIds,n.targetId)});case i.DROP:return r({},e,{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case i.END_DRAG:return r({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}},2060:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1566);t.default=function(e,t){switch(void 0===e&&(e=0),t.type){case r.ADD_SOURCE:case r.ADD_TARGET:return e+1;case r.REMOVE_SOURCE:case r.REMOVE_TARGET:return e-1;default:return e}}},2061:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1762)),a=n(1565),i=n(1566),s=n(1761),c=n(1763);t.default=function(e,t){switch(void 0===e&&(e=c.NONE),t.type){case a.HOVER:break;case i.ADD_SOURCE:case i.ADD_TARGET:case i.REMOVE_TARGET:case i.REMOVE_SOURCE:return c.NONE;case a.BEGIN_DRAG:case a.PUBLISH_DRAG_SOURCE:case a.END_DRAG:case a.DROP:default:return c.ALL}var n=t.payload,r=n.targetIds,u=void 0===r?[]:r,l=n.prevTargetIds,d=void 0===l?[]:l,p=o.default(u,d);if(!(p.length>0||!s.areArraysEqual(u,d)))return c.NONE;var f=d[d.length-1],h=u[u.length-1];return f!==h&&(f&&p.push(f),h&&p.push(h)),p}},2062:function(e,t,n){var r=n(1556),o=n(1508),a=n(1558);e.exports=function(e,t,n){var i=e.length;if(i<2)return i?a(e[0]):[];for(var s=-1,c=Array(i);++s<i;)for(var u=e[s],l=-1;++l<i;)l!=s&&(c[s]=r(c[s]||u,e[l],t,n));return a(o(c,1),t,n)}},2063:function(e,t,n){var r=n(1450),o=n(1466),a=n(1467),i=n(1463),s=n(1553),c=n(1451),u=Math.min;e.exports=function(e,t,n){for(var l=n?a:o,d=e[0].length,p=e.length,f=p,h=Array(p),g=1/0,v=[];f--;){var _=e[f];f&&t&&(_=i(_,s(t))),g=u(_.length,g),h[f]=!n&&(t||d>=120&&_.length>=120)?new r(f&&_):void 0}_=e[0];var y=-1,m=h[0];e:for(;++y<d&&v.length<g;){var b=_[y],O=t?t(b):b;if(b=n||0!==b?b:0,!(m?c(m,O):l(v,O,n))){for(f=p;--f;){var E=h[f];if(!(E?c(E,O):l(e[f],O,n)))continue e}m&&m.push(O),v.push(b)}}return v}},2064:function(e,t,n){var r=n(1452);e.exports=function(e){return r(e)?e:[]}},2065:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return void 0===e&&(e=0),e+1}},2066:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=r(n(1353)),i=r(n(1760)),s=n(2067),c=n(1763),u=function(){function e(e,t){this.store=e,this.registry=t}return e.prototype.subscribeToStateChange=function(e,t){var n=this;void 0===t&&(t={handlerIds:void 0});var r=t.handlerIds;o.default("function"===typeof e,"listener must be a function."),o.default("undefined"===typeof r||a.default(r),"handlerIds, when specified, must be an array of strings.");var i=this.store.getState().stateId;return this.store.subscribe((function(){var t=n.store.getState(),o=t.stateId;try{o===i||o===i+1&&!c.areDirty(t.dirtyHandlerIds,r)||e()}finally{i=o}}))},e.prototype.subscribeToOffsetChange=function(e){var t=this;o.default("function"===typeof e,"listener must be a function.");var n=this.store.getState().dragOffset;return this.store.subscribe((function(){var r=t.store.getState().dragOffset;r!==n&&(n=r,e())}))},e.prototype.canDragSource=function(e){var t=this.registry.getSource(e);return o.default(t,"Expected to find a valid source."),!this.isDragging()&&t.canDrag(this,e)},e.prototype.canDropOnTarget=function(e){var t=this.registry.getTarget(e);if(o.default(t,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var n=this.registry.getTargetType(e),r=this.getItemType();return i.default(n,r)&&t.canDrop(this,e)},e.prototype.isDragging=function(){return Boolean(this.getItemType())},e.prototype.isDraggingSource=function(e){var t=this.registry.getSource(e,!0);return o.default(t,"Expected to find a valid source."),!(!this.isDragging()||!this.isSourcePublic())&&(this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e))},e.prototype.isOverTarget=function(e,t){void 0===t&&(t={shallow:!1});var n=t.shallow;if(!this.isDragging())return!1;var r=this.registry.getTargetType(e),o=this.getItemType();if(o&&!i.default(r,o))return!1;var a=this.getTargetIds();if(!a.length)return!1;var s=a.indexOf(e);return n?s===a.length-1:s>-1},e.prototype.getItemType=function(){return this.store.getState().dragOperation.itemType},e.prototype.getItem=function(){return this.store.getState().dragOperation.item},e.prototype.getSourceId=function(){return this.store.getState().dragOperation.sourceId},e.prototype.getTargetIds=function(){return this.store.getState().dragOperation.targetIds},e.prototype.getDropResult=function(){return this.store.getState().dragOperation.dropResult},e.prototype.didDrop=function(){return this.store.getState().dragOperation.didDrop},e.prototype.isSourcePublic=function(){return this.store.getState().dragOperation.isSourcePublic},e.prototype.getInitialClientOffset=function(){return this.store.getState().dragOffset.initialClientOffset},e.prototype.getInitialSourceClientOffset=function(){return this.store.getState().dragOffset.initialSourceClientOffset},e.prototype.getClientOffset=function(){return this.store.getState().dragOffset.clientOffset},e.prototype.getSourceClientOffset=function(){return s.getSourceClientOffset(this.store.getState().dragOffset)},e.prototype.getDifferenceFromInitialOffset=function(){return s.getDifferenceFromInitialOffset(this.store.getState().dragOffset)},e}();t.default=u},2067:function(e,t,n){"use strict";function r(e,t){return{x:e.x+t.x,y:e.y+t.y}}function o(e,t){return{x:e.x-t.x,y:e.y-t.y}}Object.defineProperty(t,"__esModule",{value:!0}),t.add=r,t.subtract=o,t.getSourceClientOffset=function(e){var t=e.clientOffset,n=e.initialClientOffset,a=e.initialSourceClientOffset;return t&&n&&a?o(r(t,a),n):null},t.getDifferenceFromInitialOffset=function(e){var t=e.clientOffset,n=e.initialClientOffset;return t&&n?o(t,n):null}},2068:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=n(1765),i=n(1566),s=r(n(2070)),c=n(1759),u=n(2071);function l(e){switch(e[0]){case"S":return c.HandlerRole.SOURCE;case"T":return c.HandlerRole.TARGET;default:o.default(!1,"Cannot parse handler ID: "+e)}}var d=function(){function e(e){this.store=e,this.types={},this.dragSources={},this.dropTargets={},this.pinnedSourceId=null,this.pinnedSource=null}return e.prototype.addSource=function(e,t){u.validateType(e),u.validateSourceContract(t);var n=this.addHandler(c.HandlerRole.SOURCE,e,t);return this.store.dispatch(i.addSource(n)),n},e.prototype.addTarget=function(e,t){u.validateType(e,!0),u.validateTargetContract(t);var n=this.addHandler(c.HandlerRole.TARGET,e,t);return this.store.dispatch(i.addTarget(n)),n},e.prototype.containsHandler=function(e){var t=this;return Object.keys(this.dragSources).some((function(n){return t.dragSources[n]===e}))||Object.keys(this.dropTargets).some((function(n){return t.dropTargets[n]===e}))},e.prototype.getSource=function(e,t){return void 0===t&&(t=!1),o.default(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources[e]},e.prototype.getTarget=function(e){return o.default(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets[e]},e.prototype.getSourceType=function(e){return o.default(this.isSourceId(e),"Expected a valid source ID."),this.types[e]},e.prototype.getTargetType=function(e){return o.default(this.isTargetId(e),"Expected a valid target ID."),this.types[e]},e.prototype.isSourceId=function(e){return l(e)===c.HandlerRole.SOURCE},e.prototype.isTargetId=function(e){return l(e)===c.HandlerRole.TARGET},e.prototype.removeSource=function(e){var t=this;o.default(this.getSource(e),"Expected an existing source."),this.store.dispatch(i.removeSource(e)),a((function(){delete t.dragSources[e],delete t.types[e]}))},e.prototype.removeTarget=function(e){var t=this;o.default(this.getTarget(e),"Expected an existing target."),this.store.dispatch(i.removeTarget(e)),a((function(){delete t.dropTargets[e],delete t.types[e]}))},e.prototype.pinSource=function(e){var t=this.getSource(e);o.default(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t},e.prototype.unpinSource=function(){o.default(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null},e.prototype.addHandler=function(e,t,n){var r=function(e){var t=s.default().toString();switch(e){case c.HandlerRole.SOURCE:return"S"+t;case c.HandlerRole.TARGET:return"T"+t;default:throw new Error("Unknown Handler Role: "+e)}}(e);return this.types[r]=t,e===c.HandlerRole.SOURCE?this.dragSources[r]=n:e===c.HandlerRole.TARGET&&(this.dropTargets[r]=n),r},e}();t.default=d},2069:function(e,t,n){"use strict";(function(t){function n(e){o.length||(r(),!0),o[o.length]=e}e.exports=n;var r,o=[],a=0;function i(){for(;a<o.length;){var e=a;if(a+=1,o[e].call(),a>1024){for(var t=0,n=o.length-a;t<n;t++)o[t]=o[t+a];o.length-=a,a=0}}o.length=0,a=0,!1}var s="undefined"!==typeof t?t:self,c=s.MutationObserver||s.WebKitMutationObserver;function u(e){return function(){var t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}r="function"===typeof c?function(e){var t=1,n=new c(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}
2),function(){t=-t,r.data=t}}(i):u(i),n.requestFlush=r,n.makeRequestCallFromTimer=u}).call(this,n(101))},2070:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=0;t.default=function(){return r++}},2071:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=r(n(1353));t.validateSourceContract=function(e){o.default("function"===typeof e.canDrag,"Expected canDrag to be a function."),o.default("function"===typeof e.beginDrag,"Expected beginDrag to be a function."),o.default("function"===typeof e.endDrag,"Expected endDrag to be a function.")},t.validateTargetContract=function(e){o.default("function"===typeof e.canDrop,"Expected canDrop to be a function."),o.default("function"===typeof e.hover,"Expected hover to be a function."),o.default("function"===typeof e.drop,"Expected beginDrag to be a function.")},t.validateType=function e(t,n){n&&a.default(t)?t.forEach((function(t){return e(t,!1)})):o.default("string"===typeof t||"symbol"===typeof t,n?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}},2072:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),i=o(n(1564)),s=n(1758),c=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.backend=t.backend,r.childContext=s.createChildContext(r.backend,r.props.context),r}return r(t,e),t.prototype.componentWillReceiveProps=function(e){if(e.backend!==this.props.backend||e.context!==this.props.context)throw new Error("DragDropContextProvider backend and context props must not change.")},t.prototype.getChildContext=function(){return this.childContext},t.prototype.render=function(){return a.Children.only(this.props.children)},t.propTypes={backend:i.default.oneOfType([i.default.func,i.default.object]).isRequired,children:i.default.element.isRequired,context:i.default.object},t.defaultProps={context:void 0},t.childContextTypes=s.CHILD_CONTEXT_TYPES,t.displayName="DragDropContextProvider",t}(a.Component);t.default=c},2073:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(0)),s=a(n(1564)),c=a(n(1653)),u=a(n(1376)),l=a(n(100)),d=a(n(1567)),p=n(1428);t.default=function(e,t){return void 0===t&&(t={}),d.default("DragLayer","collect[, options]",e,t),l.default("function"===typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",e),l.default(u.default(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',t),function(n){var a=t.arePropsEqual,u=void 0===a?p:a,d=n.displayName||n.name||"Component",f=function(t){function a(e,n){var r=t.call(this,e)||this;return r.isCurrentlyMounted=!1,r.handleChange=r.handleChange.bind(r),r.manager=n.dragDropManager,l.default("object"===typeof r.manager,"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",d,d),r.state=r.getCurrentState(),r}return r(a,t),Object.defineProperty(a.prototype,"DecoratedComponent",{get:function(){return n},enumerable:!0,configurable:!0}),a.prototype.getDecoratedComponentInstance=function(){return l.default(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child},a.prototype.shouldComponentUpdate=function(e,t){return!u(e,this.props)||!p(t,this.state)},a.prototype.componentDidMount=function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()},a.prototype.componentWillUnmount=function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange&&(this.unsubscribeFromOffsetChange(),this.unsubscribeFromOffsetChange=void 0),this.unsubscribeFromStateChange&&(this.unsubscribeFromStateChange(),this.unsubscribeFromStateChange=void 0)},a.prototype.render=function(){var e=this;return i.default.createElement(n,o({},this.props,this.state,{ref:function(t){e.child=t}}))},a.prototype.handleChange=function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();p(e,this.state)||this.setState(e)}},a.prototype.getCurrentState=function(){var t=this.manager.getMonitor();return e(t,this.props)},a.displayName="DragLayer("+d+")",a.contextTypes={dragDropManager:s.default.object.isRequired},a}(i.default.Component);return c.default(f,n)}}},2074:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
2dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=r(n(1376)),i=r(n(1567)),s=r(n(1766)),c=r(n(2078)),u=r(n(2079)),l=r(n(2080)),d=r(n(2081)),p=r(n(1769));t.default=function(e,t,n,r){void 0===r&&(r={}),i.default("DragSource","type, spec, collect[, options]",e,t,n,r);var f=e;"function"!==typeof e&&(o.default(p.default(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e),f=function(){return e}),o.default(a.default(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t);var h=u.default(t);return o.default("function"===typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),o.default(a.default(r),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(e){return s.default({containerDisplayName:"DragSource",createHandler:h,registerHandler:c.default,createMonitor:l.default,createConnector:d.default,DecoratedComponent:e,getType:f,collect:n,options:r})}}},2075:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){},a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isDisposed=!1,this.action=t||o}return r(e,null,[{key:"empty",value:{dispose:o},enumerable:!0}]),e.prototype.dispose=function(){this.isDisposed||(this.action.call(null),this.isDisposed=!0)},e}();t.default=a,e.exports=t.default},2076:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}
2t.__esModule=!0;var o,a=n(1654),i=(o=a)&&o.__esModule?o:{default:o},s=function(){function e(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];r(this,e),Array.isArray(n[0])&&1===n.length&&(n=n[0]);for(var a=0;a<n.length;a++)if(!i.default(n[a]))throw new Error("Expected a disposable");this.disposables=n,this.isDisposed=!1}return e.prototype.add=function(e){this.isDisposed?e.dispose():this.disposables.push(e)},e.prototype.remove=function(e){if(this.isDisposed)return!1;var t=this.disposables.indexOf(e);return-1!==t&&(this.disposables.splice(t,1),e.dispose(),!0)},e.prototype.dispose=function(){if(!this.isDisposed){for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];this.isDisposed=!0,this.disposables=[],this.length=0;for(n=0;n<e;n++)t[n].dispose()}},e}();t.default=s,e.exports=t.default},2077:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(1654),a=(r=o)&&r.__esModule?r:{default:r},i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isDisposed=!1,this.current=null}return e.prototype.getDisposable=function(){return this.current},e.prototype.setDisposable=function(){var e=arguments.length<=0||void 0===arguments[0]?null:arguments[0];if(null!=e&&!a.default(e))throw new Error("Expected either an empty value or a valid disposable");var t=this.isDisposed,n=void 0;t||(n=this.current,this.current=e),n&&n.dispose(),t&&e&&e.dispose()},e.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var e=this.current;this.current=null,e&&e.dispose()}},e}();t.default=i,e.exports=t.default},2078:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addSource(e,t);return{handlerId:o,unregister:function(){r.removeSource(o)}}}},2079:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=(r(n(1376)),["canDrag","beginDrag","isDragging","endDrag"]),i=["beginDrag"];t.default=function(e){Object.keys(e).forEach((function(t){o.default(a.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',a.join(", "),t),o.default("function"===typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])})),i.forEach((function(t){o.default("function"===typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}));var t=function(){function t(e){this.monitor=e}return t.prototype.receiveProps=function(e){this.props=e},t.prototype.receiveComponent=function(e){this.component=e},t.prototype.canDrag=function(){return!!this.props&&(!e.canDrag||e.canDrag(this.props,this.monitor))},t.prototype.isDragging=function(t,n){return!!this.props&&(e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId())},t.prototype.beginDrag=function(){if(this.props&&this.component)return e.beginDrag(this.props,this.monitor,this.component)},t.prototype.endDrag=function(){this.props&&this.component&&e.endDrag&&e.endDrag(this.props,this.monitor,this.component)},t}();return function(e){return new t(e)}}},2080:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=!1,i=!1,s=function(){function e(e){this.internalMonitor=e.getMonitor()}return e.prototype.receiveHandlerId=function(e){this.sourceId=e},e.prototype.canDrag=function(){o.default(!a,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return a=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{a=!1}
2},e.prototype.isDragging=function(){o.default(!i,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return i=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{i=!1}},e.prototype.subscribeToStateChange=function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)},e.prototype.isDraggingSource=function(e){return this.internalMonitor.isDraggingSource(e)},e.prototype.isOverTarget=function(e,t){return this.internalMonitor.isOverTarget(e,t)},e.prototype.getTargetIds=function(){return this.internalMonitor.getTargetIds()},e.prototype.isSourcePublic=function(){return this.internalMonitor.isSourcePublic()},e.prototype.getSourceId=function(){return this.internalMonitor.getSourceId()},e.prototype.subscribeToOffsetChange=function(e){return this.internalMonitor.subscribeToOffsetChange(e)},e.prototype.canDragSource=function(e){return this.internalMonitor.canDragSource(e)},e.prototype.canDropOnTarget=function(e){return this.internalMonitor.canDropOnTarget(e)},e.prototype.getItemType=function(){return this.internalMonitor.getItemType()},e.prototype.getItem=function(){return this.internalMonitor.getItem()},e.prototype.getDropResult=function(){return this.internalMonitor.getDropResult()},e.prototype.didDrop=function(){return this.internalMonitor.didDrop()},e.prototype.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},e.prototype.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},e.prototype.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},e.prototype.getClientOffset=function(){return this.internalMonitor.getClientOffset()},e.prototype.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}();t.default=function(e){return new s(e)}},2081:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1768)),a=n(1428);t.default=function(e){var t,n,r,i,s,c,u;function l(){i&&(i(),i=void 0),t&&n&&(i=e.connectDragSource(t,n,r))}function d(){u&&(u(),u=void 0),t&&s&&(u=e.connectDragPreview(t,s,c))}return{receiveHandlerId:function(e){e!==t&&(t=e,l(),d())},hooks:o.default({dragSource:function(e,t){e===n&&a(t,r)||(n=e,r=t,l())},dragPreview:function(e,t){e===s&&a(t,c)||(s=e,c=t,d())}})}}},2082:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=n(0);t.default=function(e,t){var n=e.ref;return o.default("string"!==typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?a.cloneElement(e,{ref:function(e){t(e),n&&n(e)}}):a.cloneElement(e,{ref:t})}},2083:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=r(n(1376)),i=r(n(1567)),s=r(n(1766)),c=r(n(2084)),u=r(n(2085)),l=r(n(2086)),d=r(n(2087)),p=r(n(1769));t.default=function(e,t,n,r){void 0===r&&(r={}),i.default("DropTarget","type, spec, collect[, options]",e,t,n,r);var f=e;"function"!==typeof e&&(o.default(p.default(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e),f=function(){return e}),o.default(a.default(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t);var h=u.default(t);return o.default("function"===typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),o.default(a.default(r),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(e){return s.default({containerDisplayName:"DropTarget",createHandler:h,registerHandler:c.default,createMonitor:l.default,createConnector:d.default,DecoratedComponent:e,getType:f,collect:n,options:r})}}},2084:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addTarget(e,t);return{handlerId:o,unregister:function(){r.removeTarget(o)}}}},2085:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=(r(n(1376)),["canDrop","hover","drop"]);t.default=function(e){Object.keys(e).forEach((function(t){o.default(a.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',a.join(", "),t),o.default("function"===typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",t,t,e[t])}));var t=function(){function t(e){this.monitor=e,this.props=null,this.component=null}return t.prototype.receiveProps=function(e){this.props=e},t.prototype.receiveMonitor=function(e){this.monitor=e},t.prototype.receiveComponent=function(e){this.component=e},t.prototype.canDrop=function(){return!e.canDrop||e.canDrop(this.props,this.monitor)},t.prototype.hover=function(){e.hover&&e.hover(this.props,this.monitor,this.component)},t.prototype.drop=function(){if(e.drop)return e.drop(this.props,this.monitor,this.component)},t}();return function(e){return new t(e)}}},2086:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=!1,i=function(){function e(e){this.internalMonitor=e.getMonitor()}return e.prototype.receiveHandlerId=function(e){this.targetId=e},e.prototype.canDrop=function(){o.default(!a,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return a=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{a=!1}
2},e.prototype.isOver=function(e){return this.internalMonitor.isOverTarget(this.targetId,e)},e.prototype.getItemType=function(){return this.internalMonitor.getItemType()},e.prototype.getItem=function(){return this.internalMonitor.getItem()},e.prototype.getDropResult=function(){return this.internalMonitor.getDropResult()},e.prototype.didDrop=function(){return this.internalMonitor.didDrop()},e.prototype.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},e.prototype.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},e.prototype.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},e.prototype.getClientOffset=function(){return this.internalMonitor.getClientOffset()},e.prototype.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}();t.TargetMonitor=i,t.default=function(e){return new i(e)}},2087:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1768)),a=n(1428);t.default=function(e){var t,n,r,i;function s(){i&&(i(),i=void 0),t&&n&&(i=e.connectDropTarget(t,n,r))}return{receiveHandlerId:function(e){e!==t&&(t=e,s())},hooks:o.default({dropTarget:function(e,t){e===n&&a(t,r)||(n=e,r=t,s())}})}}},2088:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var o,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(i=(a<3?o(i):a>3?o(t,n,i):o(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(2089)),s=o(n(2090)),c=n(1770),u=n(2091),l=n(2093),d=a(n(1656)),p=o(n(2094)),f=n(1428),h=function(){function e(e){this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new s.default,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.context=e.getContext()}return Object.defineProperty(e.prototype,"window",{get:function(){return this.context&&this.context.window?this.context.window:"undefined"!==typeof window?window:void 0},enumerable:!0,configurable:!0}),e.prototype.setup=function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}},e.prototype.teardown=function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))},e.prototype.connectDragPreview=function(e,t,n){var r=this;return this.sourcePreviewNodeOptions[e]=n,this.sourcePreviewNodes[e]=t,function(){delete r.sourcePreviewNodes[e],delete r.sourcePreviewNodeOptions[e]}},e.prototype.connectDragSource=function(e,t,n){var r=this;this.sourceNodes[e]=t,this.sourceNodeOptions[e]=n;var o=function(t){return r.handleDragStart(t,e)},a=function(e){return r.handleSelectStart(e)};return t.setAttribute("draggable",!0),t.addEventListener("dragstart",o),t.addEventListener("selectstart",a),function(){delete r.sourceNodes[e],delete r.sourceNodeOptions[e],t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",a),t.setAttribute("draggable",!1)}},e.prototype.connectDropTarget=function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},o=function(t){return n.handleDragOver(t,e)},a=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",o),t.addEventListener("drop",a),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",o),t.removeEventListener("drop",a)}},e.prototype.addEventListeners=function(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))},e.prototype.removeEventListeners=function(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))},e.prototype.getCurrentSourceNodeOptions=function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions[e];return i.default(t||{},{dropEffect:this.altKeyPressed?"copy":"move"})},e.prototype.getCurrentDropEffect=function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect},e.prototype.getCurrentSourcePreviewNodeOptions=function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions[e];return i.default(t||{}
2,{anchorX:.5,anchorY:.5,captureDraggingState:!1})},e.prototype.getSourceClientOffset=function(e){return u.getNodeClientOffset(this.sourceNodes[e])},e.prototype.isDraggingNativeItem=function(){var e=this.monitor.getItemType();return Object.keys(d).some((function(t){return d[t]===e}))},e.prototype.beginDragNativeItem=function(e){this.clearCurrentDragSourceNode();var t=l.createNativeDragSource(e);this.currentNativeSource=new t,this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])},e.prototype.asyncEndDragNativeItem=function(){this.window&&(this.asyncEndDragFrameId=this.window.requestAnimationFrame(this.endDragNativeItem))},e.prototype.endDragNativeItem=function(){this.isDraggingNativeItem()&&(this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},e.prototype.isNodeInDocument=function(e){return!!document&&document.body.contains(e)||!!this.window&&this.window.document.body.contains(e)},e.prototype.endDragIfSourceWasRemovedFromDOM=function(){var e=this.currentDragSourceNode;this.isNodeInDocument(e)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()},e.prototype.setCurrentDragSourceNode=function(e){var t=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.currentDragSourceNodeOffset=u.getNodeClientOffset(e),this.currentDragSourceNodeOffsetChanged=!1;this.mouseMoveTimeoutTimer=setTimeout((function(){return t.mouseMoveTimeoutId=null,t.window&&t.window.addEventListener("mousemove",t.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)},e.prototype.clearCurrentDragSourceNode=function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.window&&(this.window.clearTimeout(this.mouseMoveTimeoutTimer),this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0)},e.prototype.checkIfCurrentDragSourceRectChanged=function(){var e=this.currentDragSourceNode;return!!e&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!f(u.getNodeClientOffset(e),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))},e.prototype.handleTopDragStartCapture=function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},e.prototype.handleDragStart=function(e,t){this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t)},e.prototype.handleTopDragStart=function(e){var t=this,n=this.dragStartSourceIds;this.dragStartSourceIds=null;var r=u.getEventClientOffset(e);this.monitor.isDragging()&&this.actions.endDrag(),this.actions.beginDrag(n||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,a=l.matchNativeItemType(o);if(this.monitor.isDragging()){if("function"===typeof o.setDragImage){var i=this.monitor.getSourceId(),s=this.sourceNodes[i],c=this.sourcePreviewNodes[i]||s,d=this.getCurrentSourcePreviewNodeOptions(),p={anchorX:d.anchorX,anchorY:d.anchorY},f={offsetX:d.offsetX,offsetY:d.offsetY},h=u.getDragPreviewOffset(s,c,r,p,f);o.setDragImage(c,h.x,h.y)}try{o.setData("application/json",{})}catch(g){}this.setCurrentDragSourceNode(e.target),this.getCurrentSourcePreviewNodeOptions().captureDraggingState?this.actions.publishDragSource():setTimeout((function(){return t.actions.publishDragSource()}),0)}else if(a)this.beginDragNativeItem(a);else{if(!(o.types||e.target.hasAttribute&&e.target.hasAttribute("draggable")))return;e.preventDefault()}},e.prototype.handleTopDragEndCapture=function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()},e.prototype.handleTopDragEnterCapture=function(e){if(this.dragEnterTargetIds=[],this.enterLeaveCounter.enter(e.target)&&!this.monitor.isDragging()){var t=e.dataTransfer,n=l.matchNativeItemType(t);n&&this.beginDragNativeItem(n)}},e.prototype.handleDragEnter=function(e,t){this.dragEnterTargetIds.unshift(t)},e.prototype.handleTopDragEnter=function(e){var t=this,n=this.dragEnterTargetIds;
2(this.dragEnterTargetIds=[],this.monitor.isDragging())&&(this.altKeyPressed=e.altKey,c.isFirefox()||this.actions.hover(n,{clientOffset:u.getEventClientOffset(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))&&(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()))},e.prototype.handleTopDragOverCapture=function(){this.dragOverTargetIds=[]},e.prototype.handleDragOver=function(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)},e.prototype.handleTopDragOver=function(e){var t=this,n=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer.dropEffect="none");this.altKeyPressed=e.altKey,this.actions.hover(n||[],{clientOffset:u.getEventClientOffset(e)}),(n||[]).some((function(e){return t.monitor.canDropOnTarget(e)}))?(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(e.preventDefault(),e.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(e.preventDefault(),e.dataTransfer.dropEffect="move")},e.prototype.handleTopDragLeaveCapture=function(e){this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&this.isDraggingNativeItem()&&this.endDragNativeItem()},e.prototype.handleTopDropCapture=function(e){this.dropTargetIds=[],e.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer),this.enterLeaveCounter.reset()},e.prototype.handleDrop=function(e,t){this.dropTargetIds.unshift(t)},e.prototype.handleTopDrop=function(e){var t=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:u.getEventClientOffset(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()},e.prototype.handleSelectStart=function(e){var t=e.target;"function"===typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))},r([p.default],e.prototype,"getSourceClientOffset",null),r([p.default],e.prototype,"asyncEndDragNativeItem",null),r([p.default],e.prototype,"endDragNativeItem",null),r([p.default],e.prototype,"isNodeInDocument",null),r([p.default],e.prototype,"endDragIfSourceWasRemovedFromDOM",null),r([p.default],e.prototype,"handleTopDragStartCapture",null),r([p.default],e.prototype,"handleTopDragStart",null),r([p.default],e.prototype,"handleTopDragEndCapture",null),r([p.default],e.prototype,"handleTopDragEnterCapture",null),r([p.default],e.prototype,"handleTopDragEnter",null),r([p.default],e.prototype,"handleTopDragOverCapture",null),r([p.default],e.prototype,"handleTopDragOver",null),r([p.default],e.prototype,"handleTopDragLeaveCapture",null),r([p.default],e.prototype,"handleTopDropCapture",null),r([p.default],e.prototype,"handleTopDrop",null),r([p.default],e.prototype,"handleSelectStart",null),e}();t.default=h},2089:function(e,t,n){var r=n(1422),o=n(1438),a=n(1549),i=n(1607),s=Object.prototype,c=s.hasOwnProperty,u=r((function(e,t){e=Object(e);var n=-1,r=t.length,u=r>2?t[2]:void 0;for(u&&a(t[0],t[1],u)&&(r=1);++n<r;)for(var l=t[n],d=i(l),p=-1,f=d.length;++p<f;){var h=d[p],g=e[h];(void 0===g||o(g,s[h])&&!c.call(e,h))&&(e[h]=l[h])}return e}));e.exports=u},2090:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1645)),a=r(n(1652)),i=function(){function e(){this.entered=[]}return e.prototype.enter=function(e){var t=this.entered.length;return this.entered=o.default(this.entered.filter((function(t){return document.documentElement.contains(t)&&(!t.contains||t.contains(e))})),[e]),0===t&&this.entered.length>0},e.prototype.leave=function(e){var t=this.entered.length;return this.entered=a.default(this.entered.filter((function(e){return document.documentElement.contains(e)})),e),t>0&&0===this.entered.length},e.prototype.reset=function(){this.entered=[]},e}();t.default=i},2091:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
2dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1770),a=r(n(2092));function i(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}t.getNodeClientOffset=i,t.getEventClientOffset=function(e){return{x:e.clientX,y:e.clientY}},t.getDragPreviewOffset=function(e,t,n,r,s){var c,u="IMG"===(c=t).nodeName&&(o.isFirefox()||!document.documentElement.contains(c)),l=i(u?e:t),d={x:n.x-l.x,y:n.y-l.y},p=e.offsetWidth,f=e.offsetHeight,h=r.anchorX,g=r.anchorY,v=function(e,t,n,r){var a=e?t.width:n,i=e?t.height:r;return o.isSafari()&&e&&(i/=window.devicePixelRatio,a/=window.devicePixelRatio),{dragPreviewWidth:a,dragPreviewHeight:i}}(u,t,p,f),_=v.dragPreviewWidth,y=v.dragPreviewHeight,m=s.offsetX,b=s.offsetY,O=0===b||b;return{x:0===m||m?m:new a.default([0,.5,1],[d.x,d.x/p*_,d.x+_-p]).interpolate(h),y:O?b:function(){var e=new a.default([0,.5,1],[d.y,d.y/f*y,d.y+y-f]).interpolate(g);return o.isSafari()&&u&&(e+=(window.devicePixelRatio-1)*y),e}()}}},2092:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=e.length,r=[],o=0;o<n;o++)r.push(o);r.sort((function(t,n){return e[t]<e[n]?-1:1}));var a,i,s=[],c=[],u=[];for(o=0;o<n-1;o++)a=e[o+1]-e[o],i=t[o+1]-t[o],c.push(a),s.push(i),u.push(i/a);var l=[u[0]];for(o=0;o<c.length-1;o++){var d=u[o],p=u[o+1];if(d*p<=0)l.push(0);else{a=c[o];var f=c[o+1],h=a+f;l.push(3*h/((h+f)/d+(h+a)/p))}}l.push(u[u.length-1]);var g,v=[],_=[];for(o=0;o<l.length-1;o++){g=u[o];var y=l[o],m=1/c[o];h=y+l[o+1]-g-g;v.push((g-y-h)*m),_.push(h*m*m)}this.xs=e,this.ys=t,this.c1s=l,this.c2s=v,this.c3s=_}return e.prototype.interpolate=function(e){var t=this,n=t.xs,r=t.ys,o=t.c1s,a=t.c2s,i=t.c3s,s=n.length-1;if(e===n[s])return r[s];for(var c,u=0,l=i.length-1;u<=l;){var d=n[c=Math.floor(.5*(u+l))];if(d<e)u=c+1;else{if(!(d>e))return r[c];l=c-1}}var p=e-n[s=Math.max(0,l)],f=p*p;return r[s]+o[s]*p+a[s]*f+i[s]*p*f},e}();t.default=r},2093:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1656));function a(e,t,n){var r=t.reduce((function(t,n){return t||e.getData(n)}),null);return null!=r?r:n}var i,s=((i={})[o.FILE]={exposeProperty:"files",matchesTypes:["Files"],getData:function(e){return Array.prototype.slice.call(e.files)}},i[o.URL]={exposeProperty:"urls",matchesTypes:["Url","text/uri-l
2ist"],getData:function(e,t){return a(e,t,"").split("\n")}},i[o.TEXT]={exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(e,t){return a(e,t,"")}},i);t.createNativeDragSource=function(e){var t=s[e],n=t.exposeProperty,r=t.matchesTypes,o=t.getData;return function(){function e(){var e;this.item=(e={},Object.defineProperty(e,n,{get:function(){return console.warn("Browser doesn't allow reading \""+n+'" until the drop event.'),null},enumerable:!0,configurable:!0}),e)}return e.prototype.mutateItemByReadingDataTransfer=function(e){delete this.item[n],this.item[n]=o(e,r)},e.prototype.canDrag=function(){return!0},e.prototype.beginDrag=function(){return this.item},e.prototype.isDragging=function(e,t){return t===e.getSourceId()},e.prototype.endDrag=function(){},e}()},t.matchNativeItemType=function(e){var t=Array.prototype.slice.call(e.types||[]);return Object.keys(s).filter((function(e){return s[e].matchesTypes.some((function(e){return t.indexOf(e)>-1}))}))[0]||null}},2094:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){var o=n.value;if("function"!==typeof o)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(r(o)));var a=!1;return{configurable:!0,get:function(){if(a||this===e.prototype||this.hasOwnProperty(t)||"function"!==typeof o)return o;var n=o.bind(this);return a=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return n},set:function(e){o=e,delete this[t]}}),a=!1,n},set:function(e){o=e}}}function a(e){var t;return"undefined"!==typeof Reflect&&"function"===typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var n=Object.getOwnPropertyDescriptor(e.prototype,t);"function"===typeof n.value&&Object.defineProperty(e.prototype,t,o(e,t,n))}})),e}function i(){return 1===arguments.length?a.apply(void 0,arguments):o.apply(void 0,arguments)}n.r(t),n.d(t,"boundMethod",(function(){return o})),n.d(t,"boundClass",(function(){return a})),n.d(t,"default",(function(){return i}))},2095:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r||((r=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r}},2096:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TouchBackend=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(t){return new v(t,e)};return e.getMonitor?t(e):t};var a,i=n(100),s=(a=i)&&a.__esModule?a:{default:a};function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e){return e.targetTouches?function(e){if(1===e.targetTouches.length)return u(e.targetTouches[0])}(e):{x:e.clientX,y:e.clientY}}var l=1,d=0;function p(e){return void 0===e.button||e.button===d}var f=("undefined"!==typeof document&&document.elementsFromPoint||function(e,t){if(document.msElementsFromPoint){var n=document.msElementsFromPoint(e,t);return n&&Array.prototype.slice.call(n,0)}for(var r,o,a,i=[],s=[];(r=document.elementFromPoint(e,t))&&-1===i.indexOf(r)&&null!==r;)i.push(r),s.push({value:r.style.getPropertyValue("pointer-events"),priority:r.style.getPropertyPriority("pointer-events")}),r.style.setProperty("pointer-events","none","important");for(o=s.length;a=s[--o];)i[o].style.setProperty("pointer-events",a.value?a.value:"",a.priority);return i}).bind("undefined"!==typeof document?document:null),h=function(){var e=!1;try{addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){e=!0}}))}catch(t){}return e}();
2var g={mouse:{start:"mousedown",move:"mousemove",end:"mouseup",contextmenu:"contextmenu"},touch:{start:"touchstart",move:"touchmove",end:"touchend"},keyboard:{keydown:"keydown"}},v=t.TouchBackend=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c(this,e),n.delayTouchStart=n.delayTouchStart||n.delay,n=r({enableTouchEvents:!0,enableMouseEvents:!1,enableKeyboardEvents:!1,ignoreContextMenu:!1,delayTouchStart:0,delayMouseStart:0,touchSlop:0},n),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enableKeyboardEvents=n.enableKeyboardEvents,this.enableMouseEvents=n.enableMouseEvents,this.delayTouchStart=n.delayTouchStart,this.delayMouseStart=n.delayMouseStart,this.ignoreContextMenu=n.ignoreContextMenu,this.touchSlop=n.touchSlop,this.sourceNodes={},this.sourceNodeOptions={},this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.targetNodes={},this.targetNodeOptions={},this.listenerTypes=[],this._mouseClientOffset={},n.enableMouseEvents&&this.listenerTypes.push("mouse"),n.enableTouchEvents&&this.listenerTypes.push("touch"),n.enableKeyboardEvents&&this.listenerTypes.push("keyboard"),this.getSourceClientOffset=this.getSourceClientOffset.bind(this),this.handleTopMoveStart=this.handleTopMoveStart.bind(this),this.handleTopMoveStartDelay=this.handleTopMoveStartDelay.bind(this),this.handleTopMoveStartCapture=this.handleTopMoveStartCapture.bind(this),this.handleTopMoveCapture=this.handleTopMoveCapture.bind(this),this.handleTopMove=this.handleTopMove.bind(this),this.handleTopMoveEndCapture=this.handleTopMoveEndCapture.bind(this),this.handleCancelOnEscape=this.handleCancelOnEscape.bind(this)}return o(e,[{key:"setup",value:function(){"undefined"!==typeof window&&((0,s.default)(!this.constructor.isSetUp,"Cannot have two Touch backends at the same time."),this.constructor.isSetUp=!0,this.addEventListener(window,"start",this.getTopMoveStartHandler()),this.addEventListener(window,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(window,"move",this.handleTopMove),this.addEventListener(window,"move",this.handleTopMoveCapture,!0),this.addEventListener(window,"end",this.handleTopMoveEndCapture,!0),this.enableMouseEvents&&!this.ignoreContextMenu&&this.addEventListener(window,"contextmenu",this.handleTopMoveEndCapture),this.enableKeyboardEvents&&this.addEventListener(window,"keydown",this.handleCancelOnEscape,!0))}},{key:"teardown",value:function(){"undefined"!==typeof window&&(this.constructor.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(window,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(window,"start",this.handleTopMoveStart),this.removeEventListener(window,"move",this.handleTopMoveCapture,!0),this.removeEventListener(window,"move",this.handleTopMove),this.removeEventListener(window,"end",this.handleTopMoveEndCapture,!0),this.enableMouseEvents&&!this.ignoreContextMenu&&this.removeEventListener(window,"contextmenu",this.handleTopMoveEndCapture),this.enableKeyboardEvents&&this.removeEventListener(window,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}},{key:"addEventListener",value:function(e,t,n,r){var o=h?{capture:r,passive:!1}:r;this.listenerTypes.forEach((function(r){var a=g[r][t];a&&e.addEventListener(a,n,o)}))}},{key:"removeEventListener",value:function(e,t,n,r){var o=h?{capture:r,passive:!1}:r;this.listenerTypes.forEach((function(r){var a=g[r][t];a&&e.removeEventListener(a,n,o)}))}},{key:"connectDragSource",value:function(e,t,n){var r=this,o=this.handleMoveStart.bind(this,e);return this.sourceNodes[e]=t,this.addEventListener(t,"start",o),function(){delete r.sourceNodes[e],r.removeEventListener(t,"start",o)}}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions[e]=n,this.sourcePreviewNodes[e]=t,function(){delete r.sourcePreviewNodes[e],delete r.sourcePreviewNodeOptions[e]}}},{key:"connectDropTarget",value:function(e,t){var n=this,r=function(r){var o=void 0;if(n.monitor.isDragging()){switch(r.type){case g.mouse.move:o={x:r.clientX,y:r.clientY};break;case g.touch.move:o={x:r.touches[0].clientX,y:r.touches[0].clientY}}var a=document.elementFromPoint(o.x,o.y),i=t.contains(a);return a===t||i?n.handleMove(r,e):void 0}};return this.addEventListener(document.querySelector("body"),"move",r),this.targetNodes[e]=t,function(){delete n.targetNodes[e],n.removeEventListener(document.querySelector("body"),"move",r)}}},{key:"getSourceClientOffset",value:function(e){return function(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}(this.sourceNodes[e])}},{key:"handleTopMoveStartCapture",value:function(e){p(e)&&(this.moveStartSourceIds=[])}},{key:"handleMoveStart",value:function(e){Array.isArray(this.moveStartSourceIds)&&this.moveStartSourceIds.unshift(e)}},{key:"getTopMoveStartHandler",value:function(){return this.delayTouchStart||this.delayMouseStart?this.handleTopMoveStartDelay:this.handleTopMoveStart}},{key:"handleTopMoveStart",value:function(e){if(p(e)){var t=u(e);t&&(this._mouseClientOffset=t),this.waitingForDelay=!1}}},{key:"handleTopMoveStartDelay",value:function(e){if(p(e)){var t=e.type===g.touch.start?this.delayTouchStart:this.delayMouseStart;this.timeout=setTimeout(this.handleTopMoveStart.bind(this,e),t),this.waitingForDelay=!0}}},{key:"handleTopMoveCapture",value:function(e){this.dragOverTargetIds=[]}},{key:"handleMove",value:function(e,t){this.dragOverTargetIds.unshift(t)}},{key:"handleTopMove",value:function(e){var t=this;if(clearTimeout(this.timeout),!this.waitingForDelay){var n,r,o,a,i=this.moveStartSourceIds,s=this.dragOverTargetIds,c=u(e);if(c)if(!this.monitor.isDragging()&&this._mouseClientOffset.hasOwnProperty("x")&&i&&(n=this._mouseClientOffset.x,r=this._mouseClientOffset.y,o=c.x,a=c.y,Math.sqrt(Math.pow(Math.abs(o-n),2)+Math.pow(Math.abs(a-r),2))>(this.touchSlop?this.touchSlop:0))&&(this.moveStartSourceIds=null,this.actions.beginDrag(i,{clientOffset:this._mouseClientOffset,getSourceClientOffset:this.getSourceClientOffset,publishSource:!1})),this.monitor.isDragging()){var l=this.sourceNodes[this.monitor.getSourceId()];this.installSourceNodeRemovalObserver(l),this.actions.publishDragSource(),e.preventDefault();var d=s.map((function(e){return t.targetNodes[e]})),p=f(c.x,c.y),h=[];for(var g in p){var v=p[g];for(h.push(v);v&&v.ownerSVGElement;)v=v.parentElement,h.includes(v)||h.push(v)}var _=h.filter((function(e){return d.indexOf(e)>-1})).map((function(e){for(var n in t.targetNodes)if(e===t.targetNodes[n])return n;return null})).filter((function(e){return!!e})).filter((function(e,t,n){return n.indexOf(e)===t}));_.reverse(),this.actions.hover(_,{clientOffset:c})}}}},{key:"handleTopMoveEndCapture",value:function(e){(function(e){return void 0===e.buttons||0===(e.buttons&l)})(e)&&(this.monitor.isDragging()&&!this.monitor.didDrop()?(e.preventDefault(),this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.drop(),this.actions.endDrag(
2)):this.moveStartSourceIds=null)}},{key:"handleCancelOnEscape",value:function(e){"Escape"===e.key&&(this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.endDrag())}},{key:"handleOnContextMenu",value:function(){this.moveStartSourceIds=null}},{key:"installSourceNodeRemovalObserver",value:function(e){var t=this;this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=e,this.draggedSourceNodeRemovalObserver=new window.MutationObserver((function(){e.parentElement||(t.resurrectSourceNode(),t.uninstallSourceNodeRemovalObserver())})),e&&e.parentElement&&this.draggedSourceNodeRemovalObserver.observe(e.parentElement,{childList:!0})}},{key:"resurrectSourceNode",value:function(){this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),document.body.appendChild(this.draggedSourceNode)}},{key:"uninstallSourceNodeRemovalObserver",value:function(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=null,this.draggedSourceNode=null}}]),e}()},2097:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTransition=t.TouchTransition=t.HTML5DragTransition=t.Preview=void 0;var r=n(2098),o=i(r),a=i(n(2102));function i(e){return e&&e.__esModule?e:{default:e}}t.Preview=a.default,t.HTML5DragTransition=r.HTML5DragTransition,t.TouchTransition=r.TouchTransition,t.createTransition=r.createTransition,t.default=o.default},2098:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTML5DragTransition",{enumerable:!0,get:function(){return o.HTML5DragTransition}}),Object.defineProperty(t,"TouchTransition",{enumerable:!0,get:function(){return o.TouchTransition}}),Object.defineProperty(t,"MouseTransition",{enumerable:!0,get:function(){return o.MouseTransition}}),Object.defineProperty(t,"createTransition",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"MultiBackend",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"PreviewManager",{enumerable:!0,get:function(){return i.PreviewManager}}),t.default=void 0;var r,o=n(2099),a=(r=n(1771))&&r.__esModule?r:{default:r},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(2100));t.default=function(e){return e.getMonitor?new i.default(e):function(t){return new i.default(t,e)}}},2099:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MouseTransition=t.HTML5DragTransition=t.TouchTransition=void 0;var r,o=(r=n(1771))&&r.__esModule?r:{default:r};var a=(0,o.default)("touchstart",(function(e){return null!=e.touches}));t.TouchTransition=a;var i=(0,o.default)("dragstart",(function(e){return!!e.type&&(-1!==e.type.indexOf("drag")||-1!==e.type.indexOf("drop"))}));t.HTML5DragTransition=i;var s=(0,o.default)("mousedown",(function(e){return!!e.type&&(-1===e.type.indexOf("touch")&&-1!==e.type.indexOf("mouse"))}));t.MouseTransition=s},2100:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PreviewManager=void 0;var r,o=(r=n(2101))&&r.__esModule?r:{default:r};function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=new function e(){var t=this;i(this,e),this.register=function(e){t.previews.push(e)},this.unregister=function(e){for(var n;-1!==(n=t.previews.indexOf(e));)t.previews.splice(n,1)},this.backendChanged=function(e){var n=!0,r=!1,o=void 0;try{for(var a,i=t.previews[Symbol.iterator]();!(n=(a=i.next()).done);
2n=!0){a.value.backendChanged(e)}}catch(s){r=!0,o=s}finally{try{n||null==i.return||i.return()}finally{if(r)throw o}}},this.previews=[]};t.PreviewManager=s;t.default=function e(t,n){var r=this;i(this,e),this.setup=function(){if("undefined"!==typeof window){if(r.constructor.isSetUp)throw new Error("Cannot have two MultiBackends at the same time.");r.constructor.isSetUp=!0,r.addEventListeners(window),r.backends[r.current].instance.setup()}},this.teardown=function(){"undefined"!==typeof window&&(r.constructor.isSetUp=!1,r.removeEventListeners(window),r.backends[r.current].instance.teardown())},this.connectDragSource=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.connectBackend("connectDragSource",t)},this.connectDragPreview=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.connectBackend("connectDragPreview",t)},this.connectDropTarget=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.connectBackend("connectDropTarget",t)},this.previewEnabled=function(){return r.backends[r.current].preview},this.addEventListeners=function(e){r.backends.forEach((function(t){t.transition&&e.addEventListener(t.transition.event,r.backendSwitcher,!0)}))},this.removeEventListeners=function(e){r.backends.forEach((function(t){t.transition&&e.removeEventListener(t.transition.event,r.backendSwitcher,!0)}))},this.backendSwitcher=function(e){var t=r.current,n=0;if(r.backends.some((function(t){return n!==r.current&&t.transition&&t.transition.check(e)?(r.current=n,!0):(n+=1,!1)})),r.current!==t){r.backends[t].instance.teardown(),Object.keys(r.nodes).forEach((function(e){var t=r.nodes[e];t.handler(),t.handler=r.callBackend(t.func,t.args)})),s.backendChanged(r);var o=r.backends[r.current];if(o.instance.setup(),o.skipDispatchOnTransition)return;var a=null;try{a=new e.constructor(e.type,e)}catch(i){(a=document.createEvent("Event")).initEvent(e.type,e.bubbles,e.cancelable)}e.target.dispatchEvent(a)}},this.callBackend=function(e,t){var n;return(n=r.backends[r.current].instance)[e].apply(n,a(t))},this.connectBackend=function(e,t){var n="".concat(e,"_").concat(t[0]),o=r.callBackend(e,t);return r.nodes[n]={func:e,args:t,handler:o},function(){var e,t=(e=r.nodes[n]).handler.apply(e,arguments);return delete r.nodes[n],t}};var c=(0,o.default)({backends:[]},n||{});if(c.backends.length<1)throw new Error("You must specify at least one Backend, if you are coming from 2.x.x (or don't understand this error)\n        see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-2xx");this.current=0,this.backends=[],c.backends.forEach((function(e){if(!e.backend)throw new Error("You must specify a 'backend' property in your Backend entry: ".concat(e));var n=e.transition;if(n&&!n._isMBTransition)throw new Error("You must specify a valid 'transition' property (either undefined or the return of 'createTransition') in your Backend entry: ".concat(e));r.backends.push({instance:new e.backend(t),preview:e.preview||!1,transition:n,skipDispatchOnTransition:Boolean(e.skipDispatchOnTransition)})})),this.nodes={}}},2101:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach((function(t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})),e}},2102:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o,a,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(1440),c=d(s),u=d(n(1470)),l=d(n(2106));function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var h=(0,n(1772).DragLayer)((function(e){return{isDragging:e.isDragging()}}))((a=o=function(e){function t(){return p(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){return this.context.dragDropManager.getBackend().previewEnabled()?c.default.createElement(l.default,this.props):null}}]),t}(s.PureComponent),o.propTypes={generator:u.default.func.isRequired},o.contextTypes={dragDropManager:u.default.object},r=a))||r;t.default=h},2103:function(e,t,n){"use strict";var r=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator;var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,_={};function y(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||g}function m(){}function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=y.prototype;var O=b.prototype=new m;O.constructor=b,v(O,y.prototype),O.isPureReactComponent=!0;var E=Array.isArray,S=Object.prototype.hasOwnProperty,T={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function D(e,t,n){var o,a={},i=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)S.call(t,o)&&!C.hasOwnProperty(o)&&(a[o]=t[o]);var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];a.children=u}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===a[o]&&(a[o]=c[o]);return{$$typeof:r,type:e,key:i,ref:s,props:a,_owner:T.current}}function N(e){return"object"===typeof e&&null!==e&&e.$$typeof===r}var R=/\/+/g;function A(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function I(e,t,n,a,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var c=!1;if(null===e)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case r:case o:c=!0}}if(c)return i=i(c=e),e=""===a?"."+A(c,0):a,E(i)?(n="",null!=e&&(n=e.replace(R,"$&/")+"/"),I(i,t,n,"",(function(e){return e}))):null!=i&&(N(i)&&(i=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,n+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(R,"$&/")+"/")+e)),t.push(i)),1;if(c=0,a=""===a?".":a+":",E(e))for(var u=0;u<e.length;u++){var l=a+A(s=e[u],u);c+=I(s,t,n,l,i)}else if(l=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"===typeof l)for(e=l.call(e),u=0;!(s=e.next()).done;)c+=I(s=s.value,t,n,l=a+A(s,u++),i);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return c}function M(e,t,n){if(null==e)return e;var r=[],o=0;return I(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function w(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},k={transition:null},x={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:k,ReactCurrentOwner:T};
2t.Children={map:M,forEach:function(e,t,n){M(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return M(e,(function(){t++})),t},toArray:function(e){return M(e,(function(e){return e}))||[]},only:function(e){if(!N(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=s,t.PureComponent=b,t.StrictMode=i,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=x,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=v({},e.props),a=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=T.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)S.call(t,u)&&!C.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){c=Array(u);for(var l=0;l<u;l++)c[l]=arguments[l+2];o.children=c}return{$$typeof:r,type:e.type,key:a,ref:i,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=D,t.createFactory=function(e){var t=D.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=N,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:w}},t.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=k.transition;k.transition={};try{e()}finally{k.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return P.current.useCallback(e,t)},t.useContext=function(e){return P.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return P.current.useDeferredValue(e)},t.useEffect=function(e,t){return P.current.useEffect(e,t)},t.useId=function(){return P.current.useId()},t.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return P.current.useMemo(e,t)},t.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},t.useRef=function(e){return P.current.useRef(e)},t.useState=function(e){return P.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return P.current.useTransition()},t.version="18.2.0"},2104:function(e,t,n){"use strict";var r=n(2105);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},2105:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2106:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o,a,i,s=n(1440),c=(r=n(1470))&&r.__esModule?r:{default:r};function u(e){return u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}
2function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}var g=(0,n(1772).DragLayer)((function(e){return{currentOffset:e.getSourceClientOffset(),isDragging:e.isDragging(),itemType:e.getItemType(),item:e.getItem()}}))((i=a=function(e){function t(){return l(this,t),p(this,f(t).apply(this,arguments))}var n,r,o;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),n=t,(r=[{key:"getStyle",value:function(){var e="translate(".concat(this.props.currentOffset.x,"px, ").concat(this.props.currentOffset.y,"px)");return{pointerEvents:"none",position:"fixed",top:0,left:0,transform:e,WebkitTransform:e}}},{key:"render",value:function(){return this.props.isDragging&&null!==this.props.currentOffset?this.props.generator(this.props.itemType,this.props.item,this.getStyle()):null}}])&&d(n.prototype,r),o&&d(n,o),t}(s.PureComponent),a.defaultProps={currentOffset:{x:0,y:0},isDragging:!1,itemType:"",item:{}},a.propTypes={currentOffset:c.default.shape({x:c.default.number,y:c.default.number}),isDragging:c.default.bool,itemType:c.default.string,item:c.default.any,generator:c.default.func.isRequired},o=i))||o;t.default=g},2107:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(1774)),r(n(2108))},2108:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2109));t.createDragDropManager=function(e,t){return new o.default(e,t)}},2109:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(472),a=r(n(2110)),i=r(n(1568)),s=r(n(2116)),c=r(n(2118)),u=function(){function e(e,t){void 0===t&&(t={}),this.context=t,this.isSetUp=!1;var n=o.createStore(a.default);this.store=n,this.monitor=new s.default(n,new c.default(n)),this.backend=e(this),n.subscribe(this.handleRefCountChange.bind(this))}return e.prototype.getContext=function(){return this.context},e.prototype.getMonitor=function(){return this.monitor},e.prototype.getBackend=function(){return this.backend},e.prototype.getRegistry=function(){return this.monitor.registry},e.prototype.getActions=function(){var e=this,t=this.store.dispatch;var n=i.default(this);return Object.keys(n).reduce((function(r,o){var a,i=n[o];return r[o]=(a=i,function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=a.apply(e,n);"undefined"!==typeof o&&t(o)}),r}),{})},e.prototype.dispatch=function(e){this.store.dispatch(e)},e.prototype.handleRefCountChange=function(){var e=this.store.getState().refCount>0;e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1)},e}();t.default=u},2110:function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(1560)),i=o(n(2111)),s=o(n(2112)),c=o(n(2113)),u=o(n(2114)),l=o(n(2115));t.default=function(e,t){return void 0===e&&(e={}),{dirtyHandlerIds:u.default(e.dirtyHandlerIds,{type:t.type,payload:r({},t.payload,{prevTargetIds:a.default(e,"dragOperation.targetIds",[])})}),dragOffset:i.default(e.dragOffset,t),refCount:c.default(e.refCount,t),dragOperation:s.default(e.dragOperation,t),stateId:l.default(e.stateId)}}},2111:function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1568),a=n(1776),i={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};t.default=function(e,t){void 0===e&&(e=i);var n=t.payload;switch(t.type){case o.BEGIN_DRAG:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case o.HOVER:return a.areCoordsEqual(e.clientOffset,n.clientOffset)?e:r({},e,{clientOffset:n.clientOffset});case o.END_DRAG:case o.DROP:return i;default:return e}}},2112:function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}
2,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(1652)),i=n(1568),s=n(1569),c={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};t.default=function(e,t){void 0===e&&(e=c);var n=t.payload;switch(t.type){case i.BEGIN_DRAG:return r({},e,{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case i.PUBLISH_DRAG_SOURCE:return r({},e,{isSourcePublic:!0});case i.HOVER:return r({},e,{targetIds:n.targetIds});case s.REMOVE_TARGET:return-1===e.targetIds.indexOf(n.targetId)?e:r({},e,{targetIds:a.default(e.targetIds,n.targetId)});case i.DROP:return r({},e,{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case i.END_DRAG:return r({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}},2113:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1569);t.default=function(e,t){switch(void 0===e&&(e=0),t.type){case r.ADD_SOURCE:case r.ADD_TARGET:return e+1;case r.REMOVE_SOURCE:case r.REMOVE_TARGET:return e-1;default:return e}}},2114:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1762)),a=n(1568),i=n(1569),s=n(1776),c=n(1777);t.default=function(e,t){switch(void 0===e&&(e=c.NONE),t.type){case a.HOVER:break;case i.ADD_SOURCE:case i.ADD_TARGET:case i.REMOVE_TARGET:case i.REMOVE_SOURCE:return c.NONE;case a.BEGIN_DRAG:case a.PUBLISH_DRAG_SOURCE:case a.END_DRAG:case a.DROP:default:return c.ALL}var n=t.payload,r=n.targetIds,u=void 0===r?[]:r,l=n.prevTargetIds,d=void 0===l?[]:l,p=o.default(u,d);if(!(p.length>0||!s.areArraysEqual(u,d)))return c.NONE;var f=d[d.length-1],h=u[u.length-1];return f!==h&&(f&&p.push(f),h&&p.push(h)),p}},2115:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return void 0===e&&(e=0),e+1}},2116:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=r(n(1353)),i=r(n(1775)),s=n(2117),c=n(1777),u=function(){function e(e,t){this.store=e,this.registry=t}return e.prototype.subscribeToStateChange=function(e,t){var n=this;void 0===t&&(t={handlerIds:void 0});var r=t.handlerIds;o.default("function"===typeof e,"listener must be a function."),o.default("undefined"===typeof r||a.default(r),"handlerIds, when specified, must be an array of strings.");var i=this.store.getState().stateId;return this.store.subscribe((function(){var t=n.store.getState(),o=t.stateId;try{o===i||o===i+1&&!c.areDirty(t.dirtyHandlerIds,r)||e()}finally{i=o}}))},e.prototype.subscribeToOffsetChange=function(e){var t=this;o.default("function"===typeof e,"listener must be a function.");var n=this.store.getState().dragOffset;return this.store.subscribe((function(){var r=t.store.getState().dragOffset;r!==n&&(n=r,e())}))},e.prototype.canDragSource=function(e){var t=this.registry.getSource(e);return o.default(t,"Expected to find a valid source."),!this.isDragging()&&t.canDrag(this,e)},e.prototype.canDropOnTarget=function(e){var t=this.registry.getTarget(e);if(o.default(t,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var n=this.registry.getTargetType(e),r=this.getItemType();return i.default(n,r)&&t.canDrop(this,e)},e.prototype.isDragging=function(){return Boolean(this.getItemType())},e.prototype.isDraggingSource=function(e){var t=this.registry.getSource(e,!0);return o.default(t,"Expected to find a valid source."),!(!this.isDragging()||!this.isSourcePublic())&&(this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e))},e.prototype.isOverTarget=function(e,t){void 0===t&&(t={shallow:!1});var n=t.shallow;if(!this.isDragging())return!1;var r=this.registry.getTargetType(e),o=this.getItemType();if(o&&!i.default(r,o))return!1;var a=this.getTargetIds();if(!a.length)return!1;var s=a.indexOf(e);return n?s===a.length-1:s>-1},e.prototype.getItemType=function(){return this.store.getState().dragOperation.itemType},e.prototype.getItem=function(){return this.store.getState().dragOperation.item},e.prototype.getSourceId=function(){return this.store.getState().dragOperation.sourceId},e.prototype.getTargetIds=function(){return this.store.getState().dragOperation.targetIds},e.prototype.getDropResult=function(){return this.store.getState().dragOperation.dropResult},e.prototype.didDrop=function(){return this.store.getState().dragOperation.didDrop},e.prototype.isSourcePublic=function(){return this.store.getState().dragOperation.isSourcePublic},e.prototype.getInitialClientOffset=function(){return this.store.getState().dragOffset.initialClientOffset},e.prototype.getInitialSourceClientOffset=function(){return this.store.getState().dragOffset.initialSourceClientOffset},e.prototype.getClientOffset=function(){return this.store.getState().dragOffset.clientOffset},e.prototype.getSourceClientOffset=function(){return s.getSourceClientOffset(this.store.getState().dragOffset)},e.prototype.getDifferenceFromInitialOffset=function(){return s.getDifferenceFromInitialOffset(this.store.getState().dragOffset)},e}();t.default=u},2117:function(e,t,n){"use strict";function r(e,t){return{x:e.x+t.x,y:e.y+t.y}}function o(e,t){return{x:e.x-t.x,y:e.y-t.y}}
2Object.defineProperty(t,"__esModule",{value:!0}),t.add=r,t.subtract=o,t.getSourceClientOffset=function(e){var t=e.clientOffset,n=e.initialClientOffset,a=e.initialSourceClientOffset;return t&&n&&a?o(r(t,a),n):null},t.getDifferenceFromInitialOffset=function(e){var t=e.clientOffset,n=e.initialClientOffset;return t&&n?o(t,n):null}},2118:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=n(1765),i=n(1569),s=r(n(2119)),c=n(1774),u=n(2120);function l(e){switch(e[0]){case"S":return c.HandlerRole.SOURCE;case"T":return c.HandlerRole.TARGET;default:o.default(!1,"Cannot parse handler ID: "+e)}}var d=function(){function e(e){this.store=e,this.types={},this.dragSources={},this.dropTargets={},this.pinnedSourceId=null,this.pinnedSource=null}return e.prototype.addSource=function(e,t){u.validateType(e),u.validateSourceContract(t);var n=this.addHandler(c.HandlerRole.SOURCE,e,t);return this.store.dispatch(i.addSource(n)),n},e.prototype.addTarget=function(e,t){u.validateType(e,!0),u.validateTargetContract(t);var n=this.addHandler(c.HandlerRole.TARGET,e,t);return this.store.dispatch(i.addTarget(n)),n},e.prototype.containsHandler=function(e){var t=this;return Object.keys(this.dragSources).some((function(n){return t.dragSources[n]===e}))||Object.keys(this.dropTargets).some((function(n){return t.dropTargets[n]===e}))},e.prototype.getSource=function(e,t){return void 0===t&&(t=!1),o.default(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources[e]},e.prototype.getTarget=function(e){return o.default(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets[e]},e.prototype.getSourceType=function(e){return o.default(this.isSourceId(e),"Expected a valid source ID."),this.types[e]},e.prototype.getTargetType=function(e){return o.default(this.isTargetId(e),"Expected a valid target ID."),this.types[e]},e.prototype.isSourceId=function(e){return l(e)===c.HandlerRole.SOURCE},e.prototype.isTargetId=function(e){return l(e)===c.HandlerRole.TARGET},e.prototype.removeSource=function(e){var t=this;o.default(this.getSource(e),"Expected an existing source."),this.store.dispatch(i.removeSource(e)),a((function(){delete t.dragSources[e],delete t.types[e]}))},e.prototype.removeTarget=function(e){var t=this;o.default(this.getTarget(e),"Expected an existing target."),this.store.dispatch(i.removeTarget(e)),a((function(){delete t.dropTargets[e],delete t.types[e]}))},e.prototype.pinSource=function(e){var t=this.getSource(e);o.default(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t},e.prototype.unpinSource=function(){o.default(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null},e.prototype.addHandler=function(e,t,n){var r=function(e){var t=s.default().toString();switch(e){case c.HandlerRole.SOURCE:return"S"+t;case c.HandlerRole.TARGET:return"T"+t;default:throw new Error("Unknown Handler Role: "+e)}}(e);return this.types[r]=t,e===c.HandlerRole.SOURCE?this.dragSources[r]=n:e===c.HandlerRole.TARGET&&(this.dropTargets[r]=n),r},e}();t.default=d},2119:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=0;t.default=function(){return r++}},2120:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=r(n(1353));t.validateSourceContract=function(e){o.default("function"===typeof e.canDrag,"Expected canDrag to be a function."),o.default("function"===typeof e.beginDrag,"Expected beginDrag to be a function."),o.default("function"===typeof e.endDrag,"Expected endDrag to be a function.")},t.validateTargetContract=function(e){o.default("function"===typeof e.canDrop,"Expected canDrop to be a function."),o.default("function"===typeof e.hover,"Expected hover to be a function."),o.default("function"===typeof e.drop,"Expected beginDrag to be a function.")},t.validateType=function e(t,n){n&&a.default(t)?t.forEach((function(t){return e(t,!1)})):o.default("string"===typeof t||"symbol"===typeof t,n?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}},2121:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}
2(),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(1440),i=o(n(1470)),s=n(1773),c=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.backend=t.backend,r.childContext=s.createChildContext(r.backend,r.props.context),r}return r(t,e),t.prototype.componentWillReceiveProps=function(e){if(e.backend!==this.props.backend||e.context!==this.props.context)throw new Error("DragDropContextProvider backend and context props must not change.")},t.prototype.getChildContext=function(){return this.childContext},t.prototype.render=function(){return a.Children.only(this.props.children)},t.propTypes={backend:i.default.oneOfType([i.default.func,i.default.object]).isRequired,children:i.default.element.isRequired,context:i.default.object},t.defaultProps={context:void 0},t.childContextTypes=s.CHILD_CONTEXT_TYPES,t.displayName="DragDropContextProvider",t}(a.Component);t.default=c},2122:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(1440)),s=a(n(1470)),c=a(n(1657)),u=a(n(1376)),l=a(n(100)),d=a(n(1570)),p=n(1428);t.default=function(e,t){return void 0===t&&(t={}),d.default("DragLayer","collect[, options]",e,t),l.default("function"===typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",e),l.default(u.default(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',t),function(n){var a=t.arePropsEqual,u=void 0===a?p:a,d=n.displayName||n.name||"Component",f=function(t){function a(e,n){var r=t.call(this,e)||this;return r.isCurrentlyMounted=!1,r.handleChange=r.handleChange.bind(r),r.manager=n.dragDropManager,l.default("object"===typeof r.manager,"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",d,d),r.state=r.getCurrentState(),r}return r(a,t),Object.defineProperty(a.prototype,"DecoratedComponent",{get:function(){return n},enumerable:!0,configurable:!0}),a.prototype.getDecoratedComponentInstance=function(){return l.default(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child},a.prototype.shouldComponentUpdate=function(e,t){return!u(e,this.props)||!p(t,this.state)},a.prototype.componentDidMount=function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()},a.prototype.componentWillUnmount=function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange&&(this.unsubscribeFromOffsetChange(),this.unsubscribeFromOffsetChange=void 0),this.unsubscribeFromStateChange&&(this.unsubscribeFromStateChange(),this.unsubscribeFromStateChange=void 0)},a.prototype.render=function(){var e=this;return i.default.createElement(n,o({},this.props,this.state,{ref:function(t){e.child=t}}))},a.prototype.handleChange=function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();p(e,this.state)||this.setState(e)}},a.prototype.getCurrentState=function(){var t=this.manager.getMonitor();return e(t,this.props)},a.displayName="DragLayer("+d+")",a.contextTypes={dragDropManager:s.default.object.isRequired},a}(i.default.Component);return c.default(f,n)}}},2123:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
2dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=r(n(1376)),i=r(n(1570)),s=r(n(1778)),c=r(n(2124)),u=r(n(2125)),l=r(n(2126)),d=r(n(2127)),p=r(n(1780));t.default=function(e,t,n,r){void 0===r&&(r={}),i.default("DragSource","type, spec, collect[, options]",e,t,n,r);var f=e;"function"!==typeof e&&(o.default(p.default(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e),f=function(){return e}),o.default(a.default(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t);var h=u.default(t);return o.default("function"===typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),o.default(a.default(r),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(e){return s.default({containerDisplayName:"DragSource",createHandler:h,registerHandler:c.default,createMonitor:l.default,createConnector:d.default,DecoratedComponent:e,getType:f,collect:n,options:r})}}},2124:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addSource(e,t);return{handlerId:o,unregister:function(){r.removeSource(o)}}}},2125:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=(r(n(1376)),["canDrag","beginDrag","isDragging","endDrag"]),i=["beginDrag"];t.default=function(e){Object.keys(e).forEach((function(t){o.default(a.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',a.join(", "),t),o.default("function"===typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])})),i.forEach((function(t){o.default("function"===typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}));var t=function(){function t(e){this.monitor=e}return t.prototype.receiveProps=function(e){this.props=e},t.prototype.receiveComponent=function(e){this.component=e},t.prototype.canDrag=function(){return!!this.props&&(!e.canDrag||e.canDrag(this.props,this.monitor))},t.prototype.isDragging=function(t,n){return!!this.props&&(e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId())},t.prototype.beginDrag=function(){if(this.props&&this.component)return e.beginDrag(this.props,this.monitor,this.component)},t.prototype.endDrag=function(){this.props&&this.component&&e.endDrag&&e.endDrag(this.props,this.monitor,this.component)},t}();return function(e){return new t(e)}}},2126:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=!1,i=!1,s=function(){function e(e){this.internalMonitor=e.getMonitor()}return e.prototype.receiveHandlerId=function(e){this.sourceId=e},e.prototype.canDrag=function(){o.default(!a,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return a=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{a=!1}
2},e.prototype.isDragging=function(){o.default(!i,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return i=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{i=!1}},e.prototype.subscribeToStateChange=function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)},e.prototype.isDraggingSource=function(e){return this.internalMonitor.isDraggingSource(e)},e.prototype.isOverTarget=function(e,t){return this.internalMonitor.isOverTarget(e,t)},e.prototype.getTargetIds=function(){return this.internalMonitor.getTargetIds()},e.prototype.isSourcePublic=function(){return this.internalMonitor.isSourcePublic()},e.prototype.getSourceId=function(){return this.internalMonitor.getSourceId()},e.prototype.subscribeToOffsetChange=function(e){return this.internalMonitor.subscribeToOffsetChange(e)},e.prototype.canDragSource=function(e){return this.internalMonitor.canDragSource(e)},e.prototype.canDropOnTarget=function(e){return this.internalMonitor.canDropOnTarget(e)},e.prototype.getItemType=function(){return this.internalMonitor.getItemType()},e.prototype.getItem=function(){return this.internalMonitor.getItem()},e.prototype.getDropResult=function(){return this.internalMonitor.getDropResult()},e.prototype.didDrop=function(){return this.internalMonitor.didDrop()},e.prototype.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},e.prototype.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},e.prototype.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},e.prototype.getClientOffset=function(){return this.internalMonitor.getClientOffset()},e.prototype.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}();t.default=function(e){return new s(e)}},2127:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1779)),a=n(1428);t.default=function(e){var t,n,r,i,s,c,u;function l(){i&&(i(),i=void 0),t&&n&&(i=e.connectDragSource(t,n,r))}function d(){u&&(u(),u=void 0),t&&s&&(u=e.connectDragPreview(t,s,c))}return{receiveHandlerId:function(e){e!==t&&(t=e,l(),d())},hooks:o.default({dragSource:function(e,t){e===n&&a(t,r)||(n=e,r=t,l())},dragPreview:function(e,t){e===s&&a(t,c)||(s=e,c=t,d())}})}}},2128:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=n(1440);t.default=function(e,t){var n=e.ref;return o.default("string"!==typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?a.cloneElement(e,{ref:function(e){t(e),n&&n(e)}}):a.cloneElement(e,{ref:t})}},2129:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=r(n(1376)),i=r(n(1570)),s=r(n(1778)),c=r(n(2130)),u=r(n(2131)),l=r(n(2132)),d=r(n(2133)),p=r(n(1780));t.default=function(e,t,n,r){void 0===r&&(r={}),i.default("DropTarget","type, spec, collect[, options]",e,t,n,r);var f=e;"function"!==typeof e&&(o.default(p.default(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e),f=function(){return e}),o.default(a.default(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t);var h=u.default(t);return o.default("function"===typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),o.default(a.default(r),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(e){return s.default({containerDisplayName:"DropTarget",createHandler:h,registerHandler:c.default,createMonitor:l.default,createConnector:d.default,DecoratedComponent:e,getType:f,collect:n,options:r})}}},2130:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addTarget(e,t);return{handlerId:o,unregister:function(){r.removeTarget(o)}}}},2131:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=(r(n(1376)),["canDrop","hover","drop"]);t.default=function(e){Object.keys(e).forEach((function(t){o.default(a.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',a.join(", "),t),o.default("function"===typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",t,t,e[t])}));var t=function(){function t(e){this.monitor=e,this.props=null,this.component=null}return t.prototype.receiveProps=function(e){this.props=e},t.prototype.receiveMonitor=function(e){this.monitor=e},t.prototype.receiveComponent=function(e){this.component=e},t.prototype.canDrop=function(){return!e.canDrop||e.canDrop(this.props,this.monitor)},t.prototype.hover=function(){e.hover&&e.hover(this.props,this.monitor,this.component)},t.prototype.drop=function(){if(e.drop)return e.drop(this.props,this.monitor,this.component)},t}();return function(e){return new t(e)}}},2132:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(100)),a=!1,i=function(){function e(e){this.internalMonitor=e.getMonitor()}return e.prototype.receiveHandlerId=function(e){this.targetId=e},e.prototype.canDrop=function(){o.default(!a,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return a=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{a=!1}
2},e.prototype.isOver=function(e){return this.internalMonitor.isOverTarget(this.targetId,e)},e.prototype.getItemType=function(){return this.internalMonitor.getItemType()},e.prototype.getItem=function(){return this.internalMonitor.getItem()},e.prototype.getDropResult=function(){return this.internalMonitor.getDropResult()},e.prototype.didDrop=function(){return this.internalMonitor.didDrop()},e.prototype.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},e.prototype.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},e.prototype.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},e.prototype.getClientOffset=function(){return this.internalMonitor.getClientOffset()},e.prototype.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}();t.TargetMonitor=i,t.default=function(e){return new i(e)}},2133:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1779)),a=n(1428);t.default=function(e){var t,n,r,i;function s(){i&&(i(),i=void 0),t&&n&&(i=e.connectDropTarget(t,n,r))}return{receiveHandlerId:function(e){e!==t&&(t=e,s())},hooks:o.default({dropTarget:function(e,t){e===n&&a(t,r)||(n=e,r=t,s())}})}}},2134:function(e){e.exports=JSON.parse('{"lg":[{"x":0,"y":0,"w":12,"i":"AccountPreferencesApp"}],"md":[{"x":0,"y":0,"w":12,"i":"AccountPreferencesApp"}],"sm":[{"x":0,"y":0,"w":12,"i":"AccountPreferencesApp"}],"xs":[{"x":0,"y":0,"w":12,"i":"AccountPreferencesApp"}]}')},2385:function(e,t,n){"use strict";n.r(t);var r=n(22),o=n(18),a=n(2391),i=n(32),s=n(36),c=n(2),u=n(3),l=n(5),d=n(6),p=n(0),f=n.n(p),h=n(25),g=n.n(h),v=n(527),_=n.n(v),y=n(1398),m=n(1342),b=n.n(m),O=n(1403),E=n(1374),S=n(1375),T=n(1380),C=n(1392),D=n(1362),N=n(1393),R=n(11),A=n(81),I=n(1453),M=n.n(I),w=n(1651),P=n(1655),k=n.n(P),x=n(2096),L=n.n(x),j=n(2097),U=n.n(j),H=n(26),G=n(120),F=n(31),Y=n(1344),B=n(1350),W=function(){function e(){Object(c.a)(this,e)}return Object(u.a)(e,null,[{key:"sortAccounts",value:function(e,t,n,r){if(!t)return Promise.reject("Failed to retrieve rftoken.");var o={pageId:n,ordreredAccountIds:r};return B.a.postFormData(b.a.URL_ACCOUNT_ORDER,o,{rftoken:t}).then((function(e){return e.data&&!0===e.data.success?Promise.resolve({success:!0}):Promise.reject({success:!1})}))}},{key:"updateNickname",value:function(e,t,n,r,o,a){if(!t)return Promise.reject("Failed to retrieve rftoken.");var i={accountId:n,enabled:r,nickname:o,oldNickname:a};return B.a.postFormData(b.a.URL_UPDATE_NICKNAME,i,{rftoken:t}).then((function(e){return e.data&&"success"===e.data.nicknamesResponse?Promise.resolve({success:!0}):Promise.reject({success:!1})}))}}]),e}(),q=n(89),K=n(1416),z=n(238),V=null,X=function(){function e(){Object(c.a)(this,e),this.generateActions("getAccountsSucceeded","getAccountsFailed","setLoadingState","moveAccount","sortAccountsSucceeded","sortAccountsFailed","setSortLoadingState","setSortTimeoutId","setNicknameState","updateNickname")}return Object(u.a)(e,[{key:"getAccounts",value:function(e,t,n,r,o,a){var i=this,s=V=Date.now()+"-"+Math.random();return this.actions.setLoadingState.defer(),K.a.getAccounts(e,t,n,r,o).then((function(e){s===V&&(null!==e&&e.status===b.a.HTTP_STATUS_OK&&z.a.verifyId(e.data.responseId)&&e.data.additionalParam===b.a.ACCOUNTS_RESPONSE_STATUS_PROCESSED?i.actions.getAccountsSucceeded.defer([e.data.accountsresponse]):i.actions.getAccountsFailed.defer())})).catch((function(e){s===V&&i.actions.getAccountsFailed.defer(e)}))}},{key:"reset",value:function(){return V=null,!0}},{key:"sortAccounts",value:function(e,t,n,r){var o=this;this.actions.setSortLoadingState.defer();for(var a="",i=0;i<r.length;i++)a=a+(0!==i?",":"")+r[i].id;return W.sortAccounts(e,t,n,a).then((function(e){o.actions.sortAccountsSucceeded.defer(r)})).catch((function(e){o.actions.sortAccountsFailed.defer()}))}}]),e}(),J=q.a.createActions(X),$=function(e){Object(l.a)(n,e);var t=Object(d.a)(n);function n(e){var r;return Object(c.a)(this,n),(r=t.call(this,e)).state={valid:!0,errorMessage:"",loading:"",warningMessage:"",currentNickname:"",nickname:r.props.account.de
2scription},r._resetState=r._resetState.bind(Object(R.a)(r)),r._renderMessage=r._renderMessage.bind(Object(R.a)(r)),r._renderAccountNameAndNumber=r._renderAccountNameAndNumber.bind(Object(R.a)(r)),r._onChangeText=r._onChangeText.bind(Object(R.a)(r)),r._onBlur=r._onBlur.bind(Object(R.a)(r)),r._onSave=r._onSave.bind(Object(R.a)(r)),r._onClose=r._onClose.bind(Object(R.a)(r)),r._validateNickname=r._validateNickname.bind(Object(R.a)(r)),r._updateNickname=r._updateNickname.bind(Object(R.a)(r)),r}return Object(u.a)(n,[{key:"_resetState",value:function(){this.setState({valid:!0,errorMessage:"",loading:"",warningMessage:!1,currentNickname:""})}},{key:"componentDidMount",value:function(){this.props.isXSView&&this.refs.nickNameInput.focus()}},{key:"render",value:function(){var e=this.props.account,t="di-input-container "+(this.state.valid?"":"has-error");return f.a.createElement("div",{className:M.a["nickname-input-container"]},this.props.onSave?f.a.createElement("div",{className:M.a["account-name-container"]},this._renderAccountNameAndNumber(e)):null,this.props.isXSView?f.a.createElement("button",{className:"sr-only",role:"link",ref:"nickNameInput"},this.props.referLabel):null,f.a.createElement("div",{className:t},f.a.createElement("input",{type:"text",id:"accountName"+e.id,key:"accountName"+e.id,"aria-label":this.state.nickname,className:"form-control input-xlg",defaultValue:e.description,value:this.state.nickname,onChange:this._onChangeText,onBlur:this._onBlur,disabled:this.state.loading})),this._renderMessage(),this.props.onSave?f.a.createElement("div",{className:M.a["edit-button-container"]},f.a.createElement("div",{className:M.a["save-button"]},f.a.createElement("button",{className:"btn btn-primary",onClick:this._onSave,disabled:!this.state.valid||this.state.loading===b.a.LOADING},this.props.i18nStrings.save_button_label)),f.a.createElement("div",{className:M.a["cancel-button"]},f.a.createElement("button",{className:"cell btn btn-secondary",onClick:this.props.onCancel,disabled:this.state.loading===b.a.LOADING},this.props.i18nStrings.cancelButtonText))):null)}},{key:"_renderMessage",value:function(){var e;return e=this.state.loading===b.a.LOADING?f.a.createElement("span",null,f.a.createElement(F.a,{name:"SmallLoader"}),f.a.createElement("span",{role:"alert"},f.a.createElement("span",{className:M.a["loader-text-container"]},this.props.i18nStrings.savingEllipsesLabel))):!this.state.valid&&this.state.errorMessage?f.a.createElement("span",null,f.a.createElement(F.a,{name:"AlertError",size:"Small"}),"\xa0",f.a.createElement("span",{role:"alert"},f.a.createElement("span",null,this.state.errorMessage))):this.state.warningMessage?f.a.createElement("span",null,f.a.createElement(F.a,{name:"AlertWarning",size:"Small"}),"\xa0",f.a.createElement("span",{role:"alert"},f.a.createElement("span",null,this.state.warningMessage))):f.a.createElement("span",null,"\xa0"),f.a.createElement("div",{className:!this.state.valid&&this.state.errorMessage?"has-error":""},f.a.createElement("span",{className:"help-block "+M.a["input-help-block"]},e))}},{key:"_renderAccountNameAndNumber",value:function(e){var t=[];return t.push(f.a.createElement("span",{key:"accountName"+e.id,id:"accountName"+e.id,className:M.a["account-name"]},e.description)),t.push(f.a.createElement("span",{key:"accountNumber"+e.id,id:"accountNumber"+e.id,className:M.a["account-number"]},Y.a.getMaskedAccountNumber(e))),t}},{key:"_onChangeText",value:function(e){var t=e.target.value,n=this.props.i18nStrings;this._resetState(),t&&t.length>this.props.pageConfigs.nicknamesMaxLength&&(t=t.substring(0,this.props.pageConfigs.nicknamesMaxLength)),t&&(/[0-9]{3}/.test(t)?this.setState({warningMessage:n.account_prefereneces_account_name_warning}):t.length>20&&this.setState({warningMessage:n.account_preferences_nickname_soft_limit_warning})),this._validateNickname(t),this.setState({nickname:t,currentNickname:t})}},{key:"_onBlur",value:function(e){var t=e.target.value;t&&(t=e.target.value.trim()),this._validateNickname(t),!this.props.onSave&&t&&t!==this.props.account.description&&this.state.valid?this._updateNickname(this.props.account,t):this.setState({currentNickname:t})}},{key:"_onSave",value:function(e){var t=this.state.currentNickname;
2this._validateNickname(t),t&&this.state.valid&&this.state.currentNickname!==this.props.account.description&&this._updateNickname(this.props.account,t)}},{key:"_onClose",value:function(e){this._resetState()}},{key:"_validateNickname",value:function(e){var t=this.props.i18nStrings.account_preferences_nickname_invalid_error;e&&(/^([a-z]|[A-Z]|[0-9]|-|\.|\$|[ )'(@#!%^&;:,\*])*$/.test(e)||this.setState({valid:!1,errorMessage:t,loading:""}))}},{key:"_updateNickname",value:function(e,t){var n=this,r=this.props.pageConfigs;return this.setState({loading:b.a.LOADING}),J.setNicknameState(b.a.LOADING),W.updateNickname(r.contextPath,r.rftoken,e.id,"",t,e.description).then((function(r){n._resetState();var o={accountId:e.id,nickname:t,usrHidden:""};J.updateNickname(o),J.setNicknameState(b.a.SUCCESS),n.props.onSave&&n.props.onCancel()})).catch((function(e){n.setState({valid:!1,errorMessage:n.props.i18nStrings.unable_to_save,loading:""}),J.setNicknameState(b.a.ERROR)}))}}]),n}(p.Component);$.PropTypes={account:g.a.object.isRequired,pageConfigs:g.a.object.isRequired,i18nStrings:g.a.object.isRequired};var Q=n(10),Z=n(1433),ee=n.n(Z),te=(n(1352),function(e){Object(l.a)(n,e);var t=Object(d.a)(n);function n(e){var r;return Object(c.a)(this,n),(r=t.call(this,e)).state={show:!1},r._onTogglePopover=r._onTogglePopover.bind(Object(R.a)(r)),r._hidePopover=r._hidePopover.bind(Object(R.a)(r)),r._onKeyDown=r._onKeyDown.bind(Object(R.a)(r)),r._escKeyHide=r._escKeyHide.bind(Object(R.a)(r)),r}return Object(u.a)(n,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this._hidePopover)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this._hidePopover)}},{key:"componentDidUpdate",value:function(e,t){this.state.show?this.refs.closeIcon&&setTimeout((function(){document.getElementById("closeIcon")&&document.getElementById("closeIcon").focus()}),300):!this.state.show&&t.show&&this.refs.helpSvg.focus()}},{key:"render",value:function(){var e,t=this.props.style?this.props.style:{};this.props.left&&("number"===typeof this.props.left?t.left=this.props.left+"px":t.left=this.props.left),this.props.top&&("number"===typeof this.props.top?t.top=this.props.top+"px":t.top=this.props.top),this.props.width&&("number"===typeof this.props.width?t.width=this.props.width+"px":t.width=this.props.width);var n=this.props.arrowStyle?this.props.arrowStyle:{};this.props.arrowLeft&&("number"===typeof this.props.arrowLeft?n.marginLeft=this.props.arrowLeft+"px":n.marginLeft=this.props.arrowLeft);var r=this.props.position?this.props.position:"bottom";return f.a.createElement("div",{onClick:this._onTogglePopover,className:I["popover-icon"]},f.a.createElement("span",{onClick:this._onTogglePopover,"aria-haspopup":"true",tabIndex:"0","aria-label":this.props.ariaLabel?this.props.ariaLabel:null,onKeyDown:this._onKeyDown,ref:"helpSvg",role:G.a.isIOS()?"button":"link"},f.a.createElement(F.a,{name:"Help",className:I["help-icon"]})),this.state.show?f.a.createElement(ee.a,{onClickOut:this._hidePopover},f.a.createElement("div",(e={id:this.props.id,ref:"popOver",className:"popover fade "+r+" in "+I["popover-container"],role:"tooltip"},Object(Q.a)(e,"id","suggestHintPopover"+this.props.id),Object(Q.a)(e,"style",t),e),f.a.createElement("div",{className:"arrow "+I["popover-arrow"],style:n}),f.a.createElement("button",{onClick:this._onTogglePopover,onKeyDown:this._escKeyHide,ref:"closeIcon",id:"closeIcon",className:I.closebtn,"aria-label":this.props.content+" "+(this.props.i18nStrings?this.props.i18nStrings.closeButtonText:""),role:"link"},f.a.createElement(F.a,{name:"Close",className:I["popover-close-button"],size:"sm"})),f.a.createElement("div",{id:"popoverContent",className:"popover-content",role:"alert"},this.props.content))):null)}},{key:"_onTogglePopover",value:function(e){this.setState({show:!this.state.show})}},{key:"_hidePopover",value:function(){this.setState({show:!1})}},{key:"_escKeyHide",value:function(e){27!=e.keyCode&&9!=e.keyCode||!this.state.show||this.setState({show:!1})}},{key:"_onKeyDown",value:function(e){13==e.keyCode&&e.preventDefault(),13==e.keyCode&&this._onTogglePopover(e),27!=e.keyCode&&9!=e.keyCode||!this.state.show||this.setState({show:!1})}}]),n}(p.Component)),ne=function(e){Object(l.a)(n,e);var t=Object(d.a)(n);function n(e){var r;return Object(c.a)(this,n),(r=t.call(this,e)).state={valid:!0,errorMessage:"",loading:""},r._onClick=r._onClick.bind(Object(R.a)(r)),r._updateNickname=r._updateNickname.bind(Object(R.a)(r)),r._renderMessage=r._renderMessage.bind(Object(R.a)(r)),r}
2return Object(u.a)(n,[{key:"componentDidUpdate",value:function(e,t){!this.state.loading&&t.loading&&this.refs.inputCheckbox.focus()}},{key:"render",value:function(){var e=this.props.account,t=this.props.i18nStrings,n="false"==e.usrHidden,r=(t.account_preferences_checked,t.account_preferences_NotChecked,M.a["show-hide-checkbox-container"]+(this.state.valid?"":" has-error")),o=this.props.pageConfigs.breakpoint==b.a.LAYOUT_XS&&!n;return f.a.createElement("div",{className:r},f.a.createElement("div",{className:"di-checkbox"},f.a.createElement("input",{type:"checkbox",key:"checkbox"+e.id,id:"checkbox"+e.id,onClick:this._onClick,onKeyDown:function(e){32==e.keyCode&&this._onClick},checked:n,className:M.a["checkbox-input"],disabled:this.state.loading,"aria-checked":n,"aria-label":this.props.ariaLabel,ref:"inputCheckbox"}),f.a.createElement("span",{className:"lbl "+(this.props.label?" ":M.a["checkbox-label"]),for:"checkbox"+e.id},this.props.label)),o?f.a.createElement(te,{top:30,left:-110,width:210,arrowLeft:-2,position:"bottom",content:t.account_preferences_show_account_tooltip}):null,this._renderMessage())}},{key:"_renderMessage",value:function(){var e;return e=this.state.loading===b.a.LOADING?f.a.createElement("span",null,f.a.createElement(F.a,{name:"SmallLoader"}),f.a.createElement("span",{role:"alert"},f.a.createElement("span",{className:M.a["loader-text-container"]},this.props.i18nStrings.savingEllipsesLabel))):!this.state.valid&&this.state.errorMessage?f.a.createElement("span",null,f.a.createElement(F.a,{name:"AlertError",size:"Small"}),"\xa0",f.a.createElement("span",{role:"alert"},f.a.createElement("span",null,this.state.errorMessage))):f.a.createElement("span",null,"\xa0"),f.a.createElement("div",{className:!this.state.valid&&this.state.errorMessage?"has-error":""},f.a.createElement("span",{className:"help-block "+M.a["input-help-block"]},e))}},{key:"_onClick",value:function(e){var t=e.target.checked;this._updateNickname(this.props.account,t)}},{key:"_updateNickname",value:function(e,t){var n=this,r=this.props.pageConfigs;return this.setState({loading:b.a.LOADING}),W.updateNickname(r.contextPath,r.rftoken,e.id,t,"","").then((function(r){n.setState({valid:!0,errorMessage:"",loading:""});var o={accountId:e.id,nickname:"",userHidden:t?"false":"true"};J.updateNickname(o)})).catch((function(e){n.setState({valid:!1,errorMessage:n.props.i18nStrings.unable_to_save,loading:""})}))}}]),n}(p.Component);ne.PropTypes={account:g.a.object.isRequired};var re,oe,ae=n(1436),ie={hover:function(e,t,n){var r=t.getItem().index,o=e.index;if(r!==o){var a=Object(H.findDOMNode)(n).getBoundingClientRect(),i=(a.bottom-a.top)/2,s=t.getClientOffset().y-a.top;r<o&&s<i||r>o&&s>i||(e.moveAccount(r,o),t.getItem().index=o)}},drop:function(e,t,n){if(!t.didDrop()){t.getItem();e.dropAccount()}}},se=Object(w.DropTarget)("ACCOUNT",ie,(function(e){return{connectDropTarget:e.dropTarget()}}))(re=Object(w.DragSource)("ACCOUNT",{beginDrag:function(e){return{id:e.id,index:e.index}}},(function(e,t){return{connectDragSource:e.dragSource(),connectDragPreview:e.dragPreview(),isDragging:t.isDragging()}}))(re=function(e){Object(l.a)(n,e);var t=Object(d.a)(n);function n(e){var r;return Object(c.a)(this,n),(r=t.call(this,e)).state={grabbed:!1,dropped:!1,firstGrabbed:""},r._selectRow=r._selectRow.bind(Object(R.a)(r)),r._deSelectRow=r._deSelectRow.bind(Object(R.a)(r)),r._renderAccountNameAndNumber=r._renderAccountNameAndNumber.bind(Object(R.a)(r)),r._isIE11OrEdge=r._isIE11OrEdge.bind(Object(R.a)(r)),r._renderJointAccountPopover=r._renderJointAccountPopover.bind(Object(R.a)(r)),r}return Object(u.a)(n,[{key:"componentDidMount",value:function(){try{this.props.connectDragPreview(Object(P.getEmptyImage)(),{captureDraggingState:!0})}catch(e){}}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setState({aboutToDrag:e.isDragging&&!this.props.isDragging})}},{key:"_selectRow",value:function(e){this.props.clearSortTimeout&&this.props.clearSortTimeout(),this.setState({selected:!0})}},{key:"_keyDown",value:function(e){if(32==e.keyCode||32==e.charCode)e.preventDefault(),this._selectRow(e),this.props.prevIndex(this.props.index),this.setState({grabbed:!0,dropped:!1}),this._renderHiddenElementGrabbed(),this.setState({firstGrabbed:this.props.index});else if(40==e.keyCode||40==e.charCode){e.preventDefault();var t=this.props.index+1;if(!this.state.grabbed||this.props.oldIndex==t)return;this.props.moveAccount(this.props.oldIndex,t),this.props.prevIndex(t)}else if(38==e.keyCode||38==e.charCode){e.preventDefault();var n=this.props.index>0?this.props.index-1:"";if(!this.state.grabbed||this.props.oldIndex===n)return;this.props.moveAccount(this.props.oldIndex,n),this.props.prevIndex(n)}else 9!=e.keyCode&&9!=e.charCode||(this._deSelectRow(e),this.setState({grabbed:!1,dropped:!1}))}},{key:"_keyUp",value:function(e){13!=e.keyCode&&13!=e.charCode||(this._deSelectRow(e),this.setState({grabbed:!1,dropped:!0}))}},{key:"_renderHiddenElementGrabbed",value:function(){var e=this.props.i18nStrings,t=this.props.index,n=this.state.grabbed?e.account_preferences_grabbed:e.account_preferences_dropped;return f.a.createElement("div",{role:this.state.grabbed?"alert":"","aria-live":"assertive","aria-atomic":"true",id:"grabbed"},f.a.createElement("span",{className:"sr-only"},e.account_preferences_index+" "+t+n))}},{key:"_renderHiddenElementDropped",value:function(){var e=this.props.i18nStrings,t=this.props.index,n=e.account_preferences_index+" "+this.state.firstGrabbed+" "+e.account_preferences_droppedat+t;return f.a.createElement("div",{role:this.state.dropped?"alert":"","aria-live":"assertive","aria-atomic":"true",id:"dropped"},f.a.createElement("span",{className:"sr-only"},n))}},{key:"_deSelectRow",value:function(e){this.props.setSortTimeout&&this.props.setSortTimeout(),this.setState({selected:!1})}},{key:"render",value:function(){var e=this.props.i18nStrings,t=this.props,n=t.isDragging,r=t.connectDragSource,o=t.connectDropTarget,a=(t.connectDragPreview,this.props.account),i=["row","data",M.a["sortable-row"],0===this.props.index?"first":"",n?M.a.dragging:"",!0===this.state.selected?M.a["selected-row"]:""],s=this._isIE11Or
2Edge()&&1==this.state.aboutToDrag?M.a.hidden:"",c=M.a["cell-container"],u="true"==a.usrHidden?"displayTypeHidden":"displayTypeShow",l=this.props.pageConfigs.nicknamesEnabled,d=this.props.pageConfigs.hideAccountsEnabled,p=this.props.pageConfigs.jointNicknamesEnabled,h=a.ownershipType===b.a.JOINT_ACCOUNT_OWNERSHIP_TYPE,g=[];g.push(f.a.createElement("div",{className:"col-xs-2 col-sm-1 col-md-1"},f.a.createElement("span",{className:"cell first "+s+c},r(f.a.createElement("span",{className:M.a["row-handle"],onMouseDown:this._selectRow,onMouseUp:this._deSelectRow,onDragEnd:this._deSelectRow,onTouchStart:this._selectRow,onTouchEnd:this._deSelectRow,onTouchCancel:this._deSelectRow,onContextMenu:this._deSelectRow,role:G.a.isAndroid()||G.a.isIOS()||G.a.isSafari()?"button":"application",tabIndex:"0","aria-label":this.state.grabbed?"index"+this.props.index+"grabbed":this.state.dropped?"dropped at index"+this.props.index:"","aria-grabbed":this.props.grabbed,"aria-labelledby":u+a.id,onKeyDown:this._keyDown.bind(this),onKeyUp:this._keyUp.bind(this)},f.a.createElement(F.a,{name:"Order",role:"button",svgRole:"button",title:e.account_preferences_svgTitle,className:s,desc:e.account_preferences_svgDesc}))))));var v="col-xs-10 col-sm-11 col-md-11",_="",y="";return(l&&!h||h&&p)&&d?(v="col-xs-3 col-sm-3 col-md-3",_="col-xs-3 col-sm-3 col-md-3",y="col-xs-4 col-sm-5 col-md-5"):(l&&!h||h&&p)&&!d?(v="col-xs-4 col-sm-4 col-md-4",y="col-xs-6 col-sm-7 col-md-7"):d&&(v="col-xs-7 col-sm-8 col-md-8",_="col-xs-3 col-sm-3 col-md-3"),g.push(f.a.createElement("div",{className:v},f.a.createElement("span",{className:"sr-only"},this.props.accountLabel),f.a.createElement("span",{className:"cell "+(l&&d?0:"last ")+c},this._renderAccountNameAndNumber(a),a.ownershipType===b.a.CROSS_USER_ACCOUNT_OWNERSHIP_TYPE||a.ownershipType===b.a.JOINT_ACCOUNT_OWNERSHIP_TYPE?f.a.createElement(ae.a,{account:a,configs:this.props.pageConfigs,i18nStrings:this.props.i18nStrings}):null))),l&&(!h||h&&p)&&g.push(f.a.createElement("div",{className:y},f.a.createElement("span",{className:"cell "+c},f.a.createElement("span",{className:"sr-only"},this.props.nickNamelabel),f.a.createElement($,{account:a,i18nStrings:e,pageConfigs:this.props.pageConfigs,onSave:!1})))),d&&g.push(f.a.createElement("div",{className:_},f.a.createElement("span",{className:"cell last "+c,"aria-labelledby":"showAccount"+a.id},f.a.createElement("span",{className:"sr-only",id:"showAccount"+a.id},this.props.i18nStrings.account_preferences_show_account_label),f.a.createElement(ne,{account:a,i18nStrings:e,pageConfigs:this.props.pageConfigs,ariaLabel:this.props.ariaLabel})))),o(f.a.createElement("div",{className:i.join(" "),id:u+a.id},this.state.grabbed?this._renderHiddenElementGrabbed():null,this.state.dropped?this._renderHiddenElementDropped():null,g))}},{key:"_renderAccountNameAndNumber",value:function(e){var t=[];return t.push(f.a.createElement("span",{key:"accountName"+e.id,className:M.a["account-desc"]},e.description)),Y.a.showPrimaryHolderIdInAccountDescription(e,this.props.pageConfigs)&&t.push(f.a.createElement("span",{key:"accountPrimaryHolderId"+e.id,className:M.a["account-primary-holderid"]},e.displayPrimaryHolderId+"-")),t.push(f.a.createElement("span",{key:"accountNumber"+e.id,id:"accountNumber"+e.id,className:M.a["account-number"]},Y.a.getMaskedAccountNumber(e),this._renderJointAccountPopover(e))),t}},{key:"_renderJointAccountPopover",value:function(e){return this.props.pageConfigs.nicknamesEnabled&&e.ownershipType===b.a.JOINT_ACCOUNT_OWNERSHIP_TYPE&&!this.props.pageConfigs.jointNicknamesEnabled?f.a.createElement(te,{id:"popover"+e.id,top:"-30",left:"40",width:"210",content:this.props.i18nStrings.account_preferences_joint_account_tooltip,position:"right",ariaLabel:this.props.accountLabel+" "+e.description+" "+this.props.help}):null}},{key:"_isIE11OrEdge",value:function(){return G.a.isIE11()||navigator.userAgent.indexOf("Edge")>-1}}]),n}(p.Component))||re)||re;se.propTypes={connectDragSource:g.a.func.isRequired,connectDropTarget:g.a.func.isRequired,connectDragPreview:g.a.func.isRequired,index:g.a.number.isRequired,isDragging:g.a.bool.isRequired,id:g.a.any.isRequired,moveAccount:g.a.func.isRequired};var ce={hover:function(e,t,n){var r=t.getItem().index,o=e.index;if(r!==o){var a=Object(H.findDOMNode)(n).getBoundingClientRect(),i=(a.bottom-a.top)/2,s=t.getClientOffset().y-a.top;r<o&&s<i||r>o&&s>i||(e.moveAccount(r,o),t.getItem().index=o)}},drop:function(e,t,n){if(!t.didDrop()){t.getItem();e.dropAccount()}}},ue=Object(w.DropTarget)("ACCOUNT",ce,(function(e){return{connectDropTarget:e.dropTarget()}}))(oe=Object(w.DragSource)("ACCOUNT",{beginDrag:function(e){return{id:e.id,index:e.index}}},(function(e,t){return{connectDragSource:e.dragSource(),connectDragPreview:e.dragPreview(),isDragging:t.isDragging()}}))(oe=function(e){Object(l.a)(n,e);var t=Object(d.a)(n);function n(e){var r;return Object(c.a)(this,n),(r=t.call(this,e)).state={},r._selectRow=r._selectRow.bind(Object(R.a)(r)),r._deSelectRow=r._deSelectRow.bind(Object(R.a)(r)),r._renderAccountNameAndNumber=r._renderAccountNameAndNumber.bind(Object(R.a)(r)),r._isIE11Or
2Edge=r._isIE11OrEdge.bind(Object(R.a)(r)),r._renderJointAccountPopover=r._renderJointAccountPopover.bind(Object(R.a)(r)),r}return Object(u.a)(n,[{key:"componentDidMount",value:function(){try{this.props.connectDragPreview(Object(P.getEmptyImage)(),{captureDraggingState:!0})}catch(e){}}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setState({aboutToDrag:e.isDragging&&!this.props.isDragging})}},{key:"_selectRow",value:function(e){this.props.clearSortTimeout&&this.props.clearSortTimeout(),this.setState({selected:!0})}},{key:"_keyDown",value:function(e){if(32==e.keyCode||32==e.charCode)this._selectRow(e),J.setGrabbedStatus(),this.props.prevIndex(this.props.index);else if(13==e.keyCode||13==e.charCode){this._deSelectRow(e),this.setState({selected:!1});var t=this.props.index;if(this.props.oldIndex===t)return;this.props.moveAccount(this.props.oldIndex,t),this.props.dropAccount(),J.setGrabbedStatus()}}},{key:"_keyUp",value:function(e){13!=e.keyCode&&13!=e.charCode||this._deSelectRow(e)}},{key:"_deSelectRow",value:function(e){this.props.setSortTimeout&&this.props.setSortTimeout(),this.setState({selected:!1})}},{key:"render",value:function(){var e=this,t=this.props.i18nStrings,n=this.props,r=n.isDragging,o=n.connectDragSource,a=n.connectDropTarget,i=(n.connectDragPreview,this.props.account),s=["row","data",M.a["sortable-row"],0===this.props.index?"first":"",r?M.a.dragging:"",!0===this.state.selected?M.a["selected-row"]:""],c=this._isIE11Or
2Edge()&&1==this.state.aboutToDrag?M.a.hidden:"",u=M.a["cell-container"],l="true"==i.usrHidden?"displayTypeHidden":"displayTypeShow",d=this.props.pageConfigs.nicknamesEnabled,p=this.props.pageConfigs.hideAccountsEnabled,h=this.props.pageConfigs.jointNicknamesEnabled,g=i.ownershipType===b.a.JOINT_ACCOUNT_OWNERSHIP_TYPE,v=[];v.push(f.a.createElement("div",{className:"col-xs-2"},f.a.createElement("span",{className:"cell first "+c+u},o(f.a.createElement("span",{className:M.a["row-handle"],onMouseDown:this._selectRow,onMouseUp:this._deSelectRow,onDragEnd:this._deSelectRow,onTouchStart:this._selectRow,onTouchEnd:this._deSelectRow,onTouchCancel:this._deSelectRow,onContextMenu:this._deSelectRow,role:G.a.isAndroid()||G.a.isIOS()?"button":"application",tabIndex:"0","aria-label":this.props.grabbed?"index"+this.props.index+"grabbed":this.props.grabbed?"dropped at index"+this.props.index:"","aria-grabbed":this.props.grabbed,"aria-describedby":l+i.id,onKeyDown:this._keyDown.bind(this),onKeyUp:this._keyUp.bind(this)},f.a.createElement(F.a,{name:"Order",title:t.account_preferences_svgTitle,className:c,desc:t.account_preferences_svgDesc}))))));return d&&(!g||g&&h)?(v.push(f.a.createElement("div",{className:"col-xs-8"},f.a.createElement("span",{className:"cell "+(d?0:"last ")+u},this._renderAccountNameAndNumber(i),i.ownershipType===b.a.CROSS_USER_ACCOUNT_OWNERSHIP_TYPE||i.ownershipType===b.a.JOINT_ACCOUNT_OWNERSHIP_TYPE?f.a.createElement(ae.a,{account:i,configs:this.props.pageConfigs,i18nStrings:this.props.i18nStrings}):null),p?f.a.createElement("span",{className:"cell show-account "+u},f.a.createElement(ne,{account:i,i18nStrings:t,label:t.account_preferences_show_account_label,pageConfigs:this.props.pageConfigs})):null)),v.push(f.a.createElement("div",{className:"col-xs-2"},f.a.createElement("span",{className:"cell last "+u},f.a.createElement("a",{id:"editNicknameLink"+i.id,className:M.a["edit-nickname-link"],onClick:function(){return e.props.onEdit(i)},tabIndex:"0",href:"javascript:void(0)","aria-haspopup":"true"},this.props.i18nStrings.account_preferences_edit_nickname))))):!g||h||p?g&&!h&&p?(v.push(f.a.createElement("div",{className:"col-xs-8"},f.a.createElement("span",{className:"cell "+(d?0:"last ")+u},this._renderAccountNameAndNumber(i),i.ownershipType===b.a.CROSS_USER_ACCOUNT_OWNERSHIP_TYPE||i.ownershipType===b.a.JOINT_ACCOUNT_OWNERSHIP_TYPE?f.a.createElement(ae.a,{account:i,configs:this.props.pageConfigs,i18nStrings:this.props.i18nStrings}):null),f.a.createElement("span",{className:"cell show-account "+u},f.a.createElement(ne,{account:i,i18nStrings:t,label:t.account_preferences_show_account_label,pageConfigs:this.props.pageConfigs})))),v.push(f.a.createElement("div",{className:"col-xs-2"},f.a.createElement("span",{className:"cell last "+u},this._renderJointAccountPopover(i))))):v.push(f.a.createElement("div",{className:"col-xs-10"},f.a.createElement("span",{className:"cell "+(d?0:"last ")+u},this._renderAccountNameAndNumber(i),i.ownershipType===b.a.CROSS_USER_ACCOUNT_OWNERSHIP_TYPE||i.ownershipType===b.a.JOINT_ACCOUNT_OWNERSHIP_TYPE?f.a.createElement(ae.a,{account:i,configs:this.props.pageConfigs,i18nStrings:this.props.i18nStrings}):null),p?f.a.createElement("span",{className:"cell show-account "+u},f.a.createElement(ne,{account:i,i18nStrings:t,label:t.account_preferences_show_account_label,pageConfigs:this.props.pageConfigs})):null)):(v.push(f.a.createElement("div",{className:"col-xs-8"},f.a.createElement("span",{className:"cell "+(d?0:"last ")+u},this._renderAccountNameAndNumber(i),i.ownershipType===b.a.CROSS_USER_ACCOUNT_OWNERSHIP_TYPE||i.ownershipType===b.a.JOINT_ACCOUNT_OWNERSHIP_TYPE?f.a.createElement(ae.a,{account:i,configs:this.props.pageConfigs,i18nStrings:this.props.i18nStrings}):null))),v.push(f.a.createElement("div",{className:"col-xs-2"},f.a.createElement("span",{className:"cell last "+u},this._renderJointAccountPopover(i))))),a(f.a.createElement("div",{className:s.join(" "),id:l+i.id},v))}},{key:"_renderAccountNameAndNumber",value:function(e){var t=[];return t.push(f.a.createElement("span",{key:"nickname"+e.id,id:"nickname"+e.id,className:M.a["account-desc"]},e.description)),Y.a.showPrimaryHolderIdInAccountDescription(e,this.props.pageConfigs)&&t.pu
2sh(f.a.createElement("span",{key:"accountPrimaryHolderId"+e.id,className:M.a["account-primary-holderid"]},e.displayPrimaryHolderId+"-")),t.push(f.a.createElement("span",{key:"accountNumber"+e.id,id:"accountNumber"+e.id,className:M.a["account-number"]},Y.a.getMaskedAccountNumber(e))),t}},{key:"_renderJointAccountPopover",value:function(e){return this.props.pageConfigs.nicknamesEnabled&&e.ownershipType===b.a.JOINT_ACCOUNT_OWNERSHIP_TYPE&&!this.props.pageConfigs.jointNicknamesEnabled?f.a.createElement(te,{id:"popover"+e.id,top:"30",left:"-170",width:"210",arrowLeft:"59",content:this.props.i18nStrings.account_preferences_joint_account_tooltip,ariaLabel:this.props.accountLabel+" "+e.description+" "+this.props.help,position:"bottom"}):null}},{key:"_isIE11OrEdge",value:function(){return G.a.isIE11()||navigator.userAgent.indexOf("Edge")>-1}}]),n}(p.Component))||oe)||oe;ue.propTypes={connectDragSource:g.a.func.isRequired,connectDropTarget:g.a.func.isRequired,connectDragPreview:g.a.func.isRequired,index:g.a.number.isRequired,isDragging:g.a.bool.isRequired,id:g.a.any.isRequired,moveAccount:g.a.func.isRequired};var le=n(243),de=function(e){Object(l.a)(n,e);var t=Object(d.a)(n);function n(){return Object(c.a)(this,n),t.apply(this,arguments)}return Object(u.a)(n,[{key:"render",value:function(){return f.a.createElement(le.a,{id:"accountsButton",role:"button",to:"/app/home/olb/accounts"},f.a.createElement("button",{type:"button",tabIndex:"-1",className:"btn btn-primary xs-width-100"},this.props.pageConfigs.accountsButton))}}]),n}(p.Component);de.PropTypes={account:g.a.object.isRequired,pageConfigs:g.a.object.isRequired};var pe=function(e){Object(l.a)(n,e);var t=Object(d.a)(n);function n(e){return Object(c.a)(this,n),t.call(this,e)}return Object(u.a)(n,[{key:"componentDidUpdate",value:function(){this.refs.errorHeader&&this.refs.errorHeader.focus()}},{key:"render",value:function(){return f.a.createElement("div",{className:M.a["accounts-error"]},f.a.createElement("h2",{role:"alert","aria-live":"assertive","aria-atomic":"true",ref:"errorHeader"},f.a.createElement(F.a,{name:"AlertError"}),"\xa0",this.props.i18nStrings.accounts_error_accountsUnavailable),f.a.createElement("h3",{className:"text-light"},this.props.i18nStrings.accounts_error_dataSafe))}}]),n}(p.Component);pe.propTypes={refreshHandler:g.a.func.isRequired,i18nStrings:g.a.objectOf(g.a.string).isRequired};var fe,he=n(116),ge=n(43),ve=function(){function e(){Object(c.a)(this,e),this.state={accounts:null,originalAccounts:null,accountDataStatus:b.a.LOADING,accountSortStatus:null,nicknameStatus:null,accountSortTimeoutId:null},this.bindActions(J)}return Object(u.a)(e,[{key:"onSetLoadingState",value:function(){this.setState({accounts:null,originalAccounts:null,accountDataStatus:b.a.LOADING})}},{key:"onGetAccountsSucceeded",value:function(e){var t=Object(o.a)(e,1)[0];this.setState({accounts:t,originalAccounts:Object(ge.a)(t),accountDataStatus:b.a.SUCCESS})}},{key:"onGetAccountsFailed",value:function(){this.setState({accounts:null,originalAccounts:null,accountDataStatus:b.a.ERROR})}},{key:"onReset",value:function(){this.alt.recycle(this)}},{key:"onSetSortLoadingState",value:function(){this.setState({accountSortStatus:b.a.LOADING})}},{key:"onSortAccountsSucceeded",value:function(e){this.setState({originalAccounts:Object(ge.a)(e),accountSortStatus:b.a.SUCCESS})}},{key:"onSortAccountsFailed",value:function(){this.setState({accounts:Object(ge.a)(this.state.originalAccounts),accountSortStatus:b.a.ERROR})}},{key:"onSetNicknameState",value:function(e){this.setState({nicknameStatus:e})}},{key:"onMoveAccount",value:function(e){this.setState({accounts:e})}},{key:"onSetSortTimeoutId",value:function(e){this.setState({sortTimeoutId:e})}},{key:"onUpdateNickname",value:function(e){var t,n=Object(he.a)(this.state.accounts);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.id===e.accountId){e.nickname&&(r.description=e.nickname),e.userHidden&&(r.usrHidden=e.userHidden);break}}}catch(o){n.e(o)}finally{n.f()}}}]),e}(),_e=q.a.createStore(ve,"AccountPreferencesStore"),ye=n(1370),me=n(889),be=n(588),Oe=n(1600),Ee=n(1365),Se=n(720),Te=n.n(Se),Ce={backends:[{backend:k.a},{backend:L()({ignoreContextMenu:!0,delayTouchStart:100}),preview:!0}]},De=Object(w.DragDropContext)(U()(Ce))(fe=function(e){Object(l.a)(n,e);var t=Object(d.a)(n);function n(e){var r;return Object(c.a)(this,n),(r=t.call(this,e)).moveAccount=r.moveAccount.bind(Object(R.a)(r)),r.dropAccount=r.dropAccount.bind(Object(R.a)(r)),r._getAccounts=r._getAccounts.bind(Object(R.a)(r)),r._renderContent=r._renderContent.bind(Object(R.a)(r)),r._renderAccountPreferences=r._renderAccountPreferences.bind(Object(R.a)(r)),r._renderAccountsTable=r._renderAccountsTable.bind(Object(R.a)(r)),r._renderSortableAccountsTable=r._renderSortableAccountsTable.bind(Object(R.a)(r)),r._renderAccountTableContent=r._renderAccountTableContent.bind(Object(R.a)(r)),r._renderAccountTableHeader=r._renderAccountTableHeader.bind(Object(R.a)(r)),r._renderPageTitle=r._renderPageTitle.bind(Object(R.a)(r)),r._renderAccountsButton=r._renderAccountsButton.bind(Object(R.a)(r)),r._renderError=r._renderError.bind(Object(R.a)(r)),r._renderSubuserError=r._renderSubuserError.bind(Object(R.a)(r)),r._renderLoaderModal=r._renderLoaderModal.bind(Object(R.a)(r)),r._clearSortTimeout=r._clearSortTimeout.bind(Object(R.a)(r)),r._setSortTimeout=r._setSortTimeout.bind(Object(R.a)(r)),r._hasAccoutOrderingChanged=r._hasAccoutOrderingChanged.bind(Object(R.a)(r)),r._renderAccountSortError=r._renderAccountSortError.bind(Object(R.a)(r)),r._renderEditNicknameModal=r._renderEditNicknameModal.bind(Object(R.a)(r)),r._handleEditNicknameLinkClick=r._handleEditNicknameLinkClick.bind(Object(R.a)(r)),r._handleClose=r._handleClose.bind(Object(R.a)(r)),r._handleModalResize=r._handleModalResize.bind(Object(R.a)(r)),r.state={grabbedElementIndex:"",account:null,show:!1},r}
2return Object(u.a)(n,[{key:"componentDidMount",value:function(){var e=this;this._getAccounts(),setTimeout((function(){e.refs.accountPreferencesContainer&&e.refs.accountPreferencesContainer.focus()}),500),Te.a.attach(document.body),window.addEventListener("resize",this._handleModalResize)}},{key:"componentWillUnmount",value:function(){this._clearSortTimeout(),J.reset(),window.removeEventListener("resize",this._handleModalResize)}},{key:"moveAccount",value:function(e,t){var n=this.props.accounts,r="";r=""===e?n[0]:e===n.length?n[n.length-1]:n[e],n.splice(e,1),n.splice(t,0,r),J.moveAccount(n)}},{key:"dropAccount",value:function(){this._setSortTimeout()}},{key:"_setSortTimeout",value:function(){var e=this;this._clearSortTimeout();var t=null;this._hasAccoutOrderingChanged()&&(t=setTimeout((function(){J.sortAccounts(e.props.pageConfigs.contextPath,e.props.pageConfigs.rftoken,e.props.pageConfigs.pageId,e.props.accounts)}),3e3)),J.setSortTimeoutId(t)}},{key:"_clearSortTimeout",value:function(){this.props.sortTimeoutId&&clearTimeout(this.props.sortTimeoutId)}},{key:"_hasAccoutOrderingChanged",value:function(){var e=!1,t=this.props.accounts,n=this.props.originalAccounts;if(t&&n&&t.length==n.length)for(var r=0;r<n.length;r++)if(t[r].id!=n[r].id){e=!0;break}return e}},{key:"_getAccounts",value:function(){J.getAccounts(this.props.pageConfigs.contextPath,this.props.pageConfigs.rftoken,this.props.pageConfigs.pageId)}},{key:"render",value:function(){return f.a.createElement("div",{id:"accountPreferencesContainer",className:"di-container "+M.a["account-preferences-container"]},f.a.createElement("h2",{tabIndex:"-1",id:"hiddenHeader",className:"sr-only",ref:"accountPreferencesContainer"},this.props.i18nStrings.account_preferences_page_title+" "+this.props.i18nStrings.account_preferences_helpText),this._renderContent(),this._renderLoaderModal(),this._renderEditNicknameModal())}},{key:"_renderLoaderModal",value:function(){return f.a.createElement(me.a,{text:this.props.i18nStrings.savingEllipsesLabel,show:this.props.accountSortStatus===b.a.LOADING,enforceFocus:!1})}},{key:"_renderContent",value:function(){switch(this.props.accountDataStatus){case b.a.LOADING:return this._renderLoading();case b.a.SUCCESS:return this._renderAccountPreferences();case b.a.ERROR:default:return this._renderError()}}},{key:"_renderAccountPreferences",value:function(){return this.props.pageConfigs.primaryUser?this._renderAccountsTable():this._renderSubuserError()}},{key:"_renderAccountsTable",value:function(){return f.a.createElement("div",null,this._renderPageTitle(),this._renderSortableAccountsTable(),this._renderAccountsButton())}},{key:"_renderSortableAccountsTable",value:function(){var e=this.props.accounts;return null!==e&&0!==e.length?this.props.pageConfigs.breakpoint==b.a.LAYOUT_XS?f.a.createElement("div",{id:"accountContainer"},this._renderSubTitle(),f.a.createElement("div",{className:"di-rs-table"},this._renderAccountTableContent())):f.a.createElement("div",{id:"accountContainer"},this._renderSubTitle(),f.a.createElement("div",{className:"di-rs-table"},this._renderAccountTableHeader(),this._renderAccountTableContent())):f.a.createElement(Oe.a,{i18nStrings:this.props.i18nStrings})}},{key:"_prevIndex",value:function(e){void 0!=e&&this.setState({grabbedElementIndex:e})}},{key:"_renderAccountTableContent",value:function(){var e=this.props.accounts,t=[];if(null!==e&&0!==e.length&&this.props.pageConfigs.breakpoint!=b.a.LAYOUT_XS)for(var n=0;n<e.length;n++){var r=e[n];t.push(f.a.createElement(se,{account:r,index:n,oldIndex:this.state.grabbedElementIndex,key:r.id,prevIndex:this._prevIndex.bind(this),id:r.id,moveAccount:this.moveAccount,dropAccount:this.dropAccount,clearSortTimeout:this._clearSortTimeout,setSortTimeout:this._setSortTimeout,i18nStrings:this.props.i18nStrings,pageConfigs:this.props.pageConfigs,nickNamelabel:this.props.i18nStrings.account_preferences_nickname_label,accountLabel:this.props.i18nStrings.account_preferences_account_name_label,ariaLabel:this.props.i18nStrings.account_preferences_show_account_label,help:this.props.i18nStrings.account_preferences_help}))}else if(null!==e&&0!==e.length&&this.props.pageConfigs.breakpoint==b.a.LAYOUT_XS)for(var o=0;o<e.length;o++){var a=e[o];t.push(f.a.createElement(ue,{account:a,index:o,key:a.id,id:a.id,moveAccount:this.moveAccount,dropAccount:this.dropAccount,clearSortTimeout:this._clearSortTimeout,setSortTimeout:this._setSortTimeout,i18nStrings:this.props.i18nStrings,pageConfigs:this.props.pageConfigs,nicknameEditStatus:this.props.nicknameEditStatus,nicknameStatus:this.props.nicknameStatus,onEdit:this._handleEditNicknameLinkClick,nickNamelabel:this.props.i18nStrings.account_preferences_nickname_label,accountLabel:this.props.i18nStrings.account_preferences_account_name_label,ariaLabel:this.props.i18nStrings.account_preferences_show_account_label,help:this.props.i18nStrings.account_preferences_help}))}return t}},{key:"_renderAccountTableHeader",value:function(){var e=this.props.i18nStrings,t=this.props.pageConfigs.nicknamesEnabled,n=this.props.pageConfigs.hideAccountsEnabled,r=[];r.push(f.a.createElement("div",{className:"col-xs-2 col-sm-1 col-md-1"},f.a.createElement("span",{className:"cell first"},"\xa0")));var o="col-xs-10 col-sm-11 col-md-11",a="",i="";return t&&n?(o="col-xs-3 col-sm-3 col-md-3",a="col-xs-3 col-sm-3 col-md-3",i="col-xs-4 col-sm-5 col-md-5"):t?(o="col-xs-4 col-sm-4 col-md-4",i="col-xs-6 col-sm-7 col-md-7"):n&&(o="col-xs-7 col-sm-8 col-md-8",a="col-xs-3 col-sm-3 col-md-3"),r.push(f.a.createElement("div",{className:o},f.a.createElement("span",{className:"cell "+(t&&n?0:"last")},e.account_preferences_account_name_label))),t&&r.push(f.a.createElement("div",{className:i},f.a.createElement("span",{className:"cell"},e.account_preferences_nickname_label))),n&&r.push(f.a.createElement("div",{className:a},f.a.createElement("span",{className:"cell last"},e.account_preferences_show_account_label,f.a.createElement(te,{i18nStrings:e,top:"27",left:"-103",arrowLeft:"3",content:e.account_preferences_show_account_tooltip,ariaLabel:e.account_preferences_show_account_label+" "+e.account_preferences_help})))),f.a.createElement("div",{className:"brand-type-a-bg-10p row heading"},r)}},{key:"_renderPageTitle",value:function(){var e=this.props.i18nStrings;return f.a.createElement("div",null,f.a.createElement("div",{className:"page-header "+M.a.title},f.a.createElement("h1",{id:"accountPreferenceHeader"},e.account_preferences_page_title)),this._renderAccountSortError())}},{key:"_renderSubTitle",value:function(){var e=this.props.i18nStrings;this.props.pageConfigs.nicknamesEnabled;return f.a.createElement("div",{className:M.a["alert-container"]},f.a.createElement("div",{className:"text-light"},this.props.i18nStrings.account_preferences_page_subtitle1," "),f.a.createElement("div",{className:M.a["subtitle-container"]},f.a.createElement("div",{className:M.a["subtitle-icon"]},f.a.createElement(F.a,{name:"Info"})),f.a.createElement("div",{className:M.a["subtitle-content"]},e.account_preferences_page_subtitle2)))}},{key:"_renderAccountSortError",value:function(){return this.props.accountSortStatus===b.a.ERROR?f.a.createElement("div",{className:M.a["alert-container"],role:"alert","aria-live":"assertive"},f.a.createElement(be.a,{type:"danger",showIcon:!0,dangerouslySetInnerHTML:{__html:this.props.i18nStrings.account_preferences_update_error}})):null}},{key:"_renderAccountsButton",value:function(){return f.a.createElement("div",null,f.a.createElement("div",{className:M.a.divider}),f.a.createElement("div",{className:M.a["button-container"]},f.a.createElement(de,{pageConfigs:this.props.pageConfigs})))}},{key:"_renderLoading",value:function(){return f.a.createElement(ye.a,null)}},{key:"_renderError",value:function(){return f.a.createElement("div",{role:"alert","aria-live":"assertive","aria-atomic":"true"},this._renderPageTitle(),f.a.createElement(pe,{i18nStrings:this.props.i18nStrings}),this._renderAccountsButton())}},{key:"_renderSubuserError",value:function(){return f.a.createElement(Ee.a,{i18nStrings:this.props.i18nStrings})}},{key:"_renderEditNicknameModal",value:function(){var e=this.state.account;return f.a.createElement(A.Modal,{show:this.state.show,id:"editNicknamePopup","aria-describedby":"accountPreferencesContainer",fullScreen:!0},f.a.createElement(A.Modal.Header,{closeButton:!0,onHide:this._handleClose,"aria-labelledby":"editNicknamePopup"},f.a.createElement("h2",{className:M.a["edit-nickname-title"],tabIndex:"-1"},this.props.i18nStrings.account_preferences_edit_nickname_header),f.a.createElement("div",{className:M.a["edit-nickname-divider"]})),f.a.createElement($,{account:e,i18nStrings:this.props.i18nStrings,pageConfigs:this.props.pageConfigs,onSave:!0,onCancel:this._handleClose,isXSView:!0,referLabel:this.props.i18nStrings.account_preferences_edit_nickname_header}))}},{key:"_handleEditNicknameLinkClick",value:function(e){this.setState({account:e,show:!0})}},{key:"_handleClose",value:function(){this.setState({show:!1})}},{key:"_handleModalResize",value:function(){this.props.pageConfigs.breakpoint!=b.a.LAYOUT_XS&&this._handleClose()}}],[{key:"getStores",value:function(){return[_e]}},{key:"getPropsFromStores",value:function(){return Object(r.a)({},_e.getState())}}]),n}(p.Component))||fe,Ne={AccountPreferencesApp:_()(De)},Re=n(2134),Ae=["activeComponents"],Ie=function(e){Object(l.a)(n,e);var t=Object(d.a)(n);function n(e){return Object(c.a)(this,n),t.call(this,e)}
2return Object(u.a)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.contextPath,n=e.rftoken;T.a.getConfigurations(t,"preferences",{rftoken:n}),E.a.trackNewPage(S.a.ACCOUNT_PREFERENCESz)}},{key:"componentDidUpdate",value:function(e,t){e.status===m.LOADING&&this.props.status===m.SUCCESS&&D.a.getLocalizations.defer(this.props.contextPath,this.props.locale)}},{key:"componentWillUnmount",value:function(){T.a.reset(),D.a.reset()}},{key:"render",value:function(){return f.a.createElement("div",{className:"container"},this._renderContent())}},{key:"_renderContent",value:function(){return this.props.status===m.SUCCESS&&this.props.localizationStatus===m.SUCCESS?this._renderAccountPreferencesPage(Re):this.props.status===m.LOADING||this.props.status===m.SUCCESS&&this.props.localizationStatus===m.LOADING?this.props.renderDefaultLoading():this.props.renderDefaultError()}},{key:"_renderAccountPreferencesPage",value:function(e){var t=this.props.configs,n=t.activeComponents,r=Object(s.a)(t,Ae);return r.contextPath=this.props.contextPath,r.breakpoint=this.props.breakpoint,r.guid=this.props.guid,r.diId=this.props.diId,f.a.createElement(y.a,{breakpoint:this.props.breakpoint,components:n,layout:e,registry:Ne,pageConfigs:r,i18nStrings:this.props.i18nStrings})}}],[{key:"getStores",value:function(){return[C.a,N.a]}},{key:"getPropsFromStores",value:function(){return Object(r.a)(Object(r.a)({},C.a.getState()),N.a.getState())}}]),n}(p.Component),Me=Object(O.a)(_()(Ie)),we=n(1522),Pe=n(481),ke=n(1781),xe=f.a.createElement("div",{className:"layout-widget-skeleton"},f.a.createElement(a.a,{parentBGColor:"#FFFFFF"})),Le=function(e){var t=e.locale,n=e.resourceVersion,a=Object(p.useState)({}),s=Object(o.a)(a,2),c=s[0],u=s[1],l=window.dbk,d=(l.sessionInfo()||{}).isPrimaryUser,h=(l.sessionInfo()||{}).showAccountPreferenceWidgetUI,g="true"===sessionStorage.getItem("showAccountPreferenceWidgetUI"),v=sessionStorage.getItem("modernEnrollmentOption"),_=(Pe.a.getDBKSession()||{}).showAccountPreferenceWidgetUI;(h||g||_)&&(h=!0);var y=Object(r.a)({},c),m=y.sourceURL,b=y.rftoken,O=h||g,E="AUTO_ENROLL"===v;return Object(p.useEffect)((function(){E||(O?i.a.get("/accts-olb/v1/dbk-widget/account-preferences/config").then((function(e){var t=e.sourceUrl,n=e.rftoken;u({sourceURL:t,rftoken:n})})):i.a.get("/accts-olb/v1/preferences/config").then((function(e){var t=e.rftoken;!function(){var e=window.di||{};e.env=e.env||{},e.env.context="".concat(Object({NODE_ENV:"production",PUBLIC_URL:"/dbank/live/",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_BUILD_DATE_TIME:"1787655812000",REACT_APP_BUILD_VERSION:"26.7.0",REACT_APP_API_CONTEXT:"",REACT_APP_CONTEXT:"/dbank/live/"}).REACT_APP_SERVICES_URL||"").concat("")}(),u({rftoken:t})})))}),[h]),E?f.a.createElement(ke.default,null):b?O&&m?f.a.createElement(we.a,{messages:{},containerCls:"dbk-account-preferences",sourceUrl:m,extraWidgetProperties:{rftoken:b,isPrimaryUser:d},fallbackComponent:xe}):f.a.createElement(Me,{contextPath:"",rftoken:b,locale:t,resourceVersion:n}):null};Le.propTypes={locale:g.a.string.isRequired,resourceVersion:g.a.string.isRequired};t.default=Le}}]);
3//# sourceMappingURL=35.eaebe218.chunk.js.map

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