{"version":3,"sources":["webpack:///./node_modules/core-js/internals/get-substitution.js","webpack:///./src/services/api/generate-xml.service.ts","webpack:///../../../src/components/VOverlay/index.ts","webpack:///../../../src/mixins/groupable/index.ts","webpack:///../../../src/components/VList/VListItem.ts","webpack:///../../../src/mixins/applicationable/index.ts","webpack:///../../../src/mixins/mobile/index.ts","webpack:///../../../src/mixins/overlayable/index.ts","webpack:///../../../src/directives/touch/index.ts","webpack:///../../../src/components/VNavigationDrawer/VNavigationDrawer.ts","webpack:///./src/views/Home/Home.vue","webpack:///./src/services/api/category-purpose.service.ts","webpack:///./src/services/api/excel-data-manager.service.ts","webpack:///./node_modules/vue-text-highlight/dist/vue-text-highlight.esm.js","webpack:///./src/views/Home/Home.vue?efda","webpack:///./src/views/Home/Home.vue?7b18","webpack:///./src/views/Home/Home.vue?5dc8","webpack:///../../../src/mixins/routable/index.ts","webpack:///./src/services/api/user.service.ts","webpack:///./node_modules/core-js/internals/is-regexp.js","webpack:///./src/services/api/overview.service.ts","webpack:///./src/assets/CBILogoRed.png","webpack:///../../../src/directives/ripple/index.ts","webpack:///./node_modules/core-js/modules/es.string.replace-all.js","webpack:///./node_modules/core-js/internals/regexp-get-flags.js","webpack:///./src/views/Home/Home.vue?2572","webpack:///../../src/util/dom.ts","webpack:///../../../src/directives/click-outside/index.ts","webpack:///./node_modules/core-js/internals/regexp-flags.js","webpack:///../../../src/mixins/dependent/index.ts","webpack:///../../../src/mixins/ssr-bootable/index.ts","webpack:///../../../src/directives/resize/index.ts","webpack:///./node_modules/iban/iban.js","webpack:///./src/services/api/ordering-subject.service.ts","webpack:///../../../src/mixins/positionable/index.ts"],"names":["uncurryThis","toObject","floor","Math","charAt","replace","stringSlice","slice","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","module","exports","matched","str","position","captures","namedCaptures","replacement","tailPos","length","m","symbols","undefined","match","ch","capture","n","f","controller","GenerateXmlService","ApiService","constructor","super","process","GetDownloadXml","generateXml","firstTime","this","post","getMonthDownload","userID","getAll","clearMonthDownload","downloadXmlService","VOverlay","factory","namespace","child","parent","RegistrableInject","extend","name","props","activeClass","type","String","default","disabled","Boolean","data","isActive","computed","groupClasses","created","register","beforeDestroy","unregister","methods","toggle","e","preventDefault","$emit","Groupable","baseMixins","mixins","Colorable","Routable","Themeable","GroupableFactory","ToggleableFactory","directives","Ripple","inject","isInGroup","isInList","isInMenu","isInNav","inheritAttrs","listItemGroup","dense","inactive","link","selectable","tag","threeLine","twoLine","value","proxyClass","classes","options","call","isClickable","themeClasses","$attrs","hasOwnProperty","removed","click","detail","$el","blur","to","genAttrs","attrs","tabindex","role","id","_uid","inputValue","render","h","generateRouteLink","keydown","keyCode","keyCodes","enter","on","nativeOn","children","$scopedSlots","active","$slots","setTextColor","color","applicationable","events","PositionableFactory","app","applicationProperty","watch","x","prev","removeApplication","callUpdate","newVal","oldVal","$vuetify","application","activated","i","$watch","mounted","deactivated","destroyed","updateApplication","force","Vue","mobileBreakpoint","Number","breakpoint","validator","v","isNaN","includes","isMobile","mobile","width","mobileWidth","parseInt","isNumber","deprecate","hideOverlay","overlayColor","overlayOpacity","animationFrame","overlay","removeOverlay","genOverlay","createOverlay","propsData","absolute","opacity","$mount","parentNode","document","querySelector","insertBefore","firstChild","hideScroll","requestAnimationFrame","activeZIndex","zIndex","getZIndex","showScroll","addOnceEventListener","removeChild","$destroy","cancelAnimationFrame","scrollListener","target","tagName","isContentEditable","up","pageup","down","pagedown","deltaY","body","checkPath","hasScrollbar","el","nodeType","Node","ELEMENT_NODE","style","window","getComputedStyle","overflowY","scrollHeight","clientHeight","overflowX","scrollWidth","clientWidth","shouldScroll","hasAttribute","dir","shiftKey","deltaX","delta","alreadyAtStart","alreadyAtEnd","scrollTop","scrollLeft","scrollingUp","scrollingDown","isInside","path","composedPath","dialog","$refs","selected","getSelection","anchorNode","index","documentElement","content","smAndDown","classList","add","addPassiveEventListener","passive","addEventListener","remove","removeEventListener","handleGesture","wrapper","touchstartX","touchendX","touchstartY","touchendY","dirRatio","minDistance","offsetX","offsetY","abs","left","right","touchstart","event","touch","changedTouches","clientX","clientY","start","Object","assign","touchend","end","touchmove","touchmoveX","touchmoveY","move","createHandlers","inserted","binding","vnode","parentElement","handlers","_touchHandlers","context","keys","forEach","eventName","unbind","Touch","Applicationable","Dependent","Mobile","Overlayable","SSRBootable","ClickOutside","Resize","provide","bottom","clipped","disableResizeWatcher","disableRouteWatcher","expandOnHover","floating","height","miniVariant","miniVariantWidth","permanent","src","stateless","temporary","touchless","isMouseover","touchArea","stackMinZIndex","fixed","isMiniVariant","computedMaxHeight","hasApp","footer","bar","top","computedTop","computedTransform","isBottom","computedWidth","reactsToClick","reactsToMobile","reactsToResize","reactsToRoute","showOverlay","styles","translate","convertToUnit","maxHeight","transform","$route","val","init","updateMiniVariant","beforeMount","calculateTouchArea","parentRect","getBoundingClientRect","closeConditional","_isDestroyed","genAppend","genPosition","genBackground","image","img","$createElement","VImg","staticClass","genDirectives","handler","include","getOpenDependentElements","push","swipeLeft","swipeRight","genListeners","mouseenter","mouseleave","transitionend","currentTarget","resizeEvent","createEvent","initUIEvent","dispatchEvent","slot","getSlot","genPrepend","genContent","genBorder","onRouteChange","unshift","setBackgroundColor","class","rawName","_vm","drawerResize","expression","loadPage","staticStyle","downloadComplete","mini","$event","model","callback","isFormValid","_c","showAddOrderingSubject","orderingSubjectID","_v","$tc","categoryPurposeDescr","priorityValue","$$v","domProps","dateRequestMin","dateRequest","ref","fileNextStep","menuItems","uploadExcel","_s","scopedSlots","fn","item","tableIsVisible","drawerType","key","err","getWrongRows","disableModifyRow","proxy","_e","getCountriesAnomaliesInIban","beneficiaries","showAlertWrongImport","_u","fileExecute","file","customSearch","invalidRows","subjectName","filter","inEditing","fiscalCode","$set","iban","isRed","description","amount","display","requiredRule","locality","country","slotText","plainType","action","undoDialog","icon","hasNewXMLFormat","deleteDialog","removeForeignIban","removeChangesRow","ineditingDialog","staticRenderFns","CategoryPurposeService","GetCategoryPurpose","categoryPurposeService","ExcelDataManagerService","GetDataByExcel","formData","FormData","append","excelDataManagerService","nestRE","babelHelperVueJsxMergeProps","objs","reduce","a","b","aa","bb","nestedKey","temp","test","mergeFn","Array","isArray","concat","apply","arguments","unwrapExports","__esModule","prototype","createCommonjsModule","_iterStep","done","_iterators","toString","_cof","it","_iobject","propertyIsEnumerable","split","_defined","TypeError","_toIobject","_global","global","self","Function","__g","_core","core","version","__e","_aFunction","_ctx","that","c","_isObject","_anObject","_fails","exec","_descriptors","defineProperty","get","document$1","is","createElement","_domCreate","_ie8DomDefine","_toPrimitive","S","valueOf","dP","O","P","Attributes","_objectDp","_propertyDesc","bitmap","enumerable","configurable","writable","_hide","object","_has","PROTOTYPE","$export","source","own","out","IS_FORCED","F","IS_GLOBAL","G","IS_STATIC","IS_PROTO","IS_BIND","B","IS_WRAP","W","expProto","C","virtual","R","U","_export","_redefine","ceil","_toInteger","min","_toLength","max","min$1","_toAbsoluteIndex","_arrayIncludes","IS_INCLUDES","$this","fromIndex","_shared","SHARED","store","mode","copyright","px","random","shared","_sharedKey","arrayIndexOf","IE_PROTO","_objectKeysInternal","names","result","_enumBugKeys","_objectKeys","_objectDps","defineProperties","Properties","document$2","_html","IE_PROTO$1","Empty","PROTOTYPE$1","createDict","iframeDocument","iframe","lt","gt","appendChild","contentWindow","open","write","close","_objectCreate","create","_wks","Symbol","USE_SYMBOL","$exports","def","TAG","_setToStringTag","stat","IteratorPrototype","_iterCreate","Constructor","NAME","next","_toObject","IE_PROTO$2","ObjectProto","_objectGpo","getPrototypeOf","ITERATOR","BUGGY","FF_ITERATOR","KEYS","VALUES","returnThis","_iterDefine","Base","DEFAULT","IS_SET","FORCED","getMethod","kind","proto","DEF_VALUES","VALUES_BUG","$native","$default","$entries","$anyNative","entries","values","iterated","_t","_i","_k","Arguments","TO_STRING_TAG","DOMIterables","Collection","_stringAt","TO_STRING","pos","s","l","charCodeAt","$at","point","TAG$1","ARG","tryGet","_classof","T","callee","ITERATOR$1","core_isIterable","isIterable","isIterable$1","ITERATOR$2","core_getIteratorMethod","getIteratorMethod","core_getIterator","getIterator","iterFn","getIterator$1","slicedToArray","_isIterable3","_interopRequireDefault","_getIterator3","obj","sliceIterator","arr","_arr","_n","_d","_slicedToArray","_iterCall","iterator","ret","ITERATOR$3","ArrayProto","_isArrayIter","_createProperty","ITERATOR$4","SAFE_CLOSING","riter","from","_iterDetect","skipClosing","safe","iter","arrayLike","step","aLen","mapfn","mapping","from_1","from_1$1","toConsumableArray","_from2","arr2","_toConsumableArray","_objectSap","KEY","exp","keys$1","_Object$keys","isRegexp","input","flagMap","ignoreCase","multiline","dotAll","sticky","unicode","cloneRegexp","regex","flags","map","flag","join","clonedRegexp","RegExp","lastIndex","removeDiacritics","replacementList","base","chars","diacriticsMap","i$1","j","replacementList_1","diacriticsMap_1","diacritics","indicesOf","text","searchStringOrRegex","_ref","_ref$caseSensitive","caseSensitive","_ref$diacriticsSensit","diacriticsSensitive","re","_indices","offset","searchStringLen","indices","strCpy","searchStringCpy","toLocaleLowerCase","startIndex","indexOf","toArray","_toArray","mergeRange","_ref2","ranges","sort","fir","sec","merged","curStart","curEnd","shift","_ref3","_ref4","highlightChunks","queriesOrQuery","queries","matches","query","highlights","chunks","lastEnd","isHighlighted","highlightIndex","classAndStyleTypes","script","highlightStyle","highlightClass","highlightComponent","_this","attributes","setTextFromSlot","beforeUpdate","defaultSlot","$listeners","normalizeComponent","template","scopeId","isFunctionalTemplate","moduleIdentifier","shadowMode","createInjector","createInjectorSSR","createInjectorShadow","hook","_compiled","functional","_scopeId","$vnode","ssrContext","__VUE_SSR_CONTEXT__","_registeredComponents","_ssrRegister","$root","$options","shadowRoot","originalRender","existing","beforeCreate","normalizeComponent_1","isOldIE","navigator","userAgent","toLowerCase","addStyle","HEAD","head","getElementsByTagName","css","group","media","ids","Set","has","code","sources","btoa","unescape","encodeURIComponent","JSON","stringify","element","setAttribute","styleSheet","cssText","size","textNode","createTextNode","nodes","childNodes","browser","__vue_script__","__vue_inject_styles__","__vue_scope_id__","__vue_module_identifier__","__vue_is_functional_template__","TextHighlight","authModule","getModule","AuthModule","pageTitleModule","PageTitleModule","overlayModule","OverlayModule","searchBarModule","SearchBarModule","snackbarModule","SnackbarModule","component","DownloadComplete","Home","require","required","Date","toFormat","decimal","thousands","precision","beneficiariesCount","monthlyBeneficiaries","excelRowIndex","province","address","postalCode","city","isSelected","isValid","label","iconName","downloadModel","changedField","href","current","cellType","CellType","CUSTOM","rules","maxLenght","generalFiscalCode","loading","search","actions","tooltip","headers","mdAndUp","consumptionLocked","transfersUsed","difference","profileRoleID","breadcrumb","userName","userEmail","findDoubledBeneficiaries","bens","allIbans","doubledIbans","idx","findCountriesAnomaliesInIban","toUpperCase","getDoubleNumber","total","aggr","replaceAll","tempAmount","parseFloat","ris","toLocaleString","minimumFractionDigits","maximumFractionDigits","setVisibleAction","setBreadCrumb","toISOString","onClose","setProperty","userService","GetConsumptionLocked","GetNumTransfersByMonth","orderingSubjects","orderingSubjectService","ReadAll","orderingSubject","isDefault","categoryPurpose","headersForeignIban","tableOptions","lgAndUp","authenticate","Logout","$router","profileClicked","goHome","exists","foreignIban","removeForeignField","removeForeign","overviewService","then","set","error","countBeneficiaries","newBene","validateRow","addBeneficiaryToArray","response","status","showSnackbar","message","timer","parseAmount","beneficary","dismissable","uploadValue","$nextTick","triggerClick","beneficiary","duplicate","drawer","xmlBen","requestDate","userId","isInstant","fileName","hideSnackbar","newOrderingSubject","params","propOrderingSubject","openDialog","confirmDialog","downloadXml","closeDownloadComplete","selectWrong","selectedWrong","getDouble","selectedDuplicates","getCountriesAnomaliesIban","modifyRow","removeChanges","setTimeout","form","validate","checkIban","IBAN","IBANTTT","valid","saveChangesRow","arrayIndex","errorString","validForm","textOverflow","parseAmountSingle","y","errorStringLength","isMaxLengthBroken","checkForeignIban","startsWith","ben","countryCode","currentRoute","returnValue","trim","descrDialogError","deleteRow","splice","globalSearchChanged","globalSearch","goToPlans","payments","fastInputSanitize","__decorate","Watch","Component","components","exact","exactPath","exactActiveClass","nuxt","ripple","computedRipple","_a","isLink","getObjectValueByPath","UserService","GetPersonalData","UpdatePersonalData","personalDataChange","CheckPassword","oldPassword","ChangePassword","password","SendResetPswLink","CheckResetPswToken","token","ResetPassword","passwordReset","GetSubscription","SubscriptionDuration","ChangeAccountStatusByID","GetFuturePlan","GetBillingAddressByID","GetBillingAddressAdmin","UpdateBillingAddress","billingAddress","AdminUpdateBillingAddress","GetLogicallyDeletedById","PhysicalDeleteByID","GetAllUsers","loadOnlyEnabled","GetUserByID","UpdateUser","user","GetAppBarNotice","locale","GetShouldShowTutorial","isObject","classof","wellKnownSymbol","MATCH","isRegExp","OverviewService","GetOrderingSubjects","GetNumTransfersByYear","year","GetSubscriptionYears","DELAY_RIPPLE","webkitTransform","isTouchEvent","isKeyboardEvent","calculate","localX","localY","touches","radius","scale","_ripple","circle","center","sqrt","centerX","centerY","ripples","show","enabled","container","animation","className","dataset","previousPosition","performance","now","hide","getElementsByClassName","isHiding","diff","delay","isRippleEnabled","rippleShow","touched","rippleStop","isTouch","centered","showTimerCommit","showTimer","rippleHide","clearTimeout","rippleCancelShow","keyboardRipple","keyboardRippleShow","space","keyboardRippleHide","focusRippleHide","updateRipple","wasEnabled","removeListeners","directive","node","update","oldValue","bind","$","requireObjectCoercible","isCallable","getRegExpFlags","getSubstitution","IS_PURE","REPLACE","$TypeError","stringIndexOf","string","searchValue","replaceValue","IS_REG_EXP","replacer","searchString","functionalReplace","searchLength","advanceBy","endOfLastMatch","hasOwn","isPrototypeOf","regExpFlags","RegExpPrototype","attachedRoot","getRootNode","root","composed","defaultConditional","checkEvent","checkIsActive","ShadowRoot","host","elements","some","contains","_clickOutside","lastMousedownWasOutside","handleShadow","onClick","onMousedown","anObject","hasIndices","unicodeSets","searchChildren","results","isDependent","$children","closeDependents","openDependents","getOpenDependents","getClickableDependentElements","isBooted","_onResize","modifiers","quiet","fun","t","len","res","thisArg","A","Z","iso13616Prepare","substr","iso7064Mod97_10","block","remainder","parseStructure","structure","format","pattern","repeats","electronicFormat","NON_ALPHANUM","Specification","example","_regex","_cachedRegex","toBBAN","separator","fromBBAN","bban","isValidBBAN","Error","checkDigit","countries","addSpecification","EVERY_FOUR_CHARS","isString","countryStructure","printFormat","OrderingSubjectService","UserId","getAllById","AddOrderingSubjects","DeleteOrderingSubjects","idOrderingSubject","GetRoleAndTotSubject","GetNextPlan","oldTotalSubject","availableProps","filterObjectOnKeys"],"mappings":"2FAAA,IAAIA,EAAc,EAAQ,QACtBC,EAAW,EAAQ,QAEnBC,EAAQC,KAAKD,MACbE,EAASJ,EAAY,GAAGI,QACxBC,EAAUL,EAAY,GAAGK,SACzBC,EAAcN,EAAY,GAAGO,OAC7BC,EAAuB,8BACvBC,EAAgC,sBAIpCC,EAAOC,QAAU,SAAUC,EAASC,EAAKC,EAAUC,EAAUC,EAAeC,GAC1E,IAAIC,EAAUJ,EAAWF,EAAQO,OAC7BC,EAAIL,EAASI,OACbE,EAAUZ,EAKd,YAJsBa,IAAlBN,IACFA,EAAgBf,EAASe,GACzBK,EAAUb,GAELH,EAAQY,EAAaI,GAAS,SAAUE,EAAOC,GACpD,IAAIC,EACJ,OAAQrB,EAAOoB,EAAI,IACjB,IAAK,IAAK,MAAO,IACjB,IAAK,IAAK,OAAOZ,EACjB,IAAK,IAAK,OAAON,EAAYO,EAAK,EAAGC,GACrC,IAAK,IAAK,OAAOR,EAAYO,EAAKK,GAClC,IAAK,IACHO,EAAUT,EAAcV,EAAYkB,EAAI,GAAI,IAC5C,MACF,QACE,IAAIE,GAAKF,EACT,GAAU,IAANE,EAAS,OAAOH,EACpB,GAAIG,EAAIN,EAAG,CACT,IAAIO,EAAIzB,EAAMwB,EAAI,IAClB,OAAU,IAANC,EAAgBJ,EAChBI,GAAKP,OAA8BE,IAApBP,EAASY,EAAI,GAAmBvB,EAAOoB,EAAI,GAAKT,EAASY,EAAI,GAAKvB,EAAOoB,EAAI,GACzFD,EAETE,EAAUV,EAASW,EAAI,GA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NC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,IACNC,MAAO,YACN,CACDD,KAAM,IACNC,MAAO,oBACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,IACNC,MAAO,8CACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,IACNC,MAAO,aACN,CACDD,KAAM,IACNC,MAAO,SACN,CACDD,KAAM,IACNC,MAAO,oBACN,CACDD,KAAM,IACNC,MAAO,oBACN,CACDD,KAAM,IACNC,MAAO,kBACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,IACNC,MAAO,qCACN,CACDD,KAAM,IACNC,MAAO,WACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,IACNC,MAAO,aACN,CACDD,KAAM,IACNC,MAAO,QACN,CACDD,KAAM,IACNC,MAAO,kBACN,CACDD,KAAM,IACNC,MAAO,iBACN,CACDD,KAAM,IACNC,MAAO,uCACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,OACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,MACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,IACNC,MAAO,aACN,CACDD,KAAM,IACNC,MAAO,gBACN,CACDD,KAAM,IACNC,MAAO,oBACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,MACN,CACDD,KAAM,IACNC,MAAO,iCACN,CACDD,KAAM,IACNC,MAAO,QACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,MACNC,MAAO,KACN,CACDD,KAAM,MACNC,MAAO,KACN,CACDD,KAAM,IACNC,MAAO,kBACN,CACDD,KAAM,IACNC,MAAO,kBACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,IACNC,MAAO,uBACN,CACDD,KAAM,IACNC,MAAO,SACN,CACDD,KAAM,IACNC,MAAO,iBACN,CACDD,KAAM,IACNC,MAAO,uBACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,IACNC,MAAO,WACN,CACDD,KAAM,IACNC,MAAO,sBACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,IACNC,MAAO,+CACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,IACNC,MAAO,cACN,CACDD,KAAM,IACNC,MAAO,SACN,CACDD,KAAM,IACNC,MAAO,oBACN,CACDD,KAAM,IACNC,MAAO,qBACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,IACNC,MAAO,mBACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,IACNC,MAAO,qCACN,CACDD,KAAM,IACNC,MAAO,WACN,CACDD,KAAM,KACNC,MAAO,KACN,CACDD,KAAM,IACNC,MAAO,cACN,CACDD,KAAM,IACNC,MAAO,QACN,CACDD,KAAM,IACNC,MAAO,mBACN,CACDD,KAAM,IACNC,MAAO,kBAIPC,GAAgB,GACXC,GAAM,EAAGA,GAAMJ,GAAgBhtB,OAAQotB,IAAO,EAErD,IADA,IAAIF,GAAQF,GAAgBI,IAAKF,MACxBG,GAAI,EAAGA,GAAIH,GAAMltB,OAAQqtB,IAAK,EACrCF,GAAcD,GAAMG,KAAML,GAAgBI,IAAKH,KAInD,SAASF,GAAiBrtB,GACxB,OAAOA,EAAIR,QAAQ,qBAAqB,SAASuf,GAC/C,OAAO0O,GA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xW,KAAKI,OACV,GAAGb,+BAAwCiX,KAI/Cy0B,oBAAoBpS,GAClB,OAAO74B,KAAKC,KACPV,EAAH,QACAs5B,GAIJqS,uBAAuBC,GACrB,OAAOnrC,KAAKI,OAAa,GAAGb,YAAqB4rC,KAGnDC,uBACE,OAAOprC,KAAKI,OAA0Bb,EAAH,yBAGrC8rC,YAAYC,GACV,OAAOtrC,KAAKI,OACV,GAAGb,iCAA0C+rC,MAK5C,MAAM3S,EAAyB,IAAImS,G,kCC7C1C,8DAIA,MAAMS,EAAiB,CACrBziC,SAAUzH,QACVoP,OAAQpP,QACRqQ,MAAOrQ,QACP8M,KAAM9M,QACN+M,MAAO/M,QACP2Q,IAAK3Q,SAQD,SAAUb,EAASkM,EAAkB,IACzC,OAAOpF,aAAIzG,OAAO,CAChBC,KAAM,eACNC,MAAO2L,EAAS5N,OAAS0sC,eAAmBD,EAAgB7+B,GAAY6+B,IAI7D/qC","file":"js/home.e3d2ed53.js","sourcesContent":["var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","import { GenerateXml } from \"@/models/entities/generate-xml.interface\";\r\nimport { ApiService } from \"@zelando/vuelando\";\r\n\r\nconst controller = \"downloadxml\";\r\n\r\nclass GenerateXmlService extends ApiService {\r\n constructor() {\r\n super(process.env.VUE_APP_API_ENDPOINT);\r\n }\r\n\r\n GetDownloadXml(generateXml: GenerateXml, firstTime: boolean) {\r\n generateXml.firstTime = firstTime;\r\n return this.post(\r\n `${controller}/downloadxml`,\r\n generateXml\r\n );\r\n }\r\n\r\n getMonthDownload(userID: number) {\r\n return this.getAll(`${controller}/getMonthDownload/${userID}`);\r\n }\r\n\r\n clearMonthDownload(userID: number) {\r\n return this.post(\r\n `${controller}/clearMonthDownload/${userID}`,\r\n null\r\n );\r\n }\r\n}\r\n\r\nexport const downloadXmlService = new GenerateXmlService();\r\n","import VOverlay from './VOverlay'\n\nexport { VOverlay }\n\nexport default VOverlay\n","// Mixins\nimport { Registrable, inject as RegistrableInject } from '../registrable'\n\n// Utilities\nimport { ExtractVue } from '../../util/mixins'\nimport { VueConstructor } from 'vue'\nimport { PropValidator } from 'vue/types/options'\n\nexport type Groupable = VueConstructor> & {\n activeClass: string\n isActive: boolean\n disabled: boolean\n groupClasses: object\n toggle (e?: Event): void\n}>\n\nexport function factory (\n namespace: T,\n child?: string,\n parent?: string\n): Groupable {\n return RegistrableInject(namespace, child, parent).extend({\n name: 'groupable',\n\n props: {\n activeClass: {\n type: String,\n default (): string | undefined {\n if (!this[namespace]) return undefined\n\n return this[namespace].activeClass\n },\n } as any as PropValidator,\n disabled: Boolean,\n },\n\n data () {\n return {\n isActive: false,\n }\n },\n\n computed: {\n groupClasses (): object {\n if (!this.activeClass) return {}\n\n return {\n [this.activeClass]: this.isActive,\n }\n },\n },\n\n created () {\n this[namespace] && (this[namespace] as any).register(this)\n },\n\n beforeDestroy () {\n this[namespace] && (this[namespace] as any).unregister(this)\n },\n\n methods: {\n toggle (e?: Event) {\n if (this.disabled && e) {\n // Prevent keyboard actions\n // from children elements\n // within disabled tabs\n e.preventDefault()\n return\n }\n this.$emit('change')\n },\n },\n })\n}\n\n/* eslint-disable-next-line @typescript-eslint/no-redeclare */\nconst Groupable = factory('itemGroup')\n\nexport default Groupable\n","// Styles\nimport './VListItem.sass'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Routable from '../../mixins/routable'\nimport { factory as GroupableFactory } from '../../mixins/groupable'\nimport Themeable from '../../mixins/themeable'\nimport { factory as ToggleableFactory } from '../../mixins/toggleable'\n\n// Directives\nimport Ripple from '../../directives/ripple'\n\n// Utilities\nimport { keyCodes } from './../../util/helpers'\nimport { ExtractVue } from './../../util/mixins'\nimport { removed } from '../../util/console'\n\n// Types\nimport mixins from '../../util/mixins'\nimport { VNode } from 'vue'\nimport { PropType, PropValidator } from 'vue/types/options'\n\nconst baseMixins = mixins(\n Colorable,\n Routable,\n Themeable,\n GroupableFactory('listItemGroup'),\n ToggleableFactory('inputValue')\n)\n\ninterface options extends ExtractVue {\n $el: HTMLElement\n isInGroup: boolean\n isInList: boolean\n isInMenu: boolean\n isInNav: boolean\n}\n\n/* @vue/component */\nexport default baseMixins.extend().extend({\n name: 'v-list-item',\n\n directives: {\n Ripple,\n },\n\n inject: {\n isInGroup: {\n default: false,\n },\n isInList: {\n default: false,\n },\n isInMenu: {\n default: false,\n },\n isInNav: {\n default: false,\n },\n },\n\n inheritAttrs: false,\n\n props: {\n activeClass: {\n type: String,\n default (): string | undefined {\n if (!this.listItemGroup) return ''\n\n return this.listItemGroup.activeClass\n },\n } as any as PropValidator,\n dense: Boolean,\n inactive: Boolean,\n link: Boolean,\n selectable: {\n type: Boolean,\n },\n tag: {\n type: String,\n default: 'div',\n },\n threeLine: Boolean,\n twoLine: Boolean,\n value: null as any as PropType,\n },\n\n data: () => ({\n proxyClass: 'v-list-item--active',\n }),\n\n computed: {\n classes (): object {\n return {\n 'v-list-item': true,\n ...Routable.options.computed.classes.call(this),\n 'v-list-item--dense': this.dense,\n 'v-list-item--disabled': this.disabled,\n 'v-list-item--link': this.isClickable && !this.inactive,\n 'v-list-item--selectable': this.selectable,\n 'v-list-item--three-line': this.threeLine,\n 'v-list-item--two-line': this.twoLine,\n ...this.themeClasses,\n }\n },\n isClickable (): boolean {\n return Boolean(\n Routable.options.computed.isClickable.call(this) ||\n this.listItemGroup\n )\n },\n },\n\n created () {\n /* istanbul ignore next */\n if (this.$attrs.hasOwnProperty('avatar')) {\n removed('avatar', this)\n }\n },\n\n methods: {\n click (e: MouseEvent | KeyboardEvent) {\n if (e.detail) this.$el.blur()\n\n this.$emit('click', e)\n\n this.to || this.toggle()\n },\n genAttrs () {\n const attrs: Record = {\n 'aria-disabled': this.disabled ? true : undefined,\n tabindex: this.isClickable && !this.disabled ? 0 : -1,\n ...this.$attrs,\n }\n\n if (this.$attrs.hasOwnProperty('role')) {\n // do nothing, role already provided\n } else if (this.isInNav) {\n // do nothing, role is inherit\n } else if (this.isInGroup) {\n attrs.role = 'option'\n attrs['aria-selected'] = String(this.isActive)\n } else if (this.isInMenu) {\n attrs.role = this.isClickable ? 'menuitem' : undefined\n attrs.id = attrs.id || `list-item-${this._uid}`\n } else if (this.isInList) {\n attrs.role = 'listitem'\n }\n\n return attrs\n },\n toggle () {\n if (this.to && this.inputValue === undefined) {\n this.isActive = !this.isActive\n }\n this.$emit('change')\n },\n },\n\n render (h): VNode {\n let { tag, data } = this.generateRouteLink()\n\n data.attrs = {\n ...data.attrs,\n ...this.genAttrs(),\n }\n data[this.to ? 'nativeOn' : 'on'] = {\n ...data[this.to ? 'nativeOn' : 'on'],\n keydown: (e: KeyboardEvent) => {\n if (!this.disabled) {\n /* istanbul ignore else */\n if (e.keyCode === keyCodes.enter) this.click(e)\n\n this.$emit('keydown', e)\n }\n },\n }\n\n if (this.inactive) tag = 'div'\n if (this.inactive && this.to) {\n data.on = data.nativeOn\n delete data.nativeOn\n }\n\n const children = this.$scopedSlots.default\n ? this.$scopedSlots.default({\n active: this.isActive,\n toggle: this.toggle,\n })\n : this.$slots.default\n\n return h(tag, this.isActive ? this.setTextColor(this.color, data) : data, children)\n },\n})\n","import { factory as PositionableFactory } from '../positionable'\nimport { TargetProp } from 'vuetify/types/services/application'\n\n// Util\nimport mixins from '../../util/mixins'\n\nexport default function applicationable (value: TargetProp, events: string[] = []) {\n /* @vue/component */\n return mixins(PositionableFactory(['absolute', 'fixed'])).extend({\n name: 'applicationable',\n\n props: {\n app: Boolean,\n },\n\n computed: {\n applicationProperty (): TargetProp {\n return value\n },\n },\n\n watch: {\n // If previous value was app\n // reset the provided prop\n app (x: boolean, prev: boolean) {\n prev\n ? this.removeApplication(true)\n : this.callUpdate()\n },\n applicationProperty (newVal, oldVal) {\n this.$vuetify.application.unregister(this._uid, oldVal)\n },\n },\n\n activated () {\n this.callUpdate()\n },\n\n created () {\n for (let i = 0, length = events.length; i < length; i++) {\n this.$watch(events[i], this.callUpdate)\n }\n this.callUpdate()\n },\n\n mounted () {\n this.callUpdate()\n },\n\n deactivated () {\n this.removeApplication()\n },\n\n destroyed () {\n this.removeApplication()\n },\n\n methods: {\n callUpdate () {\n if (!this.app) return\n\n this.$vuetify.application.register(\n this._uid,\n this.applicationProperty,\n this.updateApplication()\n )\n },\n removeApplication (force = false) {\n if (!force && !this.app) return\n\n this.$vuetify.application.unregister(\n this._uid,\n this.applicationProperty\n )\n },\n updateApplication: () => 0,\n },\n })\n}\n","// Types\nimport { BreakpointName } from 'vuetify/types/services/breakpoint'\nimport { deprecate } from '../../util/console'\nimport Vue, { PropType } from 'vue'\n\n/* @vue/component */\nexport default Vue.extend({\n name: 'mobile',\n\n props: {\n mobileBreakpoint: {\n type: [Number, String] as PropType,\n default (): number | BreakpointName | undefined {\n // Avoid destroying unit\n // tests for users\n return this.$vuetify\n ? this.$vuetify.breakpoint.mobileBreakpoint\n : undefined\n },\n validator: v => (\n !isNaN(Number(v)) ||\n ['xs', 'sm', 'md', 'lg', 'xl'].includes(String(v))\n ),\n },\n },\n\n computed: {\n isMobile (): boolean {\n const {\n mobile,\n width,\n name,\n mobileBreakpoint,\n } = this.$vuetify.breakpoint\n\n // Check if local mobileBreakpoint matches\n // the application's mobileBreakpoint\n if (mobileBreakpoint === this.mobileBreakpoint) return mobile\n\n const mobileWidth = parseInt(this.mobileBreakpoint, 10)\n const isNumber = !isNaN(mobileWidth)\n\n return isNumber\n ? width < mobileWidth\n : name === this.mobileBreakpoint\n },\n },\n\n created () {\n /* istanbul ignore next */\n if (this.$attrs.hasOwnProperty('mobile-break-point')) {\n deprecate('mobile-break-point', 'mobile-breakpoint', this)\n }\n },\n})\n","// Components\nimport VOverlay from '../../components/VOverlay'\n\n// Utilities\nimport {\n keyCodes,\n addOnceEventListener,\n addPassiveEventListener,\n getZIndex,\n composedPath,\n} from '../../util/helpers'\n\n// Types\nimport Vue from 'vue'\n\ninterface Toggleable extends Vue {\n isActive?: boolean\n}\n\ninterface Stackable extends Vue {\n activeZIndex: number\n}\n\ninterface options {\n absolute?: boolean\n $refs: {\n dialog?: HTMLElement\n content?: HTMLElement\n }\n}\n\n/* @vue/component */\nexport default Vue.extend().extend({\n name: 'overlayable',\n\n props: {\n hideOverlay: Boolean,\n overlayColor: String,\n overlayOpacity: [Number, String],\n },\n\n data () {\n return {\n animationFrame: 0,\n overlay: null as InstanceType | null,\n }\n },\n\n watch: {\n hideOverlay (value) {\n if (!this.isActive) return\n\n if (value) this.removeOverlay()\n else this.genOverlay()\n },\n },\n\n beforeDestroy () {\n this.removeOverlay()\n },\n\n methods: {\n createOverlay () {\n const overlay = new VOverlay({\n propsData: {\n absolute: this.absolute,\n value: false,\n color: this.overlayColor,\n opacity: this.overlayOpacity,\n },\n })\n\n overlay.$mount()\n\n const parent = this.absolute\n ? this.$el.parentNode\n : document.querySelector('[data-app]')\n\n parent && parent.insertBefore(overlay.$el, parent.firstChild)\n\n this.overlay = overlay\n },\n genOverlay () {\n this.hideScroll()\n\n if (this.hideOverlay) return\n\n if (!this.overlay) this.createOverlay()\n\n this.animationFrame = requestAnimationFrame(() => {\n if (!this.overlay) return\n\n if (this.activeZIndex !== undefined) {\n this.overlay.zIndex = String(this.activeZIndex - 1)\n } else if (this.$el) {\n this.overlay.zIndex = getZIndex(this.$el)\n }\n\n this.overlay.value = true\n })\n\n return true\n },\n /** removeOverlay(false) will not restore the scollbar afterwards */\n removeOverlay (showScroll = true) {\n if (this.overlay) {\n addOnceEventListener(this.overlay.$el, 'transitionend', () => {\n if (\n !this.overlay ||\n !this.overlay.$el ||\n !this.overlay.$el.parentNode ||\n this.overlay.value ||\n this.isActive\n ) return\n\n this.overlay.$el.parentNode.removeChild(this.overlay.$el)\n this.overlay.$destroy()\n this.overlay = null\n })\n\n // Cancel animation frame in case\n // overlay is removed before it\n // has finished its animation\n cancelAnimationFrame(this.animationFrame)\n\n this.overlay.value = false\n }\n\n showScroll && this.showScroll()\n },\n scrollListener (e: WheelEvent | KeyboardEvent) {\n if ('key' in e) {\n if (\n ['INPUT', 'TEXTAREA', 'SELECT'].includes((e.target as Element).tagName) ||\n // https://github.com/vuetifyjs/vuetify/issues/4715\n (e.target as HTMLElement).isContentEditable\n ) return\n\n const up = [keyCodes.up, keyCodes.pageup]\n const down = [keyCodes.down, keyCodes.pagedown]\n\n if (up.includes(e.keyCode)) {\n (e as any).deltaY = -1\n } else if (down.includes(e.keyCode)) {\n (e as any).deltaY = 1\n } else {\n return\n }\n }\n\n if (e.target === this.overlay ||\n (e.type !== 'keydown' && e.target === document.body) ||\n this.checkPath(e as WheelEvent)) e.preventDefault()\n },\n hasScrollbar (el?: Element) {\n if (!el || el.nodeType !== Node.ELEMENT_NODE) return false\n\n const style = window.getComputedStyle(el)\n return ((['auto', 'scroll'].includes(style.overflowY!) || el.tagName === 'SELECT') && el.scrollHeight > el.clientHeight) ||\n ((['auto', 'scroll'].includes(style.overflowX!)) && el.scrollWidth > el.clientWidth)\n },\n shouldScroll (el: Element, e: WheelEvent): boolean {\n if (el.hasAttribute('data-app')) return false\n\n const dir = e.shiftKey || e.deltaX ? 'x' : 'y'\n const delta = dir === 'y' ? e.deltaY : e.deltaX || e.deltaY\n\n let alreadyAtStart: boolean\n let alreadyAtEnd: boolean\n if (dir === 'y') {\n alreadyAtStart = el.scrollTop === 0\n alreadyAtEnd = el.scrollTop + el.clientHeight === el.scrollHeight\n } else {\n alreadyAtStart = el.scrollLeft === 0\n alreadyAtEnd = el.scrollLeft + el.clientWidth === el.scrollWidth\n }\n\n const scrollingUp = delta < 0\n const scrollingDown = delta > 0\n\n if (!alreadyAtStart && scrollingUp) return true\n if (!alreadyAtEnd && scrollingDown) return true\n if ((alreadyAtStart || alreadyAtEnd) && el.parentNode) {\n return this.shouldScroll(el.parentNode as Element, e)\n }\n\n return false\n },\n isInside (el: Element, parent: Element): boolean {\n if (el === parent) {\n return true\n } else if (el === null || el === document.body) {\n return false\n } else {\n return this.isInside(el.parentNode as Element, parent)\n }\n },\n checkPath (e: WheelEvent) {\n const path = composedPath(e)\n\n if (e.type === 'keydown' && path[0] === document.body) {\n const dialog = this.$refs.dialog\n // getSelection returns null in firefox in some edge cases, can be ignored\n const selected = window.getSelection()!.anchorNode as Element\n if (dialog && this.hasScrollbar(dialog) && this.isInside(selected, dialog)) {\n return !this.shouldScroll(dialog, e)\n }\n return true\n }\n\n for (let index = 0; index < path.length; index++) {\n const el = path[index]\n\n if (el === document) return true\n if (el === document.documentElement) return true\n if (el === this.$refs.content) return true\n\n if (this.hasScrollbar(el as Element)) return !this.shouldScroll(el as Element, e)\n }\n\n return true\n },\n hideScroll () {\n if (this.$vuetify.breakpoint.smAndDown) {\n document.documentElement!.classList.add('overflow-y-hidden')\n } else {\n addPassiveEventListener(window, 'wheel', this.scrollListener, { passive: false })\n window.addEventListener('keydown', this.scrollListener)\n }\n },\n showScroll () {\n document.documentElement!.classList.remove('overflow-y-hidden')\n window.removeEventListener('wheel', this.scrollListener)\n window.removeEventListener('keydown', this.scrollListener)\n },\n },\n})\n","import { VNodeDirective, VNode } from 'vue/types/vnode'\nimport { keys } from '../../util/helpers'\nimport { TouchHandlers, TouchValue, TouchWrapper } from 'vuetify/types'\n\nexport interface TouchStoredHandlers {\n touchstart: (e: TouchEvent) => void\n touchend: (e: TouchEvent) => void\n touchmove: (e: TouchEvent) => void\n}\n\ninterface TouchVNodeDirective extends VNodeDirective {\n value?: TouchValue\n}\n\nconst handleGesture = (wrapper: TouchWrapper) => {\n const { touchstartX, touchendX, touchstartY, touchendY } = wrapper\n const dirRatio = 0.5\n const minDistance = 16\n wrapper.offsetX = touchendX - touchstartX\n wrapper.offsetY = touchendY - touchstartY\n\n if (Math.abs(wrapper.offsetY) < dirRatio * Math.abs(wrapper.offsetX)) {\n wrapper.left && (touchendX < touchstartX - minDistance) && wrapper.left(wrapper)\n wrapper.right && (touchendX > touchstartX + minDistance) && wrapper.right(wrapper)\n }\n\n if (Math.abs(wrapper.offsetX) < dirRatio * Math.abs(wrapper.offsetY)) {\n wrapper.up && (touchendY < touchstartY - minDistance) && wrapper.up(wrapper)\n wrapper.down && (touchendY > touchstartY + minDistance) && wrapper.down(wrapper)\n }\n}\n\nfunction touchstart (event: TouchEvent, wrapper: TouchWrapper) {\n const touch = event.changedTouches[0]\n wrapper.touchstartX = touch.clientX\n wrapper.touchstartY = touch.clientY\n\n wrapper.start &&\n wrapper.start(Object.assign(event, wrapper))\n}\n\nfunction touchend (event: TouchEvent, wrapper: TouchWrapper) {\n const touch = event.changedTouches[0]\n wrapper.touchendX = touch.clientX\n wrapper.touchendY = touch.clientY\n\n wrapper.end &&\n wrapper.end(Object.assign(event, wrapper))\n\n handleGesture(wrapper)\n}\n\nfunction touchmove (event: TouchEvent, wrapper: TouchWrapper) {\n const touch = event.changedTouches[0]\n wrapper.touchmoveX = touch.clientX\n wrapper.touchmoveY = touch.clientY\n\n wrapper.move && wrapper.move(Object.assign(event, wrapper))\n}\n\nfunction createHandlers (value: TouchHandlers): TouchStoredHandlers {\n const wrapper = {\n touchstartX: 0,\n touchstartY: 0,\n touchendX: 0,\n touchendY: 0,\n touchmoveX: 0,\n touchmoveY: 0,\n offsetX: 0,\n offsetY: 0,\n left: value.left,\n right: value.right,\n up: value.up,\n down: value.down,\n start: value.start,\n move: value.move,\n end: value.end,\n }\n\n return {\n touchstart: (e: TouchEvent) => touchstart(e, wrapper),\n touchend: (e: TouchEvent) => touchend(e, wrapper),\n touchmove: (e: TouchEvent) => touchmove(e, wrapper),\n }\n}\n\nfunction inserted (el: HTMLElement, binding: TouchVNodeDirective, vnode: VNode) {\n const value = binding.value!\n const target = value.parent ? el.parentElement : el\n const options = value.options || { passive: true }\n\n // Needed to pass unit tests\n if (!target) return\n\n const handlers = createHandlers(binding.value!)\n target._touchHandlers = Object(target._touchHandlers)\n target._touchHandlers![vnode.context!._uid] = handlers\n\n keys(handlers).forEach(eventName => {\n target.addEventListener(eventName, handlers[eventName] as EventListener, options)\n })\n}\n\nfunction unbind (el: HTMLElement, binding: TouchVNodeDirective, vnode: VNode) {\n const target = binding.value!.parent ? el.parentElement : el\n if (!target || !target._touchHandlers) return\n\n const handlers = target._touchHandlers[vnode.context!._uid]\n keys(handlers).forEach(eventName => {\n target.removeEventListener(eventName, handlers[eventName])\n })\n delete target._touchHandlers[vnode.context!._uid]\n}\n\nexport const Touch = {\n inserted,\n unbind,\n}\n\nexport default Touch\n","// Styles\nimport './VNavigationDrawer.sass'\n\n// Components\nimport VImg, { srcObject } from '../VImg/VImg'\n\n// Mixins\nimport Applicationable from '../../mixins/applicationable'\nimport Colorable from '../../mixins/colorable'\nimport Dependent from '../../mixins/dependent'\nimport Mobile from '../../mixins/mobile'\nimport Overlayable from '../../mixins/overlayable'\nimport SSRBootable from '../../mixins/ssr-bootable'\nimport Themeable from '../../mixins/themeable'\n\n// Directives\nimport ClickOutside from '../../directives/click-outside'\nimport Resize from '../../directives/resize'\nimport Touch from '../../directives/touch'\n\n// Utilities\nimport { convertToUnit, getSlot } from '../../util/helpers'\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode, VNodeDirective, PropType } from 'vue'\nimport { TouchWrapper } from 'vuetify/types'\n\nconst baseMixins = mixins(\n Applicationable('left', [\n 'isActive',\n 'isMobile',\n 'miniVariant',\n 'expandOnHover',\n 'permanent',\n 'right',\n 'temporary',\n 'width',\n ]),\n Colorable,\n Dependent,\n Mobile,\n Overlayable,\n SSRBootable,\n Themeable\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-navigation-drawer',\n\n directives: {\n ClickOutside,\n Resize,\n Touch,\n },\n\n provide (): object {\n return {\n isInNav: this.tag === 'nav',\n }\n },\n\n props: {\n bottom: Boolean,\n clipped: Boolean,\n disableResizeWatcher: Boolean,\n disableRouteWatcher: Boolean,\n expandOnHover: Boolean,\n floating: Boolean,\n height: {\n type: [Number, String],\n default (): string {\n return this.app ? '100vh' : '100%'\n },\n },\n miniVariant: Boolean,\n miniVariantWidth: {\n type: [Number, String],\n default: 56,\n },\n permanent: Boolean,\n right: Boolean,\n src: {\n type: [String, Object] as PropType,\n default: '',\n },\n stateless: Boolean,\n tag: {\n type: String,\n default (): string {\n return this.app ? 'nav' : 'aside'\n },\n },\n temporary: Boolean,\n touchless: Boolean,\n width: {\n type: [Number, String],\n default: 256,\n },\n value: null as unknown as PropType,\n },\n\n data: () => ({\n isMouseover: false,\n touchArea: {\n left: 0,\n right: 0,\n },\n stackMinZIndex: 6,\n }),\n\n computed: {\n /**\n * Used for setting an app value from a dynamic\n * property. Called from applicationable.js\n */\n applicationProperty (): string {\n return this.right ? 'right' : 'left'\n },\n classes (): object {\n return {\n 'v-navigation-drawer': true,\n 'v-navigation-drawer--absolute': this.absolute,\n 'v-navigation-drawer--bottom': this.bottom,\n 'v-navigation-drawer--clipped': this.clipped,\n 'v-navigation-drawer--close': !this.isActive,\n 'v-navigation-drawer--fixed': !this.absolute && (this.app || this.fixed),\n 'v-navigation-drawer--floating': this.floating,\n 'v-navigation-drawer--is-mobile': this.isMobile,\n 'v-navigation-drawer--is-mouseover': this.isMouseover,\n 'v-navigation-drawer--mini-variant': this.isMiniVariant,\n 'v-navigation-drawer--custom-mini-variant': Number(this.miniVariantWidth) !== 56,\n 'v-navigation-drawer--open': this.isActive,\n 'v-navigation-drawer--open-on-hover': this.expandOnHover,\n 'v-navigation-drawer--right': this.right,\n 'v-navigation-drawer--temporary': this.temporary,\n ...this.themeClasses,\n }\n },\n computedMaxHeight (): number | null {\n if (!this.hasApp) return null\n\n const computedMaxHeight = (\n this.$vuetify.application.bottom +\n this.$vuetify.application.footer +\n this.$vuetify.application.bar\n )\n\n if (!this.clipped) return computedMaxHeight\n\n return computedMaxHeight + this.$vuetify.application.top\n },\n computedTop (): number {\n if (!this.hasApp) return 0\n\n let computedTop = this.$vuetify.application.bar\n\n computedTop += this.clipped\n ? this.$vuetify.application.top\n : 0\n\n return computedTop\n },\n computedTransform (): number {\n if (this.isActive) return 0\n if (this.isBottom) return 100\n return this.right ? 100 : -100\n },\n computedWidth (): string | number {\n return this.isMiniVariant ? this.miniVariantWidth : this.width\n },\n hasApp (): boolean {\n return (\n this.app &&\n (!this.isMobile && !this.temporary)\n )\n },\n isBottom (): boolean {\n return this.bottom && this.isMobile\n },\n isMiniVariant (): boolean {\n return (\n !this.expandOnHover &&\n this.miniVariant\n ) || (\n this.expandOnHover &&\n !this.isMouseover\n )\n },\n isMobile (): boolean {\n return (\n !this.stateless &&\n !this.permanent &&\n Mobile.options.computed.isMobile.call(this)\n )\n },\n reactsToClick (): boolean {\n return (\n !this.stateless &&\n !this.permanent &&\n (this.isMobile || this.temporary)\n )\n },\n reactsToMobile (): boolean {\n return (\n this.app &&\n !this.disableResizeWatcher &&\n !this.permanent &&\n !this.stateless &&\n !this.temporary\n )\n },\n reactsToResize (): boolean {\n return !this.disableResizeWatcher && !this.stateless\n },\n reactsToRoute (): boolean {\n return (\n !this.disableRouteWatcher &&\n !this.stateless &&\n (this.temporary || this.isMobile)\n )\n },\n showOverlay (): boolean {\n return (\n !this.hideOverlay &&\n this.isActive &&\n (this.isMobile || this.temporary)\n )\n },\n styles (): object {\n const translate = this.isBottom ? 'translateY' : 'translateX'\n return {\n height: convertToUnit(this.height),\n top: !this.isBottom ? convertToUnit(this.computedTop) : 'auto',\n maxHeight: this.computedMaxHeight != null\n ? `calc(100% - ${convertToUnit(this.computedMaxHeight)})`\n : undefined,\n transform: `${translate}(${convertToUnit(this.computedTransform, '%')})`,\n width: convertToUnit(this.computedWidth),\n }\n },\n },\n\n watch: {\n $route: 'onRouteChange',\n isActive (val) {\n this.$emit('input', val)\n },\n /**\n * When mobile changes, adjust the active state\n * only when there has been a previous value\n */\n isMobile (val, prev) {\n !val &&\n this.isActive &&\n !this.temporary &&\n this.removeOverlay()\n\n if (prev == null ||\n !this.reactsToResize ||\n !this.reactsToMobile\n ) return\n\n this.isActive = !val\n },\n permanent (val) {\n // If enabling prop enable the drawer\n if (val) this.isActive = true\n },\n showOverlay (val) {\n if (val) this.genOverlay()\n else this.removeOverlay()\n },\n value (val) {\n if (this.permanent) return\n\n if (val == null) {\n this.init()\n return\n }\n\n if (val !== this.isActive) this.isActive = val\n },\n expandOnHover: 'updateMiniVariant',\n isMouseover (val) {\n this.updateMiniVariant(!val)\n },\n },\n\n beforeMount () {\n this.init()\n },\n\n methods: {\n calculateTouchArea () {\n const parent = this.$el.parentNode as Element\n\n if (!parent) return\n\n const parentRect = parent.getBoundingClientRect()\n\n this.touchArea = {\n left: parentRect.left + 50,\n right: parentRect.right - 50,\n }\n },\n closeConditional () {\n return this.isActive && !this._isDestroyed && this.reactsToClick\n },\n genAppend () {\n return this.genPosition('append')\n },\n genBackground () {\n const props = {\n height: '100%',\n width: '100%',\n src: this.src,\n }\n\n const image = this.$scopedSlots.img\n ? this.$scopedSlots.img(props)\n : this.$createElement(VImg, { props })\n\n return this.$createElement('div', {\n staticClass: 'v-navigation-drawer__image',\n }, [image])\n },\n genDirectives (): VNodeDirective[] {\n const directives = [{\n name: 'click-outside',\n value: {\n handler: () => { this.isActive = false },\n closeConditional: this.closeConditional,\n include: this.getOpenDependentElements,\n },\n }]\n\n if (!this.touchless && !this.stateless) {\n directives.push({\n name: 'touch',\n value: {\n parent: true,\n left: this.swipeLeft,\n right: this.swipeRight,\n },\n } as any)\n }\n\n return directives\n },\n genListeners () {\n const on: Record void> = {\n mouseenter: () => (this.isMouseover = true),\n mouseleave: () => (this.isMouseover = false),\n transitionend: (e: Event) => {\n if (e.target !== e.currentTarget) return\n this.$emit('transitionend', e)\n\n // IE11 does not support new Event('resize')\n const resizeEvent = document.createEvent('UIEvents')\n resizeEvent.initUIEvent('resize', true, false, window, 0)\n window.dispatchEvent(resizeEvent)\n },\n }\n\n if (this.miniVariant) {\n on.click = () => this.$emit('update:mini-variant', false)\n }\n\n return on\n },\n genPosition (name: 'prepend' | 'append') {\n const slot = getSlot(this, name)\n\n if (!slot) return slot\n\n return this.$createElement('div', {\n staticClass: `v-navigation-drawer__${name}`,\n }, slot)\n },\n genPrepend () {\n return this.genPosition('prepend')\n },\n genContent () {\n return this.$createElement('div', {\n staticClass: 'v-navigation-drawer__content',\n }, this.$slots.default)\n },\n genBorder () {\n return this.$createElement('div', {\n staticClass: 'v-navigation-drawer__border',\n })\n },\n init () {\n if (this.permanent) {\n this.isActive = true\n } else if (this.stateless ||\n this.value != null\n ) {\n this.isActive = this.value\n } else if (!this.temporary) {\n this.isActive = !this.isMobile\n }\n },\n onRouteChange () {\n if (this.reactsToRoute && this.closeConditional()) {\n this.isActive = false\n }\n },\n swipeLeft (e: TouchWrapper) {\n if (this.isActive && this.right) return\n this.calculateTouchArea()\n\n if (Math.abs(e.touchendX - e.touchstartX) < 100) return\n if (this.right &&\n e.touchstartX >= this.touchArea.right\n ) this.isActive = true\n else if (!this.right && this.isActive) this.isActive = false\n },\n swipeRight (e: TouchWrapper) {\n if (this.isActive && !this.right) return\n this.calculateTouchArea()\n\n if (Math.abs(e.touchendX - e.touchstartX) < 100) return\n if (!this.right &&\n e.touchstartX <= this.touchArea.left\n ) this.isActive = true\n else if (this.right && this.isActive) this.isActive = false\n },\n /**\n * Update the application layout\n */\n updateApplication () {\n if (\n !this.isActive ||\n this.isMobile ||\n this.temporary ||\n !this.$el\n ) return 0\n\n const width = Number(this.miniVariant ? this.miniVariantWidth : this.width)\n\n return isNaN(width) ? this.$el.clientWidth : width\n },\n updateMiniVariant (val: boolean) {\n if (this.expandOnHover && this.miniVariant !== val) this.$emit('update:mini-variant', val)\n },\n },\n\n render (h): VNode {\n const children = [\n this.genPrepend(),\n this.genContent(),\n this.genAppend(),\n this.genBorder(),\n ]\n\n if (this.src || getSlot(this, 'img')) children.unshift(this.genBackground())\n\n return h(this.tag, this.setBackgroundColor(this.color, {\n class: this.classes,\n style: this.styles,\n directives: this.genDirectives(),\n on: this.genListeners(),\n }), children)\n },\n})\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{name:\"resize\",rawName:\"v-resize\",value:(_vm.drawerResize),expression:\"drawerResize\"}],staticClass:\"home-container\"},[(_vm.loadPage)?_c('v-row',{staticStyle:{\"background-color\":\"var(--z-background-default)\"}},[(!_vm.downloadComplete)?_c('v-navigation-drawer',{staticStyle:{\"background-color\":\"var(--z-surface-neutral-default)\"},attrs:{\"permanent\":\"\",\"temporary\":_vm.$vuetify.breakpoint.mdAndDown && !_vm.mini,\"absolute\":\"\",\"bottom\":\"\",\"width\":\"368px\",\"mini-variant\":_vm.mini,\"height\":\"calc(100vh - 64px)\"},on:{\"update:miniVariant\":function($event){_vm.mini=$event},\"update:mini-variant\":function($event){_vm.mini=$event}},model:{value:(_vm.drawer),callback:function ($$v) {_vm.drawer=$$v},expression:\"drawer\"}},[(_vm.mini)?_c('v-list-item',[_c('z-plain-button',{staticClass:\"pa-0\",attrs:{\"type\":\"neutral\",\"iconOnly\":\"\",\"icon\":\"arrow-right\"},on:{\"click\":function($event){_vm.mini = !_vm.mini}}})],1):_vm._e(),(!_vm.mini)?_c('v-form',{staticClass:\"fill-height d-flex flex-column flex-nowrap cbi-form\",model:{value:(_vm.isFormValid),callback:function ($$v) {_vm.isFormValid=$$v},expression:\"isFormValid\"}},[_c('v-row',{staticClass:\"pl-16 py-4 pr-6 shrink\",attrs:{\"align\":\"center\",\"justify\":\"start\"}},[_c('v-col',{staticClass:\"z-heading-h6 text-on-background\",attrs:{\"cols\":\"10\"}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.Details\"))+\" \")]),(this.$vuetify.breakpoint.mdAndDown)?_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('z-plain-button',{attrs:{\"type\":\"neutral\",\"iconOnly\":\"\",\"icon\":\"arrow-left\"},on:{\"click\":function($event){_vm.mini = !_vm.mini}}})],1):_vm._e(),_c('v-col',{staticClass:\"pt-0 pb-2\",attrs:{\"cols\":\"12\"}},[(!_vm.showAddOrderingSubject && _vm.orderingSubject.length > 1)?_c('z-select',{attrs:{\"items\":_vm.orderingSubject,\"label\":_vm.$tc('home.OrderingSubject'),\"item-value\":\"orderingSubjectID\",\"item-text\":\"companyName\",\"rules\":[_vm.requiredRule],\"no-data-text\":_vm.$tc('home.NoData'),\"maxDisplay\":6,\"removeHintSpace\":\"\",\"width\":\"100%\"},model:{value:(_vm.orderingSubjectID),callback:function ($$v) {_vm.orderingSubjectID=$$v},expression:\"orderingSubjectID\"}}):_vm._e(),(!_vm.showAddOrderingSubject && _vm.orderingSubject.length == 1)?_c('v-row',[_c('v-col',{staticClass:\"text-on-background-medium z-label-bold pt-6 py-1\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.OrderingSubject\"))+\" \")]),_c('v-col',{staticClass:\"text-on-background z-body-regular pt-0 pb-6\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.orderingSubject[0].companyName)+\" \")])],1):_vm._e(),(_vm.showAddOrderingSubject)?_c('z-basic-button',{staticClass:\"mb-2\",attrs:{\"type\":\"primary-color\",\"icon\":\"plus\"},on:{\"click\":_vm.newOrderingSubject}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.AddOrderingSubjectBtn\"))+\" \")]):_vm._e()],1),_c('v-col',{staticClass:\"pt-0 pb-2\",attrs:{\"cols\":\"12\"}},[_c('z-autocomplete',{attrs:{\"items\":_vm.categoryPurpose,\"label\":_vm.$tc('home.Typology'),\"itemValue\":\"idCategoryPurpose\",\"itemText\":\"description\",\"rules\":[_vm.requiredRule],\"no-data-text\":_vm.$tc('home.NoData'),\"removeHintSpace\":\"\",\"errorMode\":\"icon\",\"width\":\"100%\"},on:{\"blur\":function($event){!_vm.categoryPurposeDescr ? (_vm.categoryPurposeDescr = 23) : null}},model:{value:(_vm.categoryPurposeDescr),callback:function ($$v) {_vm.categoryPurposeDescr=$$v},expression:\"categoryPurposeDescr\"}})],1),_c('v-col',{staticClass:\"pt-0 pb-2\",attrs:{\"cols\":\"12\"}},[_c('z-autocomplete',{attrs:{\"items\":_vm.priorityItems,\"label\":_vm.$tc('home.Priority'),\"rules\":[_vm.requiredRule],\"no-data-text\":_vm.$tc('home.NoData'),\"removeHintSpace\":\"\",\"errorMode\":\"icon\",\"width\":\"100%\"},model:{value:(_vm.priorityValue),callback:function ($$v) {_vm.priorityValue=$$v},expression:\"priorityValue\"}})],1),(_vm.priorityValue === 2)?_c('v-col',{staticClass:\"pt-0 pb-2 z-body-regular-small\",attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"new-format-table mod--banner mod--subdued\"},[_c('div',{staticClass:\"new-format-table--title\"},[_c('z-icon',{attrs:{\"fill\":\"var(--z-text-neutral-default)\",\"name\":\"warning-triangle\",\"height\":\"24px\",\"width\":\"24px\"}}),_c('span',[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.PriorityBannerTitle\"))+\" \")])],1),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.fastInputSanitize(_vm.$tc('home.PriorityBannerContent')))}})])]):_vm._e(),_c('v-col',{staticClass:\"pt-0 pb-3\",attrs:{\"cols\":\"12\"}},[_c('z-date-picker',{attrs:{\"rules\":[_vm.requiredRule],\"label\":_vm.$tc('home.Date'),\"min\":_vm.dateRequestMin,\"showTodayButton\":\"\",\"removeHintSpace\":\"\",\"width\":\"100%\"},model:{value:(_vm.dateRequest),callback:function ($$v) {_vm.dateRequest=$$v},expression:\"dateRequest\"}})],1),(_vm.tableIsVisible)?_c('v-col',{staticClass:\"fix-class\"},[_c('z-file-input',{ref:\"file\",staticClass:\"excel-file-input\",attrs:{\"accept\":[\n 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n 'application/vnd.ms-excel',\n ]},on:{\"change\":_vm.fileExecuteNextStep},model:{value:(_vm.fileNextStep),callback:function ($$v) {_vm.fileNextStep=$$v},expression:\"fileNextStep\"}}),_c('z-split-button',{staticClass:\"z-basic-button-menu;\",attrs:{\"menuItems\":_vm.menuItems,\"type\":\"neutral\"},on:{\"click\":function($event){return _vm.uploadExcel(true)}}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.ReplaceBeneficiaries\"))+\" \")])],1):_vm._e(),(_vm.tableIsVisible)?_c('v-col',{staticClass:\"pl-0 fix-class\",attrs:{\"cols\":\"auto\"}},[_c('z-plain-button',{attrs:{\"type\":\"neutral\",\"iconOnly\":\"\",\"menuItems\":_vm.threedots,\"icon\":\"dots-vertical\",\"menuPosition\":\"right\"},scopedSlots:_vm._u([{key:\"item\",fn:function({ item }){return [(item === _vm.threedots[0])?_c('z-list-item',{staticClass:\"pt-1 pb-1 pl-1 pr-1\",attrs:{\"label\":item.label,\"icon\":item.iconName},on:{\"click\":item.action}}):_vm._e(),(item === _vm.threedots[2])?_c('z-list-item',{staticClass:\"pb-1 pt-1 pl-1 pr-1\",attrs:{\"label\":item.label,\"icon\":item.iconName},on:{\"click\":item.action}},[_c('z-toggle',{attrs:{\"size\":\"extra-small\",\"label\":item.label},model:{value:(_vm.toggle),callback:function ($$v) {_vm.toggle=$$v},expression:\"toggle\"}})],1):_vm._e()]}}],null,false,2624333196)})],1):_vm._e()],1),(!_vm.tableIsVisible)?_c('v-row',{staticClass:\"drawer-row drawer-no-beneficiaries-row\",class:_vm.drawerType,attrs:{\"align\":\"center\"}},[_c('v-col',{staticClass:\"z-heading-h5 title-color\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.DrawerNoBeneficiaries\"))+\" \")])],1):_vm._e(),_c('v-col',{class:_vm.drawerType},[(_vm.tableIsVisible)?_c('v-row',{staticClass:\"drawer-row pt-4 shrink\"},[_c('v-col',{staticClass:\"z-heading-h6\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.ExportLable\"))+\" \")]),_c('v-col',{staticClass:\"z-body-regular-small\"},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.TotalTranfers\"))+\" \")]),_c('v-col',{staticClass:\"z-body-bold\",attrs:{\"cols\":\"auto\"}},[_vm._v(\" \"+_vm._s(_vm.beneficiaries.length)+\" \")])],1):_vm._e(),(_vm.tableIsVisible)?_c('v-row',{staticClass:\"drawer-row pt-0 mt-0 shrink\"},[_c('v-col',{staticClass:\"z-body-regular-small\"},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.TotalAmount\"))+\" \")]),_c('v-col',{staticClass:\"z-body-bold\",attrs:{\"cols\":\"auto\"}},[_c('span',[_vm._v(_vm._s(\"€ \" + _vm.totalAmount)+\" \")])])],1):_vm._e(),(_vm.tableIsVisible)?_c('v-row',{staticClass:\"drawer-row drawer-central-row grow\",attrs:{\"align\":\"center\"}},[_c('v-col',[(\n this.beneficiaries.filter((x) => x.isValid == false)\n .length == 0 &&\n _vm.isFormValid == true &&\n this.orderingSubject.length == 0\n )?_c('div',{staticClass:\"py-4 z-heading-h5\"},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.AddOrderingSubjectToExport\"))+\" \")]):_vm._e(),(this.getWrongRows > 0)?_c('div',[_c('div',{staticClass:\"mod--xml-error-box z-body-regular-small\"},[_c('div',{staticClass:\"mb-2\"},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.ResolveErrors\"))+\" \")]),_c('ul',_vm._l((_vm.descrDialogError),function(err){return _c('li',{key:err},[_vm._v(\" \"+_vm._s(err)+\" \")])}),0)]),_c('z-alert',{staticClass:\"my-4\",attrs:{\"hideProgressBar\":\"\",\"width\":\"100%\",\"type\":\"error\",\"clickable\":true,\"message\":_vm.getWrongRows +\n ' ' +\n _vm.$tc('home.InvalidFields', _vm.getWrongRows == 1 ? 1 : 2)},on:{\"alertClick\":function($event){_vm.disableModifyRow\n ? (_vm.ineditingDialog = true)\n : _vm.selectWrong()}},scopedSlots:_vm._u([{key:\"append\",fn:function(){return [_c('z-icon',{attrs:{\"name\":\"search\",\"fill\":\"var(--z-text-neutral-default)\"}})]},proxy:true}],null,false,2482419190)})],1):_vm._e(),(this.getDoubleNumber > 0)?_c('div',[_c('z-alert',{attrs:{\"hideProgressBar\":\"\",\"width\":\"100%\",\"type\":\"warning\",\"clickable\":true,\"message\":_vm.getDoubleNumber +\n ' ' +\n _vm.$tc(\n 'home.DuplicatedBeneficiaries',\n _vm.getDoubleNumber == 1 ? 1 : 2\n )},on:{\"alertClick\":function($event){_vm.disableModifyRow ? (_vm.ineditingDialog = true) : _vm.getDouble()}},scopedSlots:_vm._u([{key:\"append\",fn:function({}){return [_c('z-icon',{attrs:{\"name\":\"search\",\"fill\":\"var(--z-text-neutral-default)\"}})]}}],null,false,1447221532)})],1):_vm._e(),(this.getCountriesAnomaliesInIban > 0)?_c('div',{staticClass:\"pt-4\"},[_c('z-alert',{attrs:{\"hideProgressBar\":\"\",\"width\":\"100%\",\"type\":\"warning\",\"clickable\":true,\"message\":_vm.getCountriesAnomaliesInIban +\n ' ' +\n _vm.$tc(\n 'home.AnomaliesCountriesBeneficiaries',\n _vm.getDoubleNumber == 1 ? 1 : 2\n )},on:{\"alertClick\":function($event){_vm.disableModifyRow\n ? (_vm.ineditingDialog = true)\n : _vm.getCountriesAnomaliesIban()}},scopedSlots:_vm._u([{key:\"append\",fn:function({}){return [_c('z-icon',{attrs:{\"name\":\"search\",\"fill\":\"var(--z-text-neutral-default)\"}})]}}],null,false,1447221532)})],1):_vm._e(),(\n this.beneficiaries.filter((x) => x.isValid == false)\n .length == 0 &&\n _vm.isFormValid == true &&\n this.orderingSubject.length > 0 &&\n this.beneficiaries.length > 0\n )?_c('div',{staticClass:\"pt-4\"},[_c('z-basic-button',{attrs:{\"size\":\"jumbo\",\"icon\":\"download\",\"type\":\"neutral\",\"width\":\"100%\"},on:{\"click\":function($event){_vm.disableModifyRow ? (_vm.ineditingDialog = true) : _vm.openDialog()}}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.GenerateXml\"))+\" \")])],1):_vm._e()])],1):_vm._e(),(_vm.transfersUsed?.monthlyBeneficiaries != -1)?_c('v-row',{staticClass:\"drawer-row pb-4 shrink\"},[_c('v-col',{staticClass:\"z-body-regular-small\"},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.LeftTransfers\"))+\" \")])]),_c('v-col',{staticClass:\"z-body-bold\",attrs:{\"cols\":\"auto\"}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.transfersUsed?.difference)+\" \")])]),(_vm.showLinkDifference)?_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('z-link',{staticClass:\"z-body-bold-small\",on:{\"click\":_vm.goToPlans}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.FreeFinishedLink\"))+\" \")])],1):_vm._e()],1):_vm._e()],1)],1):_vm._e()],1):_vm._e(),_c('v-col',{class:_vm.$vuetify.breakpoint.mdAndDown\n ? 'pa-0 custom-col-small'\n : 'pa-0 custom-col-large'},[(!_vm.downloadComplete && !_vm.tableIsVisible)?_c('div',[(_vm.consumptionLocked)?_c('v-row',{staticClass:\"pt-12 mt-12 pa-0 pa-0 custom-col-no-table\"},[_c('v-col',[_c('v-row',[_c('v-col',{staticClass:\"z-heading-h6 title-color\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.LicenceExpiredBlockHome\"))+\" \")]),_c('v-col',{staticClass:\"mb-8 z-body-regular text-on-background\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.LicenceExpiredBlockHomeDescr\"))+\" \")]),_c('v-col',{staticClass:\"mb-8\",attrs:{\"cols\":\"12\"}},[_c('z-basic-button',{attrs:{\"type\":\"primary-color\"},on:{\"click\":_vm.goToPlans}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.LicenceExpiredUpdate\"))+\" \")])],1)],1)],1)],1):_vm._e(),(!_vm.consumptionLocked && _vm.transfersUsed.difference === 0)?_c('v-row',{staticClass:\"pt-12 mt-12 pa-0 pa-0 custom-col-no-table\"},[_c('v-col',[_c('v-row',[_c('v-col',{staticClass:\"z-heading-h6 title-color\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.NoTransfersLeft\"))+\" \")]),_c('v-col',{staticClass:\"mb-8 z-body-regular text-on-background\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.NoTransfersLeftDescr\"))+\" \")])],1)],1)],1):_vm._e(),(\n _vm.showAddOrderingSubject &&\n !_vm.consumptionLocked &&\n _vm.transfersUsed.difference !== 0\n )?_c('v-row',{staticClass:\"pt-12 mt-12 pa-0 pa-0 custom-col-no-table\"},[_c('v-col',[_c('v-row',[_c('v-col',{staticClass:\"z-heading-h6 title-color\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.StillNoOrderingSubjects\"))+\" \")]),_c('v-col',{staticClass:\"mb-8 z-body-regular text-on-background\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.AddOrderingSubject\"))+\" \")])],1),(_vm.showAlertWrongImport)?_c('v-row',{staticClass:\"pt-12\"},[_c('v-col',[_c('z-alert',{attrs:{\"message\":\"\",\"dismissable\":\"\",\"type\":\"error\"},on:{\"dismiss\":function($event){_vm.showAlertWrongImport = false}},scopedSlots:_vm._u([{key:\"append\",fn:function({}){return [_c('v-col',{staticClass:\"text-on-background z-body-regular-small\"},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.WrongImport\"))+\" \")])]}}],null,false,850542851)})],1)],1):_vm._e()],1)],1):_vm._e(),(\n !_vm.showAddOrderingSubject &&\n !_vm.consumptionLocked &&\n _vm.transfersUsed.difference !== 0\n )?_c('v-row',{staticClass:\"pt-12 mt-12 pa-0 custom-col-no-table\"},[_c('v-col',[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"z-heading-h6 title-color\",staticStyle:{\"width\":\"100%\",\"margin-bottom\":\"8px\"}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.AddBeneficiaryLable\"))+\" \")]),_c('div',{staticClass:\"mb-3 z-body-regular-small text-on-background\"},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.UseOurModel\"))+\" \")])]),_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('z-basic-button',{attrs:{\"icon\":\"download\",\"type\":\"neutral\"},on:{\"click\":_vm.downloadModel}},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.DownloadModelBtn\"))+\" \")])],1),_c('v-col',[_c('z-upload',{attrs:{\"type\":\"button\",\"accept\":_vm.fileExtension,\"buttonText\":_vm.$tc('home.UploadExcel'),\"buttonType\":\"primary-color\"},on:{\"change\":_vm.fileExecute},model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}})],1),(new Date().isBefore('01/05/2030'.toDate('dd/MM/yyyy')))?_c('div',{staticClass:\"col col-12\"},[_c('div',{staticClass:\"new-format-table mod--banner\"},[_c('div',{staticClass:\"new-format-table--title\"},[_c('z-icon',{attrs:{\"fill\":\"var(--z-icon-warning-default)\",\"name\":\"warning-triangle\",\"height\":\"27px\",\"width\":\"27px\"}}),_c('span',[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.NewModelBannerTitle\"))+\" \")])],1),_c('span',{staticClass:\"z-body-regular-small\",domProps:{\"innerHTML\":_vm._s(\n _vm.fastInputSanitize(_vm.$tc('home.NewModelBannerContent'))\n )}})])]):_vm._e(),(new Date().isBefore('01/05/2030'.toDate('dd/MM/yyyy')))?_c('div',{staticClass:\"col col-12\"},[_c('div',{staticClass:\"new-format-table mod--banner\"},[_c('span',{staticClass:\"z-body-regular-small\",domProps:{\"innerHTML\":_vm._s(\n _vm.fastInputSanitize(\n _vm.$tc('home.NewModelBannerContent_v2024')\n )\n )}})])]):_vm._e()],1),(_vm.showAlertWrongImport)?_c('v-row',{staticClass:\"pt-12\"},[_c('v-col',[_c('z-alert',{attrs:{\"message\":\"\",\"dismissable\":_vm.showAlertWrongImport,\"type\":\"error\"},on:{\"dismiss\":function($event){_vm.showAlertWrongImport = false}},scopedSlots:_vm._u([{key:\"append\",fn:function({}){return [_c('v-col',{staticClass:\"z-body-regular-small text-on-background\"},[_vm._v(\" \"+_vm._s(_vm.$tc(\"home.WrongImport\"))+\" \")])]}}],null,false,1930716675)})],1)],1):_vm._e()],1)],1):_vm._e()],1):_vm._e(),(!_vm.downloadComplete)?_c('div',[_c('v-row',[_c('v-col',{staticClass:\"pa-0\"},[_c('v-form',{ref:\"form\",staticClass:\"fill-height\"},[(_vm.tableIsVisible)?_c('z-data-table',{ref:\"datatable\",class:{\n 'cbi-table': true,\n 'hide-checkbox': _vm.inEditing !== null,\n },style:(_vm.$vuetify.breakpoint.mdAndDown\n ? 'background-color: var(--z-background-alternate); width: calc(100vw - 56px)'\n : 'background-color: var(--z-background-alternate); width: calc(100vw - 368px)'),attrs:{\"hideFooter\":\"\",\"selectedItems\":_vm.invalidRows,\"items\":_vm.tableOptions,\"no-data-text\":_vm.$tc('home.NoData'),\"hideSearchbar\":\"\",\"type\":\"editable\",\"hideDrawerMenu\":\"false\",\"items-per-page\":_vm.tableOptions.itemsPerPage,\"rowHeight\":\"24px\",\"customFilter\":_vm.customSearch,\"noResultsText\":_vm.$tc('vuelando.NoDataText')},on:{\"update:selectedItems\":function($event){_vm.invalidRows=$event},\"update:selected-items\":function($event){_vm.invalidRows=$event},\"edit\":function($event){_vm.disableModifyRow\n ? (_vm.ineditingDialog = true)\n : (_vm.deleteDialog = true)}},scopedSlots:_vm._u([{key:\"formValidator\",fn:function({ item }){return [_c('div',{staticStyle:{\"width\":\"10px\"}},[(\n item === _vm.inEditing ? _vm.inEditing.isValid : item.isValid\n )?_c('z-tag',{attrs:{\"type\":\"success\"}}):_c('z-tag',{attrs:{\"type\":\"error\"}})],1)]}},{key:\"subjectName\",fn:function({ item, value }){return [(item === _vm.inEditing)?_c('z-text-field',{attrs:{\"rules\":item['rules']\n ? item['rules'].subjectName\n ? item['rules'].subjectName\n : _vm.headers.filter((x) => x.value == 'subjectName')[0]\n .rules\n : _vm.headers.filter((x) => x.value == 'subjectName')[0]\n .rules\n ? _vm.headers.filter((x) => x.value == 'subjectName')[0]\n .rules\n : [],\"type\":_vm.headers.filter((x) => x.value == 'subjectName')[0]\n .fieldType,\"removeHintSpace\":\"\",\"removeLabelSpace\":\"\",\"errorMode\":\"icon\",\"width\":\"250px\"},model:{value:(item.subjectName),callback:function ($$v) {_vm.$set(item, \"subjectName\", $$v)},expression:\"item.subjectName\"}}):_c('div',{staticStyle:{\"min-width\":\"50px\",\"width\":\"max-content\",\"max-width\":\"200px\"}},[(\n item.isRed.filter((x) => x == 'subjectName').length ==\n 0\n )?_c('text-highlight',{attrs:{\"queries\":_vm.globalSearch}},[_vm._v(\" \"+_vm._s(value ? value : \"--\")+\" \")]):_c('text-highlight',{staticStyle:{\"color\":\"red\"},attrs:{\"queries\":_vm.globalSearch}},[_vm._v(\" \"+_vm._s(value ? value : \"--\")+\" \")])],1)]}},{key:\"fiscalCode\",fn:function({ item, value }){return [(item === _vm.inEditing)?_c('z-text-field',{attrs:{\"rules\":item.fiscalCode != null && item.fiscalCode.length == 11\n ? []\n : item['rules']\n ? item['rules'].fiscalCode\n ? item['rules'].fiscalCode\n : _vm.headers.filter((x) => x.value == 'fiscalCode')[0]\n .rules\n : _vm.headers.filter((x) => x.value == 'fiscalCode')[0]\n .rules\n ? _vm.headers.filter((x) => x.value == 'fiscalCode')[0]\n .rules\n : [],\"type\":_vm.headers.filter((x) => x.value == 'fiscalCode')[0]\n .fieldType,\"width\":\"200px\",\"removeHintSpace\":\"\",\"removeLabelSpace\":\"\",\"errorMode\":\"icon\"},model:{value:(item.fiscalCode),callback:function ($$v) {_vm.$set(item, \"fiscalCode\", $$v)},expression:\"item.fiscalCode\"}}):_c('div',{staticStyle:{\"min-width\":\"100px\",\"width\":\"max-content\",\"max-width\":\"150px\"}},[(\n item.isRed.filter((x) => x == 'fiscalCode').length ==\n 0\n )?_c('text-highlight',{attrs:{\"queries\":_vm.globalSearch}},[_vm._v(\" \"+_vm._s(value ? value : \"--\")+\" \")]):_c('text-highlight',{staticStyle:{\"color\":\"red\"},attrs:{\"queries\":_vm.globalSearch}},[_vm._v(\" \"+_vm._s(value ? value : \"--\")+\" \")])],1)]}},{key:\"iban\",fn:function({ item, value }){return [(item == _vm.inEditing)?_c('z-text-field',{attrs:{\"rules\":_vm.checkIban(item.iban),\"type\":_vm.headers.filter((x) => x.value == 'iban')[0].fieldType,\"width\":\"300px\",\"removeHintSpace\":\"\",\"removeLabelSpace\":\"\",\"errorMode\":\"icon\"},model:{value:(item.iban),callback:function ($$v) {_vm.$set(item, \"iban\", $$v)},expression:\"item.iban\"}}):_c('div',{staticStyle:{\"min-width\":\"100px\"}},[(item.isRed.filter((x) => x == 'iban').length == 0)?_c('text-highlight',{attrs:{\"queries\":_vm.globalSearch}},[_vm._v(\" \"+_vm._s(value ? value : \"--\")+\" \")]):_c('text-highlight',{staticStyle:{\"color\":\"red\"},attrs:{\"queries\":_vm.globalSearch}},[_vm._v(\" \"+_vm._s(value ? value : \"--\")+\" \")])],1)]}},{key:\"description\",fn:function({ item, value }){return [(item == _vm.inEditing)?_c('z-text-field',{attrs:{\"rules\":item['rules']\n ? item['rules'].description\n ? item['rules'].description\n : _vm.headers.filter((x) => x.value == 'description')[0]\n .rules\n : _vm.headers.filter((x) => x.value == 'description')[0]\n .rules\n ? _vm.headers.filter((x) => x.value == 'description')[0]\n .rules\n : [],\"type\":_vm.headers.filter((x) => x.value == 'description')[0]\n .fieldType,\"width\":\"500px\",\"removeHintSpace\":\"\",\"removeLabelSpace\":\"\",\"errorMode\":\"icon\"},model:{value:(item.description),callback:function ($$v) {_vm.$set(item, \"description\", $$v)},expression:\"item.description\"}}):_c('div',{staticStyle:{\"min-width\":\"100px\",\"width\":\"max-content\",\"max-width\":\"300px\"}},[_c('text-highlight',{attrs:{\"queries\":_vm.globalSearch}},[_vm._v(\" \"+_vm._s(value ? value : \"--\")+\" \")])],1)]}},{key:\"amount\",fn:function({ item, value }){return [(item == _vm.inEditing)?_c('z-text-field',{directives:[{name:\"money\",rawName:\"v-money\",value:(_vm.money),expression:\"money\"}],attrs:{\"rules\":item['rules']\n ? item['rules'].amount\n ? item['rules'].amount\n : _vm.headers.filter((x) => x.value == 'amount')[0]\n .rules\n : _vm.headers.filter((x) => x.value == 'amount')[0].rules\n ? _vm.headers.filter((x) => x.value == 'amount')[0].rules\n : [],\"type\":_vm.headers.filter((x) => x.value == 'amount')[0].fieldType,\"width\":\"150px\",\"removeHintSpace\":\"\",\"removeLabelSpace\":\"\",\"errorMode\":\"icon\"},model:{value:(item.amount),callback:function ($$v) {_vm.$set(item, \"amount\", $$v)},expression:\"item.amount\"}}):_c('div',{style:({\n 'min-width': '10px',\n 'max-width': '100px',\n display: 'flex',\n 'flex-direction': 'row',\n 'justify-content': 'space-between',\n 'flex-wrap': 'nowrap',\n width: '100%',\n })},[_c('div',[_vm._v(\"€\")]),_c('text-highlight',{attrs:{\"queries\":_vm.globalSearch}},[_vm._v(\" \"+_vm._s(value ? value : \"--\")+\" \")])],1)]}},{key:\"locality\",fn:function({ item, value }){return [(item == _vm.inEditing)?_c('z-text-field',{staticClass:\"mod--remove_hint_space\",attrs:{\"type\":_vm.headers.filter((x) => x.value == 'locality')[0]\n .fieldType,\"width\":\"200px\",\"removeHintSpace\":\"\",\"removeLabelSpace\":\"\",\"errorMode\":\"icon\",\"rules\":[_vm.requiredRule]},model:{value:(item.locality),callback:function ($$v) {_vm.$set(item, \"locality\", $$v)},expression:\"item.locality\"}}):_c('div',{staticStyle:{\"min-width\":\"20px\",\"width\":\"max-content\",\"max-width\":\"200px\"}},[_c('text-highlight',{attrs:{\"queries\":_vm.globalSearch}},[_vm._v(\" \"+_vm._s(value ? value : \"--\")+\" \")])],1)]}},{key:\"province\",fn:function({ item, value }){return [(item == _vm.inEditing)?_c('z-text-field',{attrs:{\"type\":_vm.headers.filter((x) => x.value == 'province')[0]\n .fieldType,\"width\":\"60px\",\"removeHintSpace\":\"\",\"removeLabelSpace\":\"\",\"errorMode\":\"icon\"},model:{value:(item.province),callback:function ($$v) {_vm.$set(item, \"province\", $$v)},expression:\"item.province\"}}):_c('div',{staticStyle:{\"min-width\":\"20px\",\"width\":\"max-content\",\"max-width\":\"80px\"}},[_c('text-highlight',{attrs:{\"queries\":_vm.globalSearch}},[_vm._v(\" \"+_vm._s(value ? value : \"--\")+\" \")])],1)]}},{key:\"address\",fn:function({ item, value }){return [(item == _vm.inEditing)?_c('z-text-field',{attrs:{\"type\":_vm.headers.filter((x) => x.value == 'address')[0].fieldType,\"width\":\"250px\",\"removeHintSpace\":\"\",\"removeLabelSpace\":\"\",\"errorMode\":\"icon\"},model:{value:(item.address),callback:function ($$v) {_vm.$set(item, \"address\", $$v)},expression:\"item.address\"}}):_c('div',{staticStyle:{\"min-width\":\"20px\",\"width\":\"max-content\",\"max-width\":\"300px\"}},[_c('text-highlight',{attrs:{\"queries\":_vm.globalSearch}},[_vm._v(\" \"+_vm._s(value ? value : \"--\")+\" \")])],1)]}},{key:\"postalCode\",fn:function({ item, value }){return [(item == _vm.inEditing)?_c('z-text-field',{attrs:{\"type\":_vm.headers.filter((x) => x.value == 'postalCode')[0]\n .fieldType,\"width\":\"100px\",\"removeHintSpace\":\"\",\"removeLabelSpace\":\"\",\"errorMode\":\"icon\"},model:{value:(item.postalCode),callback:function ($$v) {_vm.$set(item, \"postalCode\", $$v)},expression:\"item.postalCode\"}}):_c('div',{staticStyle:{\"min-width\":\"20px\",\"width\":\"max-content\",\"max-width\":\"300px\"}},[_c('text-highlight',{attrs:{\"queries\":_vm.globalSearch}},[_vm._v(\" \"+_vm._s(value ? value : \"--\")+\" \")])],1)]}},{key:\"country\",fn:function({ item, value }){return [(item == _vm.inEditing)?_c('z-text-field',{attrs:{\"type\":_vm.headers.filter((x) => x.value == 'country')[0].fieldType,\"width\":\"100px\",\"removeHintSpace\":\"\",\"removeLabelSpace\":\"\",\"errorMode\":\"icon\",\"rules\":[_vm.requiredRule]},model:{value:(item.country),callback:function ($$v) {_vm.$set(item, \"country\", $$v)},expression:\"item.country\"}}):_c('div',{staticStyle:{\"min-width\":\"20px\",\"width\":\"max-content\",\"max-width\":\"300px\"}},[_c('text-highlight',{attrs:{\"queries\":_vm.globalSearch}},[_vm._v(\" \"+_vm._s(value ? value : \"--\")+\" \")])],1)]}},{key:\"actionBtn\",fn:function({ item }){return [_c('div',{staticStyle:{\"align-items\":\"start\",\"display\":\"flex\",\"width\":\"max-content\"}},[(item != _vm.inEditing)?_c('z-plain-button',{attrs:{\"icon\":\"pencil\",\"iconOnly\":\"\",\"type\":\"neutral\",\"size\":\"extra-small\"},on:{\"click\":function($event){_vm.disableModifyRow\n ? (_vm.ineditingDialog = true)\n : _vm.modifyRow(item)}}}):_vm._e(),(item == _vm.inEditing)?_c('z-plain-button',{staticClass:\"mx-1\",attrs:{\"icon\":\"check\",\"iconOnly\":\"\",\"type\":\"success\",\"size\":\"extra-small\"},on:{\"click\":function($event){return _vm.saveChangesRow(item.excelRowIndex)}}}):_vm._e(),(item == _vm.inEditing)?_c('z-plain-button',{attrs:{\"icon\":\"close\",\"iconOnly\":\"\",\"type\":\"error\",\"size\":\"extra-small\"},on:{\"click\":function($event){return _vm.removeChangesRow(item)}}}):_vm._e()],1)]}}],null,false,573418621)}):_vm._e()],1)],1)],1),_c('z-dialog',{attrs:{\"title\":this.$tc('home.ExportDialogTitle'),\"description\":\"\",\"persistent\":\"\",\"maxWidth\":\"400px\",\"actions\":[\n {\n slotText: _vm.$tc('general.Cancel'),\n plainType: 'primary',\n action: () => {\n _vm.undoDialog();\n },\n },\n {\n slotText: _vm.$tc('home.DownloadXML'),\n type: 'primary-color',\n icon: 'check',\n action: () => _vm.confirmDialog(),\n },\n ]},on:{\"undo\":function($event){_vm.dialog = false}},scopedSlots:_vm._u([{key:\"description\",fn:function(){return [_c('v-col',{staticClass:\"text-on-background z-body-regular-small px-0 py-4\"},[_c('b',[_vm._v(_vm._s(_vm.$tc(\"home.ExportDialogDescrNote\")))]),_c('br'),_c('span',[_vm._v(_vm._s(_vm.$tc(\"home.ExportDialogDescrUpper\")))]),_c('br'),_c('br'),_c('span',[_vm._v(_vm._s(_vm.$tc(\"home.ExportDialogDescrLower\")))]),_c('br'),_c('br'),_c('div',{staticClass:\"new-format-table\"},[_c('b',{staticClass:\"new-format-table--title\"},[_c('z-icon',{attrs:{\"fill\":\"var(--z-icon-warning-default)\",\"name\":\"warning-triangle\",\"height\":\"20px\",\"width\":\"20px\"}}),_vm._v(\" \"+_vm._s(_vm.$tc(\"downloadNewXMLFormat.Notice\"))+\" \")],1),_c('div',{staticClass:\"new-format-table--description\"},[_vm._v(\" \"+_vm._s(_vm.$tc(\"downloadNewXMLFormat.Description\"))+\" \")]),_c('z-toggle',{staticClass:\"new-format-table--toggle\",attrs:{\"size\":\"extra-small\",\"label\":_vm.$tc('downloadNewXMLFormat.Toggle')},model:{value:(_vm.hasNewXMLFormat),callback:function ($$v) {_vm.hasNewXMLFormat=$$v},expression:\"hasNewXMLFormat\"}})],1)])]},proxy:true}],null,false,16016948),model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}}),_c('z-dialog',{attrs:{\"persistent\":\"\",\"title\":this.$tc('home.DeleteRowTitle'),\"description\":\"\",\"maxWidth\":\"400px\",\"actions\":[\n {\n slotText: _vm.$tc('general.Cancel'),\n plainType: 'primary',\n action: () => {\n this.deleteDialog = false;\n },\n },\n {\n slotText: _vm.$tc('home.Delete'),\n type: 'primary-color',\n icon: 'trash',\n action: () => _vm.deleteRow(),\n },\n ]},on:{\"undo\":function($event){_vm.deleteDialog = false}},model:{value:(_vm.deleteDialog),callback:function ($$v) {_vm.deleteDialog=$$v},expression:\"deleteDialog\"}}),_c('z-dialog',{attrs:{\"persistent\":\"\",\"title\":this.$tc('home.ChangeFieldTitle'),\"description\":\"\",\"maxWidth\":\"400px\",\"actions\":[\n {\n slotText: _vm.$tc('vuelando.Undo'),\n plainType: 'primary',\n action: () => {\n this.removeForeignIban = false;\n },\n },\n {\n slotText: _vm.$tc('home.ConfirmChangeField'),\n type: 'primary-color',\n icon: 'trash',\n action: () => _vm.removeForeign(),\n },\n ]},on:{\"undo\":function($event){_vm.removeForeignIban = false}},model:{value:(_vm.removeForeignIban),callback:function ($$v) {_vm.removeForeignIban=$$v},expression:\"removeForeignIban\"}}),_c('z-dialog',{attrs:{\"persistent\":\"\",\"title\":this.$tc('home.IneditingDialog'),\"description\":\"\",\"maxWidth\":\"400px\",\"actions\":[\n {\n slotText: _vm.$tc('home.CancelEdit'),\n plainType: 'primary',\n action: () => {\n _vm.removeChangesRow(_vm.inEditing);\n _vm.ineditingDialog = false;\n },\n },\n {\n slotText: _vm.$tc('home.KeepEdit'),\n type: 'primary-color',\n icon: 'arrow-right',\n action: () => (_vm.ineditingDialog = false),\n },\n ]},on:{\"undo\":function($event){_vm.ineditingDialog = false}},model:{value:(_vm.ineditingDialog),callback:function ($$v) {_vm.ineditingDialog=$$v},expression:\"ineditingDialog\"}})],1):_vm._e()])],1):_vm._e(),_c('div',{staticClass:\"pt-12 mt-10\"},[(_vm.downloadComplete)?_c('download-complete',{attrs:{\"generateXml\":_vm.generateXml},on:{\"close\":_vm.closeDownloadComplete}}):_vm._e()],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { CategoryPurpose } from \"@/models/entities/category-purpose.interface\";\r\nimport { ApiService } from \"@zelando/vuelando\";\r\n\r\nconst controller = \"categorypurpose\";\r\n\r\nclass CategoryPurposeService extends ApiService {\r\n constructor() {\r\n super(process.env.VUE_APP_API_ENDPOINT);\r\n }\r\n\r\n GetCategoryPurpose() {\r\n return this.getAll(`${controller}/`);\r\n }\r\n}\r\n\r\nexport const categoryPurposeService = new CategoryPurposeService();\r\n","import { Beneficiary } from \"@/models/utils/beneficiary.interface\";\r\nimport { ApiService } from \"@zelando/vuelando\";\r\n\r\nconst controller = \"exceldatamanager\";\r\n\r\nclass ExcelDataManagerService extends ApiService {\r\n constructor() {\r\n super(process.env.VUE_APP_API_ENDPOINT);\r\n }\r\n\r\n GetDataByExcel(file: File) {\r\n const formData = new FormData();\r\n formData.append(\"file\", file);\r\n return this.post(\r\n `${controller}/getdatabyexcel`,\r\n formData\r\n );\r\n }\r\n}\r\n\r\nexport const excelDataManagerService = new ExcelDataManagerService();\r\n","var nestRE = /^(attrs|props|on|nativeOn|class|style|hook)$/;\n\nvar babelHelperVueJsxMergeProps = function mergeJSXProps (objs) {\n return objs.reduce(function (a, b) {\n var aa, bb, key, nestedKey, temp;\n for (key in b) {\n aa = a[key];\n bb = b[key];\n if (aa && nestRE.test(key)) {\n // normalize class\n if (key === 'class') {\n if (typeof aa === 'string') {\n temp = aa;\n a[key] = aa = {};\n aa[temp] = true;\n }\n if (typeof bb === 'string') {\n temp = bb;\n b[key] = bb = {};\n bb[temp] = true;\n }\n }\n if (key === 'on' || key === 'nativeOn' || key === 'hook') {\n // merge functions\n for (nestedKey in bb) {\n aa[nestedKey] = mergeFn(aa[nestedKey], bb[nestedKey]);\n }\n } else if (Array.isArray(aa)) {\n a[key] = aa.concat(bb);\n } else if (Array.isArray(bb)) {\n a[key] = [aa].concat(bb);\n } else {\n for (nestedKey in bb) {\n aa[nestedKey] = bb[nestedKey];\n }\n }\n } else {\n a[key] = b[key];\n }\n }\n return a\n }, {})\n};\n\nfunction mergeFn (a, b) {\n return function () {\n a && a.apply(this, arguments);\n b && b.apply(this, arguments);\n }\n}\n\nfunction unwrapExports (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x.default : x;\n}\n\nfunction createCommonjsModule(fn, module) {\n\treturn module = { exports: {} }, fn(module, module.exports), module.exports;\n}\n\nvar _iterStep = function (done, value) {\n return { value: value, done: !!done };\n};\n\nvar _iterators = {};\n\nvar toString = {}.toString;\n\nvar _cof = function (it) {\n return toString.call(it).slice(8, -1);\n};\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\n\n// eslint-disable-next-line no-prototype-builtins\nvar _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return _cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n// 7.2.1 RequireObjectCoercible(argument)\nvar _defined = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n// to indexed object, toObject with fallback for non-array-like ES3 strings\n\n\nvar _toIobject = function (it) {\n return _iobject(_defined(it));\n};\n\nvar _global = createCommonjsModule(function (module) {\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n});\n\nvar _core = createCommonjsModule(function (module) {\nvar core = module.exports = { version: '2.6.2' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n});\nvar _core_1 = _core.version;\n\nvar _aFunction = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n\n// optional / simple context binding\n\nvar _ctx = function (fn, that, length) {\n _aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n\nvar _isObject = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\nvar _anObject = function (it) {\n if (!_isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n\nvar _fails = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n\n// Thank's IE8 for his funny defineProperty\nvar _descriptors = !_fails(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\nvar document$1 = _global.document;\n// typeof document.createElement is 'object' in old IE\nvar is = _isObject(document$1) && _isObject(document$1.createElement);\nvar _domCreate = function (it) {\n return is ? document$1.createElement(it) : {};\n};\n\nvar _ie8DomDefine = !_descriptors && !_fails(function () {\n return Object.defineProperty(_domCreate('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n\n// 7.1.1 ToPrimitive(input [, PreferredType])\n\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nvar _toPrimitive = function (it, S) {\n if (!_isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !_isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\nvar dP = Object.defineProperty;\n\nvar f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n _anObject(O);\n P = _toPrimitive(P, true);\n _anObject(Attributes);\n if (_ie8DomDefine) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n\nvar _objectDp = {\n\tf: f\n};\n\nvar _propertyDesc = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n\nvar _hide = _descriptors ? function (object, key, value) {\n return _objectDp.f(object, key, _propertyDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n\nvar hasOwnProperty = {}.hasOwnProperty;\nvar _has = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? _core : _core[name] || (_core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] : (_global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && _has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? _ctx(out, _global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? _ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) _hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nvar _export = $export;\n\nvar _redefine = _hide;\n\n// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nvar _toInteger = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n// 7.1.15 ToLength\n\nvar min = Math.min;\nvar _toLength = function (it) {\n return it > 0 ? min(_toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\nvar max = Math.max;\nvar min$1 = Math.min;\nvar _toAbsoluteIndex = function (index, length) {\n index = _toInteger(index);\n return index < 0 ? max(index + length, 0) : min$1(index, length);\n};\n\n// false -> Array#indexOf\n// true -> Array#includes\n\n\n\nvar _arrayIncludes = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = _toIobject($this);\n var length = _toLength(O.length);\n var index = _toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nvar _shared = createCommonjsModule(function (module) {\nvar SHARED = '__core-js_shared__';\nvar store = _global[SHARED] || (_global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: _core.version,\n mode: 'pure' ,\n copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n});\n\nvar id = 0;\nvar px = Math.random();\nvar _uid = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\nvar shared = _shared('keys');\n\nvar _sharedKey = function (key) {\n return shared[key] || (shared[key] = _uid(key));\n};\n\nvar arrayIndexOf = _arrayIncludes(false);\nvar IE_PROTO = _sharedKey('IE_PROTO');\n\nvar _objectKeysInternal = function (object, names) {\n var O = _toIobject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) _has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (_has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n\n// IE 8- don't enum bug keys\nvar _enumBugKeys = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n\n// 19.1.2.14 / 15.2.3.14 Object.keys(O)\n\n\n\nvar _objectKeys = Object.keys || function keys(O) {\n return _objectKeysInternal(O, _enumBugKeys);\n};\n\nvar _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O, Properties) {\n _anObject(O);\n var keys = _objectKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) _objectDp.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n\nvar document$2 = _global.document;\nvar _html = document$2 && document$2.documentElement;\n\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n\n\n\nvar IE_PROTO$1 = _sharedKey('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE$1 = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = _domCreate('iframe');\n var i = _enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n _html.appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE$1][_enumBugKeys[i]];\n return createDict();\n};\n\nvar _objectCreate = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE$1] = _anObject(O);\n result = new Empty();\n Empty[PROTOTYPE$1] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO$1] = O;\n } else result = createDict();\n return Properties === undefined ? result : _objectDps(result, Properties);\n};\n\nvar _wks = createCommonjsModule(function (module) {\nvar store = _shared('wks');\n\nvar Symbol = _global.Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : _uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n});\n\nvar def = _objectDp.f;\n\nvar TAG = _wks('toStringTag');\n\nvar _setToStringTag = function (it, tag, stat) {\n if (it && !_has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n_hide(IteratorPrototype, _wks('iterator'), function () { return this; });\n\nvar _iterCreate = function (Constructor, NAME, next) {\n Constructor.prototype = _objectCreate(IteratorPrototype, { next: _propertyDesc(1, next) });\n _setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n// 7.1.13 ToObject(argument)\n\nvar _toObject = function (it) {\n return Object(_defined(it));\n};\n\n// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\n\n\nvar IE_PROTO$2 = _sharedKey('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nvar _objectGpo = Object.getPrototypeOf || function (O) {\n O = _toObject(O);\n if (_has(O, IE_PROTO$2)) return O[IE_PROTO$2];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n\nvar ITERATOR = _wks('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nvar _iterDefine = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n _iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = _objectGpo($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n _setToStringTag(IteratorPrototype, TAG, true);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if (( FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n _hide(proto, ITERATOR, $default);\n }\n // Plug for library\n _iterators[NAME] = $default;\n _iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) _redefine(proto, key, methods[key]);\n } else _export(_export.P + _export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nvar es6_array_iterator = _iterDefine(Array, 'Array', function (iterated, kind) {\n this._t = _toIobject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return _iterStep(1);\n }\n if (kind == 'keys') return _iterStep(0, index);\n if (kind == 'values') return _iterStep(0, O[index]);\n return _iterStep(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\n_iterators.Arguments = _iterators.Array;\n\nvar TO_STRING_TAG = _wks('toStringTag');\n\nvar DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +\n 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +\n 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +\n 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +\n 'TextTrackList,TouchList').split(',');\n\nfor (var i = 0; i < DOMIterables.length; i++) {\n var NAME = DOMIterables[i];\n var Collection = _global[NAME];\n var proto = Collection && Collection.prototype;\n if (proto && !proto[TO_STRING_TAG]) _hide(proto, TO_STRING_TAG, NAME);\n _iterators[NAME] = _iterators.Array;\n}\n\n// true -> String#at\n// false -> String#codePointAt\nvar _stringAt = function (TO_STRING) {\n return function (that, pos) {\n var s = String(_defined(that));\n var i = _toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n\nvar $at = _stringAt(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\n_iterDefine(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n\n// getting tag from 19.1.3.6 Object.prototype.toString()\n\nvar TAG$1 = _wks('toStringTag');\n// ES3 wrong here\nvar ARG = _cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nvar _classof = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG$1)) == 'string' ? T\n // builtinTag case\n : ARG ? _cof(O)\n // ES3 arguments fallback\n : (B = _cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n\nvar ITERATOR$1 = _wks('iterator');\n\nvar core_isIterable = _core.isIterable = function (it) {\n var O = Object(it);\n return O[ITERATOR$1] !== undefined\n || '@@iterator' in O\n // eslint-disable-next-line no-prototype-builtins\n || _iterators.hasOwnProperty(_classof(O));\n};\n\nvar isIterable = core_isIterable;\n\nvar isIterable$1 = createCommonjsModule(function (module) {\nmodule.exports = { \"default\": isIterable, __esModule: true };\n});\n\nunwrapExports(isIterable$1);\n\nvar ITERATOR$2 = _wks('iterator');\n\nvar core_getIteratorMethod = _core.getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR$2]\n || it['@@iterator']\n || _iterators[_classof(it)];\n};\n\nvar core_getIterator = _core.getIterator = function (it) {\n var iterFn = core_getIteratorMethod(it);\n if (typeof iterFn != 'function') throw TypeError(it + ' is not iterable!');\n return _anObject(iterFn.call(it));\n};\n\nvar getIterator = core_getIterator;\n\nvar getIterator$1 = createCommonjsModule(function (module) {\nmodule.exports = { \"default\": getIterator, __esModule: true };\n});\n\nunwrapExports(getIterator$1);\n\nvar slicedToArray = createCommonjsModule(function (module, exports) {\n\nexports.__esModule = true;\n\n\n\nvar _isIterable3 = _interopRequireDefault(isIterable$1);\n\n\n\nvar _getIterator3 = _interopRequireDefault(getIterator$1);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function () {\n function sliceIterator(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = (0, _getIterator3.default)(arr), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"]) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n }\n\n return function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if ((0, _isIterable3.default)(Object(arr))) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }\n };\n}();\n});\n\nvar _slicedToArray = unwrapExports(slicedToArray);\n\n// call something on iterator step with safe closing on error\n\nvar _iterCall = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(_anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) _anObject(ret.call(iterator));\n throw e;\n }\n};\n\n// check on default Array iterator\n\nvar ITERATOR$3 = _wks('iterator');\nvar ArrayProto = Array.prototype;\n\nvar _isArrayIter = function (it) {\n return it !== undefined && (_iterators.Array === it || ArrayProto[ITERATOR$3] === it);\n};\n\nvar _createProperty = function (object, index, value) {\n if (index in object) _objectDp.f(object, index, _propertyDesc(0, value));\n else object[index] = value;\n};\n\nvar ITERATOR$4 = _wks('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR$4]();\n riter['return'] = function () { SAFE_CLOSING = true; };\n // eslint-disable-next-line no-throw-literal\n Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nvar _iterDetect = function (exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING) return false;\n var safe = false;\n try {\n var arr = [7];\n var iter = arr[ITERATOR$4]();\n iter.next = function () { return { done: safe = true }; };\n arr[ITERATOR$4] = function () { return iter; };\n exec(arr);\n } catch (e) { /* empty */ }\n return safe;\n};\n\n_export(_export.S + _export.F * !_iterDetect(function (iter) { Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = _toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var index = 0;\n var iterFn = core_getIteratorMethod(O);\n var length, result, step, iterator;\n if (mapping) mapfn = _ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if (iterFn != undefined && !(C == Array && _isArrayIter(iterFn))) {\n for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {\n _createProperty(result, index, mapping ? _iterCall(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = _toLength(O.length);\n for (result = new C(length); length > index; index++) {\n _createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n\nvar from_1 = _core.Array.from;\n\nvar from_1$1 = createCommonjsModule(function (module) {\nmodule.exports = { \"default\": from_1, __esModule: true };\n});\n\nunwrapExports(from_1$1);\n\nvar toConsumableArray = createCommonjsModule(function (module, exports) {\n\nexports.__esModule = true;\n\n\n\nvar _from2 = _interopRequireDefault(from_1$1);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n } else {\n return (0, _from2.default)(arr);\n }\n};\n});\n\nvar _toConsumableArray = unwrapExports(toConsumableArray);\n\n// most Object methods by ES6 should accept primitives\n\n\n\nvar _objectSap = function (KEY, exec) {\n var fn = (_core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n _export(_export.S + _export.F * _fails(function () { fn(1); }), 'Object', exp);\n};\n\n// 19.1.2.14 Object.keys(O)\n\n\n\n_objectSap('keys', function () {\n return function keys(it) {\n return _objectKeys(_toObject(it));\n };\n});\n\nvar keys = _core.Object.keys;\n\nvar keys$1 = createCommonjsModule(function (module) {\nmodule.exports = { \"default\": keys, __esModule: true };\n});\n\nvar _Object$keys = unwrapExports(keys$1);\n\nvar isRegexp = function isRegexp(input) {\n return Object.prototype.toString.call(input) === '[object RegExp]';\n};\n\nvar flagMap = {\n\tglobal: 'g',\n\tignoreCase: 'i',\n\tmultiline: 'm',\n\tdotAll: 's',\n\tsticky: 'y',\n\tunicode: 'u'\n};\n\nvar cloneRegexp = function cloneRegexp(regex) {\n\tvar options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\tif (!isRegexp(regex)) {\n\t\tthrow new TypeError('Expected a RegExp instance');\n\t}\n\n\tvar flags = _Object$keys(flagMap).map(function (flag) {\n\t\treturn (typeof options[flag] === 'boolean' ? options[flag] : regex[flag]) ? flagMap[flag] : '';\n\t}).join('');\n\n\tvar clonedRegexp = new RegExp(options.source || regex.source, flags);\n\n\tclonedRegexp.lastIndex = typeof options.lastIndex === 'number' ? options.lastIndex : regex.lastIndex;\n\n\treturn clonedRegexp;\n};\n\nvar remove = removeDiacritics;\n\nvar replacementList = [\n {\n base: ' ',\n chars: \"\\u00A0\",\n }, {\n base: '0',\n chars: \"\\u07C0\",\n }, {\n base: 'A',\n chars: \"\\u24B6\\uFF21\\u00C0\\u00C1\\u00C2\\u1EA6\\u1EA4\\u1EAA\\u1EA8\\u00C3\\u0100\\u0102\\u1EB0\\u1EAE\\u1EB4\\u1EB2\\u0226\\u01E0\\u00C4\\u01DE\\u1EA2\\u00C5\\u01FA\\u01CD\\u0200\\u0202\\u1EA0\\u1EAC\\u1EB6\\u1E00\\u0104\\u023A\\u2C6F\",\n }, {\n base: 'AA',\n chars: \"\\uA732\",\n }, {\n base: 'AE',\n chars: \"\\u00C6\\u01FC\\u01E2\",\n }, {\n base: 'AO',\n chars: \"\\uA734\",\n }, {\n base: 'AU',\n chars: \"\\uA736\",\n }, {\n base: 'AV',\n chars: \"\\uA738\\uA73A\",\n }, {\n base: 'AY',\n chars: \"\\uA73C\",\n }, {\n base: 'B',\n chars: \"\\u24B7\\uFF22\\u1E02\\u1E04\\u1E06\\u0243\\u0181\",\n }, {\n base: 'C',\n chars: \"\\u24b8\\uff23\\uA73E\\u1E08\\u0106\\u0043\\u0108\\u010A\\u010C\\u00C7\\u0187\\u023B\",\n }, {\n base: 'D',\n chars: \"\\u24B9\\uFF24\\u1E0A\\u010E\\u1E0C\\u1E10\\u1E12\\u1E0E\\u0110\\u018A\\u0189\\u1D05\\uA779\",\n }, {\n base: 'Dh',\n chars: \"\\u00D0\",\n }, {\n base: 'DZ',\n chars: \"\\u01F1\\u01C4\",\n }, {\n base: 'Dz',\n chars: \"\\u01F2\\u01C5\",\n }, {\n base: 'E',\n chars: \"\\u025B\\u24BA\\uFF25\\u00C8\\u00C9\\u00CA\\u1EC0\\u1EBE\\u1EC4\\u1EC2\\u1EBC\\u0112\\u1E14\\u1E16\\u0114\\u0116\\u00CB\\u1EBA\\u011A\\u0204\\u0206\\u1EB8\\u1EC6\\u0228\\u1E1C\\u0118\\u1E18\\u1E1A\\u0190\\u018E\\u1D07\",\n }, {\n base: 'F',\n chars: \"\\uA77C\\u24BB\\uFF26\\u1E1E\\u0191\\uA77B\",\n }, {\n base: 'G',\n chars: \"\\u24BC\\uFF27\\u01F4\\u011C\\u1E20\\u011E\\u0120\\u01E6\\u0122\\u01E4\\u0193\\uA7A0\\uA77D\\uA77E\\u0262\",\n }, {\n base: 'H',\n chars: \"\\u24BD\\uFF28\\u0124\\u1E22\\u1E26\\u021E\\u1E24\\u1E28\\u1E2A\\u0126\\u2C67\\u2C75\\uA78D\",\n }, {\n base: 'I',\n chars: \"\\u24BE\\uFF29\\xCC\\xCD\\xCE\\u0128\\u012A\\u012C\\u0130\\xCF\\u1E2E\\u1EC8\\u01CF\\u0208\\u020A\\u1ECA\\u012E\\u1E2C\\u0197\",\n }, {\n base: 'J',\n chars: \"\\u24BF\\uFF2A\\u0134\\u0248\\u0237\",\n }, {\n base: 'K',\n chars: \"\\u24C0\\uFF2B\\u1E30\\u01E8\\u1E32\\u0136\\u1E34\\u0198\\u2C69\\uA740\\uA742\\uA744\\uA7A2\",\n }, {\n base: 'L',\n chars: \"\\u24C1\\uFF2C\\u013F\\u0139\\u013D\\u1E36\\u1E38\\u013B\\u1E3C\\u1E3A\\u0141\\u023D\\u2C62\\u2C60\\uA748\\uA746\\uA780\",\n }, {\n base: 'LJ',\n chars: \"\\u01C7\",\n }, {\n base: 'Lj',\n chars: \"\\u01C8\",\n }, {\n base: 'M',\n chars: \"\\u24C2\\uFF2D\\u1E3E\\u1E40\\u1E42\\u2C6E\\u019C\\u03FB\",\n }, {\n base: 'N',\n chars: \"\\uA7A4\\u0220\\u24C3\\uFF2E\\u01F8\\u0143\\xD1\\u1E44\\u0147\\u1E46\\u0145\\u1E4A\\u1E48\\u019D\\uA790\\u1D0E\",\n }, {\n base: 'NJ',\n chars: \"\\u01CA\",\n }, {\n base: 'Nj',\n chars: \"\\u01CB\",\n }, {\n base: 'O',\n chars: \"\\u24C4\\uFF2F\\xD2\\xD3\\xD4\\u1ED2\\u1ED0\\u1ED6\\u1ED4\\xD5\\u1E4C\\u022C\\u1E4E\\u014C\\u1E50\\u1E52\\u014E\\u022E\\u0230\\xD6\\u022A\\u1ECE\\u0150\\u01D1\\u020C\\u020E\\u01A0\\u1EDC\\u1EDA\\u1EE0\\u1EDE\\u1EE2\\u1ECC\\u1ED8\\u01EA\\u01EC\\xD8\\u01FE\\u0186\\u019F\\uA74A\\uA74C\",\n }, {\n base: 'OE',\n chars: \"\\u0152\",\n }, {\n base: 'OI',\n chars: \"\\u01A2\",\n }, {\n base: 'OO',\n chars: \"\\uA74E\",\n }, {\n base: 'OU',\n chars: \"\\u0222\",\n }, {\n base: 'P',\n chars: \"\\u24C5\\uFF30\\u1E54\\u1E56\\u01A4\\u2C63\\uA750\\uA752\\uA754\",\n }, {\n base: 'Q',\n chars: \"\\u24C6\\uFF31\\uA756\\uA758\\u024A\",\n }, {\n base: 'R',\n chars: \"\\u24C7\\uFF32\\u0154\\u1E58\\u0158\\u0210\\u0212\\u1E5A\\u1E5C\\u0156\\u1E5E\\u024C\\u2C64\\uA75A\\uA7A6\\uA782\",\n }, {\n base: 'S',\n chars: \"\\u24C8\\uFF33\\u1E9E\\u015A\\u1E64\\u015C\\u1E60\\u0160\\u1E66\\u1E62\\u1E68\\u0218\\u015E\\u2C7E\\uA7A8\\uA784\",\n }, {\n base: 'T',\n chars: \"\\u24C9\\uFF34\\u1E6A\\u0164\\u1E6C\\u021A\\u0162\\u1E70\\u1E6E\\u0166\\u01AC\\u01AE\\u023E\\uA786\",\n }, {\n base: 'Th',\n chars: \"\\u00DE\",\n }, {\n base: 'TZ',\n chars: \"\\uA728\",\n }, {\n base: 'U',\n chars: \"\\u24CA\\uFF35\\xD9\\xDA\\xDB\\u0168\\u1E78\\u016A\\u1E7A\\u016C\\xDC\\u01DB\\u01D7\\u01D5\\u01D9\\u1EE6\\u016E\\u0170\\u01D3\\u0214\\u0216\\u01AF\\u1EEA\\u1EE8\\u1EEE\\u1EEC\\u1EF0\\u1EE4\\u1E72\\u0172\\u1E76\\u1E74\\u0244\",\n }, {\n base: 'V',\n chars: \"\\u24CB\\uFF36\\u1E7C\\u1E7E\\u01B2\\uA75E\\u0245\",\n }, {\n base: 'VY',\n chars: \"\\uA760\",\n }, {\n base: 'W',\n chars: \"\\u24CC\\uFF37\\u1E80\\u1E82\\u0174\\u1E86\\u1E84\\u1E88\\u2C72\",\n }, {\n base: 'X',\n chars: \"\\u24CD\\uFF38\\u1E8A\\u1E8C\",\n }, {\n base: 'Y',\n chars: \"\\u24CE\\uFF39\\u1EF2\\xDD\\u0176\\u1EF8\\u0232\\u1E8E\\u0178\\u1EF6\\u1EF4\\u01B3\\u024E\\u1EFE\",\n }, {\n base: 'Z',\n chars: \"\\u24CF\\uFF3A\\u0179\\u1E90\\u017B\\u017D\\u1E92\\u1E94\\u01B5\\u0224\\u2C7F\\u2C6B\\uA762\",\n }, {\n base: 'a',\n chars: \"\\u24D0\\uFF41\\u1E9A\\u00E0\\u00E1\\u00E2\\u1EA7\\u1EA5\\u1EAB\\u1EA9\\u00E3\\u0101\\u0103\\u1EB1\\u1EAF\\u1EB5\\u1EB3\\u0227\\u01E1\\u00E4\\u01DF\\u1EA3\\u00E5\\u01FB\\u01CE\\u0201\\u0203\\u1EA1\\u1EAD\\u1EB7\\u1E01\\u0105\\u2C65\\u0250\\u0251\",\n }, {\n base: 'aa',\n chars: \"\\uA733\",\n }, {\n base: 'ae',\n chars: \"\\u00E6\\u01FD\\u01E3\",\n }, {\n base: 'ao',\n chars: \"\\uA735\",\n }, {\n base: 'au',\n chars: \"\\uA737\",\n }, {\n base: 'av',\n chars: \"\\uA739\\uA73B\",\n }, {\n base: 'ay',\n chars: \"\\uA73D\",\n }, {\n base: 'b',\n chars: \"\\u24D1\\uFF42\\u1E03\\u1E05\\u1E07\\u0180\\u0183\\u0253\\u0182\",\n }, {\n base: 'c',\n chars: \"\\uFF43\\u24D2\\u0107\\u0109\\u010B\\u010D\\u00E7\\u1E09\\u0188\\u023C\\uA73F\\u2184\",\n }, {\n base: 'd',\n chars: \"\\u24D3\\uFF44\\u1E0B\\u010F\\u1E0D\\u1E11\\u1E13\\u1E0F\\u0111\\u018C\\u0256\\u0257\\u018B\\u13E7\\u0501\\uA7AA\",\n }, {\n base: 'dh',\n chars: \"\\u00F0\",\n }, {\n base: 'dz',\n chars: \"\\u01F3\\u01C6\",\n }, {\n base: 'e',\n chars: \"\\u24D4\\uFF45\\u00E8\\u00E9\\u00EA\\u1EC1\\u1EBF\\u1EC5\\u1EC3\\u1EBD\\u0113\\u1E15\\u1E17\\u0115\\u0117\\u00EB\\u1EBB\\u011B\\u0205\\u0207\\u1EB9\\u1EC7\\u0229\\u1E1D\\u0119\\u1E19\\u1E1B\\u0247\\u01DD\",\n }, {\n base: 'f',\n chars: \"\\u24D5\\uFF46\\u1E1F\\u0192\",\n }, {\n base: 'ff',\n chars: \"\\uFB00\",\n }, {\n base: 'fi',\n chars: \"\\uFB01\",\n }, {\n base: 'fl',\n chars: \"\\uFB02\",\n }, {\n base: 'ffi',\n chars: \"\\uFB03\",\n }, {\n base: 'ffl',\n chars: \"\\uFB04\",\n }, {\n base: 'g',\n chars: \"\\u24D6\\uFF47\\u01F5\\u011D\\u1E21\\u011F\\u0121\\u01E7\\u0123\\u01E5\\u0260\\uA7A1\\uA77F\\u1D79\",\n }, {\n base: 'h',\n chars: \"\\u24D7\\uFF48\\u0125\\u1E23\\u1E27\\u021F\\u1E25\\u1E29\\u1E2B\\u1E96\\u0127\\u2C68\\u2C76\\u0265\",\n }, {\n base: 'hv',\n chars: \"\\u0195\",\n }, {\n base: 'i',\n chars: \"\\u24D8\\uFF49\\xEC\\xED\\xEE\\u0129\\u012B\\u012D\\xEF\\u1E2F\\u1EC9\\u01D0\\u0209\\u020B\\u1ECB\\u012F\\u1E2D\\u0268\\u0131\",\n }, {\n base: 'j',\n chars: \"\\u24D9\\uFF4A\\u0135\\u01F0\\u0249\",\n }, {\n base: 'k',\n chars: \"\\u24DA\\uFF4B\\u1E31\\u01E9\\u1E33\\u0137\\u1E35\\u0199\\u2C6A\\uA741\\uA743\\uA745\\uA7A3\",\n }, {\n base: 'l',\n chars: \"\\u24DB\\uFF4C\\u0140\\u013A\\u013E\\u1E37\\u1E39\\u013C\\u1E3D\\u1E3B\\u017F\\u0142\\u019A\\u026B\\u2C61\\uA749\\uA781\\uA747\\u026D\",\n }, {\n base: 'lj',\n chars: \"\\u01C9\",\n }, {\n base: 'm',\n chars: \"\\u24DC\\uFF4D\\u1E3F\\u1E41\\u1E43\\u0271\\u026F\",\n }, {\n base: 'n',\n chars: \"\\u24DD\\uFF4E\\u01F9\\u0144\\xF1\\u1E45\\u0148\\u1E47\\u0146\\u1E4B\\u1E49\\u019E\\u0272\\u0149\\uA791\\uA7A5\\u043B\\u0509\",\n }, {\n base: 'nj',\n chars: \"\\u01CC\",\n }, {\n base: 'o',\n chars: \"\\u24DE\\uFF4F\\xF2\\xF3\\xF4\\u1ED3\\u1ED1\\u1ED7\\u1ED5\\xF5\\u1E4D\\u022D\\u1E4F\\u014D\\u1E51\\u1E53\\u014F\\u022F\\u0231\\xF6\\u022B\\u1ECF\\u0151\\u01D2\\u020D\\u020F\\u01A1\\u1EDD\\u1EDB\\u1EE1\\u1EDF\\u1EE3\\u1ECD\\u1ED9\\u01EB\\u01ED\\xF8\\u01FF\\uA74B\\uA74D\\u0275\\u0254\\u1D11\",\n }, {\n base: 'oe',\n chars: \"\\u0153\",\n }, {\n base: 'oi',\n chars: \"\\u01A3\",\n }, {\n base: 'oo',\n chars: \"\\uA74F\",\n }, {\n base: 'ou',\n chars: \"\\u0223\",\n }, {\n base: 'p',\n chars: \"\\u24DF\\uFF50\\u1E55\\u1E57\\u01A5\\u1D7D\\uA751\\uA753\\uA755\\u03C1\",\n }, {\n base: 'q',\n chars: \"\\u24E0\\uFF51\\u024B\\uA757\\uA759\",\n }, {\n base: 'r',\n chars: \"\\u24E1\\uFF52\\u0155\\u1E59\\u0159\\u0211\\u0213\\u1E5B\\u1E5D\\u0157\\u1E5F\\u024D\\u027D\\uA75B\\uA7A7\\uA783\",\n }, {\n base: 's',\n chars: \"\\u24E2\\uFF53\\u015B\\u1E65\\u015D\\u1E61\\u0161\\u1E67\\u1E63\\u1E69\\u0219\\u015F\\u023F\\uA7A9\\uA785\\u1E9B\\u0282\",\n }, {\n base: 'ss',\n chars: \"\\xDF\",\n }, {\n base: 't',\n chars: \"\\u24E3\\uFF54\\u1E6B\\u1E97\\u0165\\u1E6D\\u021B\\u0163\\u1E71\\u1E6F\\u0167\\u01AD\\u0288\\u2C66\\uA787\",\n }, {\n base: 'th',\n chars: \"\\u00FE\",\n }, {\n base: 'tz',\n chars: \"\\uA729\",\n }, {\n base: 'u',\n chars: \"\\u24E4\\uFF55\\xF9\\xFA\\xFB\\u0169\\u1E79\\u016B\\u1E7B\\u016D\\xFC\\u01DC\\u01D8\\u01D6\\u01DA\\u1EE7\\u016F\\u0171\\u01D4\\u0215\\u0217\\u01B0\\u1EEB\\u1EE9\\u1EEF\\u1EED\\u1EF1\\u1EE5\\u1E73\\u0173\\u1E77\\u1E75\\u0289\",\n }, {\n base: 'v',\n chars: \"\\u24E5\\uFF56\\u1E7D\\u1E7F\\u028B\\uA75F\\u028C\",\n }, {\n base: 'vy',\n chars: \"\\uA761\",\n }, {\n base: 'w',\n chars: \"\\u24E6\\uFF57\\u1E81\\u1E83\\u0175\\u1E87\\u1E85\\u1E98\\u1E89\\u2C73\",\n }, {\n base: 'x',\n chars: \"\\u24E7\\uFF58\\u1E8B\\u1E8D\",\n }, {\n base: 'y',\n chars: \"\\u24E8\\uFF59\\u1EF3\\xFD\\u0177\\u1EF9\\u0233\\u1E8F\\xFF\\u1EF7\\u1E99\\u1EF5\\u01B4\\u024F\\u1EFF\",\n }, {\n base: 'z',\n chars: \"\\u24E9\\uFF5A\\u017A\\u1E91\\u017C\\u017E\\u1E93\\u1E95\\u01B6\\u0225\\u0240\\u2C6C\\uA763\",\n }\n];\n\nvar diacriticsMap = {};\nfor (var i$1 = 0; i$1 < replacementList.length; i$1 += 1) {\n var chars = replacementList[i$1].chars;\n for (var j = 0; j < chars.length; j += 1) {\n diacriticsMap[chars[j]] = replacementList[i$1].base;\n }\n}\n\nfunction removeDiacritics(str) {\n return str.replace(/[^\\u0000-\\u007e]/g, function(c) {\n return diacriticsMap[c] || c;\n });\n}\n\nvar replacementList_1 = replacementList;\nvar diacriticsMap_1 = diacriticsMap;\n\nvar diacritics = {\n\tremove: remove,\n\treplacementList: replacementList_1,\n\tdiacriticsMap: diacriticsMap_1\n};\n\nfunction indicesOf(text, searchStringOrRegex) {\n var _ref = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},\n _ref$caseSensitive = _ref.caseSensitive,\n caseSensitive = _ref$caseSensitive === undefined ? false : _ref$caseSensitive,\n _ref$diacriticsSensit = _ref.diacriticsSensitive,\n diacriticsSensitive = _ref$diacriticsSensit === undefined ? false : _ref$diacriticsSensit;\n\n if (searchStringOrRegex instanceof RegExp) {\n var re = cloneRegexp(searchStringOrRegex, { global: true });\n var _indices = [];\n\n var match = re.exec(text);\n while (match) {\n var offset = match.index + match[0].length;\n _indices.push([match.index, offset]);\n match = re.exec(text);\n }\n return _indices;\n }\n var searchStringLen = searchStringOrRegex.length;\n\n if (searchStringLen === 0) {\n return [];\n }\n\n var indices = [];\n\n var strCpy = text;\n var searchStringCpy = searchStringOrRegex;\n if (!caseSensitive) {\n strCpy = text.toLocaleLowerCase();\n searchStringCpy = searchStringOrRegex.toLocaleLowerCase();\n }\n\n if (!diacriticsSensitive) {\n strCpy = diacritics.remove(strCpy);\n searchStringCpy = diacritics.remove(searchStringCpy);\n }\n\n var startIndex = 0;\n var index = strCpy.indexOf(searchStringCpy, startIndex);\n while (index > -1) {\n startIndex = index + searchStringLen;\n indices.push([index, startIndex]);\n\n index = strCpy.indexOf(searchStringCpy, index + 1);\n }\n\n return indices;\n}\n\nvar toArray = createCommonjsModule(function (module, exports) {\n\nexports.__esModule = true;\n\n\n\nvar _from2 = _interopRequireDefault(from_1$1);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (arr) {\n return Array.isArray(arr) ? arr : (0, _from2.default)(arr);\n};\n});\n\nvar _toArray = unwrapExports(toArray);\n\nfunction mergeRange(_ref) {\n var _ref2 = _toArray(_ref),\n ranges = _ref2.slice(0);\n\n if (!ranges.length) return [];\n\n ranges.sort(function (fir, sec) {\n if (fir[0] !== sec[0]) return fir[0] - sec[0];\n return fir[1] - sec[1];\n });\n\n var merged = [];\n\n var curStart = ranges[0][0];\n var curEnd = ranges[0][1];\n\n ranges.shift();\n\n ranges.forEach(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n start = _ref4[0],\n end = _ref4[1];\n\n if (start >= curEnd) {\n merged.push([curStart, curEnd]);\n curStart = start;\n curEnd = end;\n } else if (end > curEnd) curEnd = end;\n });\n\n merged.push([curStart, curEnd]);\n\n return merged;\n}\n\nfunction highlightChunks(text, queriesOrQuery) {\n var _ref = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},\n _ref$caseSensitive = _ref.caseSensitive,\n caseSensitive = _ref$caseSensitive === undefined ? false : _ref$caseSensitive,\n _ref$diacriticsSensit = _ref.diacriticsSensitive,\n diacriticsSensitive = _ref$diacriticsSensit === undefined ? false : _ref$diacriticsSensit;\n\n var queries = queriesOrQuery;\n if (typeof queriesOrQuery === 'string' || queriesOrQuery instanceof RegExp) {\n queries = [queriesOrQuery];\n } else if (!Array.isArray(queriesOrQuery)) {\n if (process.env.NODE_ENV !== 'production') {\n throw new Error('queries must be either string, array of strings or regex.');\n } else {\n return [];\n }\n }\n\n var matches = [];\n\n queries.forEach(function (query) {\n matches.push.apply(matches, _toConsumableArray(indicesOf(text, query, { caseSensitive: caseSensitive, diacriticsSensitive: diacriticsSensitive })));\n });\n\n var highlights = mergeRange(matches);\n\n var chunks = [];\n var lastEnd = 0;\n\n highlights.forEach(function (_ref2, index) {\n var _ref3 = _slicedToArray(_ref2, 2),\n start = _ref3[0],\n end = _ref3[1];\n\n if (lastEnd !== start) {\n chunks.push({\n isHighlighted: false,\n text: text.slice(lastEnd, start)\n });\n }\n chunks.push({\n isHighlighted: true,\n text: text.slice(start, end),\n highlightIndex: index\n });\n\n lastEnd = end;\n });\n\n if (lastEnd !== text.length) {\n chunks.push({\n isHighlighted: false,\n text: text.slice(lastEnd)\n });\n }\n\n return chunks;\n}\n\nvar classAndStyleTypes = [Object, Array, String];\n\nvar script = {\n name: 'text-highlight',\n props: {\n queries: [Array, String, RegExp],\n caseSensitive: Boolean,\n diacriticsSensitive: Boolean,\n highlightStyle: classAndStyleTypes,\n highlightClass: classAndStyleTypes,\n highlightComponent: {\n type: [String, Object],\n default: 'mark'\n }\n },\n data: function data() {\n return {\n text: ''\n };\n },\n\n /**\n * Unless `h` is given as parameter, testing (Jest) will yield error:\n * TypeError: unknown: Duplicate declaration \"h\"\n * (This is an error on an internal node. Probably an internal error)\n *\n * Seems babel-plugin-transform-vue-jsx make strange behaivor.\n *\n * Related issue: https://github.com/storybooks/storybook/issues/2727\n */\n /* eslint-disable-next-line no-unused-vars */\n render: function render(h) {\n var _this = this;\n\n return h('span', [this.highlights.map(function (_ref) {\n var text = _ref.text,\n isHighlighted = _ref.isHighlighted,\n highlightIndex = _ref.highlightIndex;\n return !isHighlighted ? text : h(\n _this.highlightComponent,\n babelHelperVueJsxMergeProps([{\n 'class': ['text__highlight', _this.highlightClass],\n style: _this.highlightStyle,\n key: highlightIndex,\n attrs: { index: highlightIndex,\n text: text\n }\n }, _this.attributes]),\n [text]\n );\n })]);\n },\n beforeMount: function beforeMount() {\n this.setTextFromSlot();\n },\n beforeUpdate: function beforeUpdate() {\n this.setTextFromSlot();\n },\n\n methods: {\n setTextFromSlot: function setTextFromSlot() {\n var defaultSlot = this.$slots.default;\n\n if (!defaultSlot) this.text = '';else if (defaultSlot[0].tag !== undefined && process.env.NODE_ENV !== 'production') {\n /* eslint-disable-next-line no-console */\n console.warn('children of must be a plain string.');\n this.text = '';\n } else {\n this.text = defaultSlot[0].text;\n }\n }\n },\n computed: {\n attributes: function attributes() {\n return {\n props: this.$attrs,\n on: this.$listeners\n };\n },\n highlights: function highlights() {\n var text = this.text,\n queries = this.queries,\n caseSensitive = this.caseSensitive,\n diacriticsSensitive = this.diacriticsSensitive;\n\n return highlightChunks(text, queries, { caseSensitive: caseSensitive, diacriticsSensitive: diacriticsSensitive });\n }\n }\n};\n\nfunction normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier\n/* server only */\n, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {\n if (typeof shadowMode !== 'boolean') {\n createInjectorSSR = createInjector;\n createInjector = shadowMode;\n shadowMode = false;\n } // Vue.extend constructor export interop.\n\n\n var options = typeof script === 'function' ? script.options : script; // render functions\n\n if (template && template.render) {\n options.render = template.render;\n options.staticRenderFns = template.staticRenderFns;\n options._compiled = true; // functional template\n\n if (isFunctionalTemplate) {\n options.functional = true;\n }\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (style) {\n style.call(this, createInjectorSSR(context));\n } // register component module identifier for async chunk inference\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (style) {\n hook = shadowMode ? function () {\n style.call(this, createInjectorShadow(this.$root.$options.shadowRoot));\n } : function (context) {\n style.call(this, createInjector(context));\n };\n }\n\n if (hook) {\n if (options.functional) {\n // register for functional component in vue file\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return script;\n}\n\nvar normalizeComponent_1 = normalizeComponent;\n\nvar isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\\\b/.test(navigator.userAgent.toLowerCase());\nfunction createInjector(context) {\n return function (id, style) {\n return addStyle(id, style);\n };\n}\nvar HEAD = document.head || document.getElementsByTagName('head')[0];\nvar styles = {};\n\nfunction addStyle(id, css) {\n var group = isOldIE ? css.media || 'default' : id;\n var style = styles[group] || (styles[group] = {\n ids: new Set(),\n styles: []\n });\n\n if (!style.ids.has(id)) {\n style.ids.add(id);\n var code = css.source;\n\n if (css.map) {\n // https://developer.chrome.com/devtools/docs/javascript-debugging\n // this makes source maps inside style tags work properly in Chrome\n code += '\\n/*# sourceURL=' + css.map.sources[0] + ' */'; // http://stackoverflow.com/a/26603875\n\n code += '\\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) + ' */';\n }\n\n if (!style.element) {\n style.element = document.createElement('style');\n style.element.type = 'text/css';\n if (css.media) style.element.setAttribute('media', css.media);\n HEAD.appendChild(style.element);\n }\n\n if ('styleSheet' in style.element) {\n style.styles.push(code);\n style.element.styleSheet.cssText = style.styles.filter(Boolean).join('\\n');\n } else {\n var index = style.ids.size - 1;\n var textNode = document.createTextNode(code);\n var nodes = style.element.childNodes;\n if (nodes[index]) style.element.removeChild(nodes[index]);\n if (nodes.length) style.element.insertBefore(textNode, nodes[index]);else style.element.appendChild(textNode);\n }\n }\n}\n\nvar browser = createInjector;\n\n/* script */\nvar __vue_script__ = script;\n\n/* template */\n\n/* style */\nvar __vue_inject_styles__ = function __vue_inject_styles__(inject) {\n if (!inject) return;\n inject(\"data-v-f670ad86_0\", { source: \".text__highlight{background:#fc0;border-radius:3px}\", map: undefined, media: undefined });\n};\n/* scoped */\nvar __vue_scope_id__ = undefined;\n/* module identifier */\nvar __vue_module_identifier__ = undefined;\n/* functional template */\nvar __vue_is_functional_template__ = undefined;\n/* style inject SSR */\n\nvar TextHighlight = normalizeComponent_1({}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, browser, undefined);\n\nexport default TextHighlight;\n","\r\nimport { OrderingSubjectView } from \"@/models/entities/ordering-subject-view.interface\";\r\nimport { CategoryPurpose } from \"@/models/entities/category-purpose.interface\";\r\nimport { GenerateXml } from \"@/models/entities/generate-xml.interface\";\r\nimport { orderingSubjectService } from \"@/services/api/ordering-subject.service\";\r\nimport { downloadXmlService } from \"@/services/api/generate-xml.service\";\r\nimport { categoryPurposeService } from \"@/services/api/category-purpose.service\";\r\nimport { excelDataManagerService } from \"@/services/api/excel-data-manager.service\";\r\nimport store from \"@/store\";\r\nimport AuthModule from \"@/store/modules/auth.module\";\r\nimport SearchBarModule from \"@/store/modules/searchBar.module\";\r\nimport OverlayModule from \"@/store/modules/overlay.module\";\r\nimport { Component, Vue, Watch } from \"vue-property-decorator\";\r\nimport { getModule } from \"vuex-module-decorators\";\r\nimport {\r\n Beneficiary,\r\n BeneficiaryXMLRequest,\r\n} from \"@/models/utils/beneficiary.interface\";\r\nimport {\r\n CellType,\r\n DataTable,\r\n Header,\r\n SnackbarModule,\r\n TableAction,\r\n ZFileInput,\r\n} from \"@zelando/vuelando\";\r\nimport { required, generalFiscalCode, maxLenght } from \"@/helpers/rules\";\r\nimport PageTitleModule from \"@/store/modules/pageTitle.module\";\r\nimport { BreadCrumb } from \"@/models/utils/breadcrumb.interface\";\r\nimport { MenuItems } from \"@/models/utils/menu-items.interface\";\r\nimport { authenticate } from \"@/services/api/authenticate.service\";\r\nimport { TransfersUsed } from \"@/models/entities/transfers-used.interface\";\r\nimport { overviewService } from \"@/services/api/overview.service\";\r\nimport TextHighlight from \"vue-text-highlight\";\r\nimport IBANTTT from \"iban\";\r\nimport {\r\n VMenuDivider,\r\n VMenuItem,\r\n} from \"@zelando/vuelando/dist/types/models/utils/v-menu-item.interface\";\r\nimport { userService } from \"@/services/api/user.service\";\r\n\r\nconst authModule = getModule(AuthModule, store);\r\n\r\nconst pageTitleModule = getModule(PageTitleModule, store);\r\n\r\nconst overlayModule = getModule(OverlayModule, store);\r\n\r\nconst searchBarModule = getModule(SearchBarModule, store);\r\n\r\nconst snackbarModule = getModule(SnackbarModule, store);\r\n\r\nVue.component(\"text-highlight\", TextHighlight);\r\n\r\nconst DownloadComplete = () => import(\"./Components/DownloadComplete.vue\");\r\n\r\n@Component({\r\n components: {\r\n \"download-complete\": DownloadComplete,\r\n },\r\n})\r\nexport default class Home extends Vue {\r\n drawerResize(): void {\r\n this.mini = this.mini && !this.$vuetify.breakpoint.mdAndUp;\r\n }\r\n\r\n path = require(\"@/assets/CBILogoRed.png\");\r\n\r\n private requiredRule = required;\r\n\r\n private drawer = true;\r\n private mini = true;\r\n private isFormValid = false;\r\n priorityValue = 1;\r\n priorityItems: { value: number; text: string }[] = [\r\n {\r\n text: this.$tc(\"home.PriorityTypeNormal\"),\r\n value: 1,\r\n },\r\n {\r\n text: this.$tc(\"home.PriorityTypeHigh\"),\r\n value: 2,\r\n },\r\n ];\r\n hasNewXMLFormat = true;\r\n private categoryPurpose: CategoryPurpose[] = [];\r\n private categoryPurposeDescr = 23;\r\n private dateRequest = new Date().toFormat(\"yyyy-MM-dd\");\r\n private dateRequestMin = new Date().toFormat(\"yyyy-MM-dd\");\r\n private showAddOrderingSubject = false;\r\n private orderingSubject: OrderingSubjectView[] = [];\r\n private orderingSubjectID = 0;\r\n private file: File = null;\r\n private fileNextStep: File[] = null;\r\n private invalidRows: Beneficiary[] = [];\r\n private generateXml: GenerateXml = null;\r\n private dialog = false;\r\n private downloadComplete = false;\r\n private disableModifyRow = false;\r\n private totalBeneficiaries = \"--\";\r\n private loading = false;\r\n private showAlertWrongImport = false;\r\n private beneficiaries: Beneficiary[] = [];\r\n private tableIsVisible = false;\r\n private uploadValue = true;\r\n private pxDistance = \"250px\";\r\n private inEditing: Beneficiary = null;\r\n private foreignIban = false;\r\n private toggle = false;\r\n private descrDialogError: string[] = [];\r\n private deleteDialog = false;\r\n private removeForeignIban = false;\r\n private selectedWrong = true;\r\n private selectedDuplicates = true;\r\n private ineditingDialog = false;\r\n private loadPage = false;\r\n private consumptionLocked = false;\r\n private countBeneficiaries = 0;\r\n private money = {\r\n decimal: \",\",\r\n thousands: \".\",\r\n precision: 2,\r\n };\r\n private transfersUsed: TransfersUsed = {\r\n beneficiariesCount: 0,\r\n monthlyBeneficiaries: 0,\r\n };\r\n private removeChanges: Beneficiary = {\r\n excelRowIndex: 0,\r\n subjectName: \"\",\r\n fiscalCode: \"\",\r\n iban: \"\",\r\n description: \"\",\r\n amount: null,\r\n locality: \"\",\r\n province: \"\",\r\n address: \"\",\r\n postalCode: \"\",\r\n city: \"\",\r\n country: \"\",\r\n isSelected: true,\r\n isValid: false,\r\n isRed: [],\r\n };\r\n private threedots: (VMenuItem | VMenuDivider)[] = [\r\n {\r\n label: this.$tc(\"home.DownloadTemplate\"),\r\n iconName: \"download\",\r\n action: () => {\r\n this.downloadModel();\r\n },\r\n },\r\n \"divider\",\r\n {\r\n label: this.$tc(\"home.AllowForeignBeneficiaries\"),\r\n iconName: \"\",\r\n action: () => {\r\n this.changedField();\r\n },\r\n },\r\n ];\r\n\r\n public breadcrumb: BreadCrumb[] = [\r\n {\r\n text: this.$tc(\"breadcrumb.Home\"),\r\n disabled: true,\r\n href: \"/home\",\r\n current: true,\r\n },\r\n ];\r\n\r\n private fileExtension: string[] = [\r\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\",\r\n ];\r\n\r\n private menuItems: MenuItems[] = [\r\n {\r\n label: this.$tc(\"home.AddBeneficiary\"),\r\n iconName: \"plus\",\r\n action: () => {\r\n return this.uploadExcel(true);\r\n },\r\n },\r\n {\r\n label: this.$tc(\"home.ReplaceBeneficiary\"),\r\n iconName: \"switch\",\r\n action: () => {\r\n return this.uploadExcel(false);\r\n },\r\n },\r\n ];\r\n\r\n private headersForeignIban: Header[] = [\r\n {\r\n text: \"\",\r\n value: \"formValidator\",\r\n cellType: CellType.CUSTOM,\r\n },\r\n {\r\n text: this.$tc(\"home.SubjectName\"),\r\n value: \"subjectName\",\r\n cellType: CellType.CUSTOM,\r\n rules: [required, maxLenght],\r\n },\r\n {\r\n text: this.$tc(\"home.FiscalCode\"),\r\n value: \"fiscalCode\",\r\n cellType: CellType.CUSTOM,\r\n rules: [generalFiscalCode],\r\n },\r\n {\r\n text: this.$tc(\"home.Iban\"),\r\n value: \"iban\",\r\n cellType: CellType.CUSTOM,\r\n rules: [required],\r\n },\r\n {\r\n text: this.$tc(\"home.Description\"),\r\n value: \"description\",\r\n cellType: CellType.CUSTOM,\r\n },\r\n {\r\n text: this.$tc(\"home.Amount\"),\r\n value: \"amount\",\r\n cellType: CellType.CUSTOM,\r\n },\r\n {\r\n text: this.$tc(\"home.Locality\"),\r\n value: \"locality\",\r\n cellType: CellType.CUSTOM,\r\n rules: [required],\r\n },\r\n {\r\n text: this.$tc(\"home.Province\"),\r\n value: \"province\",\r\n cellType: CellType.CUSTOM,\r\n },\r\n {\r\n text: this.$tc(\"home.Address\"),\r\n value: \"address\",\r\n cellType: CellType.CUSTOM,\r\n },\r\n {\r\n text: this.$tc(\"home.PostalCode\"),\r\n value: \"postalCode\",\r\n cellType: CellType.CUSTOM,\r\n },\r\n {\r\n text: this.$tc(\"home.Country\"),\r\n value: \"country\",\r\n cellType: CellType.CUSTOM,\r\n rules: [required],\r\n },\r\n {\r\n text: \" \",\r\n value: \"actionBtn\",\r\n cellType: CellType.CUSTOM,\r\n },\r\n ];\r\n\r\n private headers: Header[] = [];\r\n\r\n private headersNormal: Header[] = [\r\n {\r\n text: \"\",\r\n value: \"formValidator\",\r\n cellType: CellType.CUSTOM,\r\n },\r\n {\r\n text: this.$tc(\"home.SubjectName\"),\r\n value: \"subjectName\",\r\n cellType: CellType.CUSTOM,\r\n rules: [required],\r\n },\r\n {\r\n text: this.$tc(\"home.FiscalCode\"),\r\n value: \"fiscalCode\",\r\n cellType: CellType.CUSTOM,\r\n rules: [generalFiscalCode],\r\n },\r\n {\r\n text: this.$tc(\"home.Iban\"),\r\n value: \"iban\",\r\n cellType: CellType.CUSTOM,\r\n rules: [required],\r\n },\r\n {\r\n text: this.$tc(\"home.Description\"),\r\n value: \"description\",\r\n cellType: CellType.CUSTOM,\r\n },\r\n {\r\n text: this.$tc(\"home.Amount\"),\r\n value: \"amount\",\r\n cellType: CellType.CUSTOM,\r\n },\r\n {\r\n text: \"\",\r\n value: \"actionBtn\",\r\n cellType: CellType.CUSTOM,\r\n },\r\n ];\r\n\r\n private tableOptions: DataTable = {\r\n key: \"excelRowIndex\",\r\n loading: false,\r\n search: \"\",\r\n actions: [\r\n {\r\n name: \"edit\",\r\n icon: \"trash\",\r\n tooltip: this.$tc(\"home.Delete\"),\r\n size: \"extra-small\",\r\n } as TableAction,\r\n ],\r\n headers: this.headers,\r\n values: this.beneficiaries,\r\n };\r\n\r\n private tempAmount: string = null;\r\n\r\n private get showLinkDifference(): boolean {\r\n return (\r\n !this.consumptionLocked &&\r\n this.transfersUsed.difference < 1 &&\r\n authModule.profileRoleID === 2\r\n );\r\n }\r\n\r\n private get breadcrumbs(): BreadCrumb[] {\r\n return pageTitleModule.breadcrumb;\r\n }\r\n\r\n private get username(): string {\r\n return authModule.userName;\r\n }\r\n\r\n private get email(): string {\r\n return authModule.userEmail;\r\n }\r\n\r\n private get getWrongRows(): number {\r\n return this.beneficiaries.filter((x) => x.isValid == false).length;\r\n }\r\n\r\n //get duplicate iban\r\n private findDoubledBeneficiaries(bens: Beneficiary[]): Beneficiary[] {\r\n const allIbans: string[] = bens.map((x) => x.iban);\r\n const doubledIbans: string[] = allIbans.filter((val, idx, arr) => {\r\n return arr.indexOf(val) !== idx;\r\n });\r\n return bens.filter((x) => {\r\n return doubledIbans.includes(x.iban);\r\n });\r\n }\r\n\r\n // check: stato inserito != stato IBAN (se compilati)\r\n private findCountriesAnomaliesInIban(bens: Beneficiary[]): Beneficiary[] {\r\n return bens.filter((x) => {\r\n if (x.iban?.length > 1 && x.country?.length > 1) {\r\n return (\r\n x.iban?.slice(0, 2)?.toUpperCase() !==\r\n x.country?.slice(0, 2)?.toUpperCase()\r\n );\r\n }\r\n return false;\r\n });\r\n }\r\n\r\n private get getDoubleNumber(): number {\r\n return this.findDoubledBeneficiaries(this.beneficiaries)?.length ?? 0;\r\n }\r\n\r\n private get getCountriesAnomaliesInIban(): number {\r\n return this.findCountriesAnomaliesInIban(this.beneficiaries)?.length ?? 0;\r\n }\r\n\r\n private get drawerType(): string {\r\n if (this.getWrongRows > 0 && this.tableIsVisible) {\r\n return \"error-background mt-auto\";\r\n }\r\n if (\r\n (this.getDoubleNumber > 0 || this.getCountriesAnomaliesInIban > 0) &&\r\n this.tableIsVisible\r\n ) {\r\n return \"warning\";\r\n }\r\n if (\r\n this.beneficiaries.filter((x) => x.isValid == false).length == 0 &&\r\n this.tableIsVisible\r\n ) {\r\n return \"correct\";\r\n }\r\n\r\n return \"default\";\r\n }\r\n\r\n private get totalAmount(): string {\r\n const total = this.beneficiaries.slice().reduce((aggr, el) => {\r\n const amount =\r\n el.amount != null && el.amount != \"\"\r\n ? el.amount.replaceAll(\".\", \"\").replaceAll(\",\", \".\")\r\n : \"0\";\r\n\r\n const tempAmount = parseFloat(amount);\r\n aggr += !isNaN(tempAmount)\r\n ? tempAmount\r\n : parseFloat(this.tempAmount.replaceAll(\".\", \"\").replaceAll(\",\", \".\"));\r\n\r\n return aggr;\r\n }, 0);\r\n\r\n const ris = total.toLocaleString(\"it-IT\", {\r\n minimumFractionDigits: 2,\r\n maximumFractionDigits: 2,\r\n });\r\n\r\n return ris != \"0\" || ris == null ? ris : \"--\";\r\n }\r\n\r\n async created(): Promise {\r\n this.mini = false;\r\n searchBarModule.setVisibleAction(false);\r\n pageTitleModule.setBreadCrumb(this.breadcrumb);\r\n this.dateRequest = new Date().toISOString().split(\"T\")[0];\r\n\r\n //hide scroll bar page\r\n window.addEventListener(\"beforeunload\", this.onClose);\r\n document\r\n .getElementsByTagName(\"html\")\r\n .item(0)\r\n .style.setProperty(\"overflow\", \"hidden\");\r\n\r\n //get expiredPlans\r\n this.consumptionLocked = (await userService.GetConsumptionLocked()).data;\r\n\r\n //get used transfers\r\n overlayModule.showOverlay();\r\n await this.GetNumTransfersByMonth();\r\n\r\n //get data orderingSubject\r\n const orderingSubjects = await orderingSubjectService.ReadAll(\r\n authModule.userID\r\n );\r\n this.orderingSubject = orderingSubjects.data;\r\n if (this.orderingSubject.length > 0) {\r\n this.orderingSubjectID = this.orderingSubject[0].orderingSubjectID;\r\n this.orderingSubject.forEach((x) => {\r\n if (x.isDefault) {\r\n this.orderingSubjectID = x.orderingSubjectID;\r\n }\r\n });\r\n } else {\r\n this.showAddOrderingSubject = true;\r\n }\r\n\r\n //get data categoryPurposeSync\r\n const categoryPurpose = await categoryPurposeService.GetCategoryPurpose();\r\n this.categoryPurpose = categoryPurpose.data;\r\n\r\n //get headers\r\n this.headers = this.headersForeignIban; // this.headersNormal;\r\n this.$set(this.tableOptions, \"headers\", this.headers);\r\n\r\n if (this.$vuetify.breakpoint.lgAndUp) {\r\n this.mini = false;\r\n }\r\n this.loadPage = true;\r\n }\r\n\r\n private async logout(): Promise {\r\n await authenticate.Logout();\r\n this.$router.push({\r\n name: \"login\",\r\n });\r\n }\r\n\r\n private profileClicked(): void {\r\n this.$router.push({\r\n name: \"account\",\r\n });\r\n }\r\n\r\n private goHome() {\r\n this.$router.push({ name: \"home\" });\r\n }\r\n\r\n //add field for foreign iban\r\n private changedField(): void {\r\n let exists = false;\r\n if (this.foreignIban) {\r\n this.beneficiaries.forEach((x) => {\r\n if (\r\n x.locality != \"\" &&\r\n x.province != \"\" &&\r\n x.country != \"\" &&\r\n x.locality != \"\"\r\n ) {\r\n exists = true;\r\n }\r\n });\r\n if (exists) {\r\n this.removeForeignIban = true;\r\n } else {\r\n this.removeForeignField();\r\n }\r\n } else {\r\n this.headers = this.headersForeignIban;\r\n this.foreignIban = true;\r\n this.toggle = true;\r\n }\r\n\r\n this.$set(this.tableOptions, \"headers\", this.headers);\r\n }\r\n\r\n private removeForeignField(): void {\r\n // this.headers = this.headersNormal;\r\n this.headers = this.headersForeignIban;\r\n this.foreignIban = false;\r\n this.toggle = false;\r\n this.removeForeignIban = false;\r\n this.$set(this.tableOptions, \"headers\", this.headers);\r\n }\r\n\r\n private removeForeign(): void {\r\n this.beneficiaries.forEach((x) => {\r\n x.locality = \"\";\r\n x.province = \"\";\r\n x.country = \"\";\r\n x.locality = \"\";\r\n });\r\n // this.headers = this.headersNormal;\r\n this.headers = this.headersForeignIban;\r\n this.foreignIban = false;\r\n this.toggle = false;\r\n this.removeForeignIban = false;\r\n this.$set(this.tableOptions, \"headers\", this.headers);\r\n }\r\n\r\n private async GetNumTransfersByMonth(): Promise {\r\n await overviewService.GetNumTransfersByMonth().then((x) => {\r\n if (x.data) {\r\n this.transfersUsed.beneficiariesCount = x.data.beneficiariesCount;\r\n this.transfersUsed.monthlyBeneficiaries = x.data.monthlyBeneficiaries;\r\n const difference =\r\n x.data.monthlyBeneficiaries - x.data.beneficiariesCount;\r\n Vue.set(this.transfersUsed, \"difference\", difference);\r\n }\r\n });\r\n }\r\n\r\n private async fileExecute(): Promise {\r\n var error = false;\r\n if (this.file != null) {\r\n try {\r\n overlayModule.showOverlay();\r\n //get elaboreate data from excel\r\n this.countBeneficiaries = 0;\r\n const x = await excelDataManagerService.GetDataByExcel(this.file);\r\n let newBene = this.validateRow(x.data);\r\n this.addBeneficiaryToArray(newBene);\r\n this.$set(this.tableOptions, \"values\", this.beneficiaries);\r\n } catch (e) {\r\n if (e.response.status == 409) error = true;\r\n snackbarModule.showSnackbar({\r\n message: this.$tc(\"home.BeneficiaryOutOfBound\"),\r\n type: \"error\",\r\n timer: 5000,\r\n });\r\n }\r\n }\r\n this.parseAmount(this.beneficiaries);\r\n if (this.beneficiaries.length > 0) {\r\n this.tableIsVisible = true;\r\n for (const beneficary of this.beneficiaries) {\r\n if (beneficary.subjectName.length > 70) {\r\n snackbarModule.showSnackbar({\r\n message: this.$tc(\"home.OverflowText\"),\r\n type: \"error\",\r\n dismissable: true,\r\n });\r\n break;\r\n }\r\n }\r\n searchBarModule.setVisibleAction(true);\r\n } else {\r\n if (error == false) {\r\n this.showAlertWrongImport = true;\r\n searchBarModule.setVisibleAction(false);\r\n }\r\n }\r\n }\r\n\r\n private async fileExecuteNextStep(): Promise {\r\n if (this.fileNextStep[0] != null) {\r\n overlayModule.showOverlay();\r\n try {\r\n const x = await excelDataManagerService.GetDataByExcel(\r\n this.fileNextStep[0]\r\n );\r\n\r\n if (this.uploadValue) {\r\n let newBene = this.validateRow(x.data);\r\n\r\n this.parseAmount(newBene);\r\n\r\n this.addBeneficiaryToArray(newBene);\r\n } else {\r\n this.countBeneficiaries = 0;\r\n let newBene = this.validateRow(x.data);\r\n this.beneficiaries = [];\r\n\r\n this.addBeneficiaryToArray(newBene);\r\n\r\n this.parseAmount(this.beneficiaries);\r\n }\r\n this.$set(this.tableOptions, \"values\", this.beneficiaries);\r\n await this.$nextTick();\r\n } catch (e) {\r\n if (e.response.status == 409)\r\n snackbarModule.showSnackbar({\r\n message: this.$tc(\"home.BeneficiaryOutOfBound\"),\r\n type: \"error\",\r\n timer: 5000,\r\n });\r\n }\r\n }\r\n if (this.beneficiaries.length > 0) {\r\n this.tableIsVisible = true;\r\n for (const beneficary of this.beneficiaries) {\r\n if (beneficary.subjectName.length > 70) {\r\n snackbarModule.showSnackbar({\r\n message: this.$tc(\"home.OverflowText\"),\r\n type: \"error\",\r\n dismissable: true,\r\n });\r\n break;\r\n }\r\n }\r\n searchBarModule.setVisibleAction(true);\r\n } else {\r\n this.showAlertWrongImport = true;\r\n this.tableIsVisible = false;\r\n searchBarModule.setVisibleAction(false);\r\n }\r\n }\r\n\r\n private uploadExcel(value: boolean): void {\r\n (this.$refs.file as ZFileInput).triggerClick();\r\n this.uploadValue = value;\r\n }\r\n\r\n private async addBeneficiary(): Promise {\r\n if (!this.beneficiaries.includes(this.inEditing)) {\r\n const beneficiary = {\r\n excelRowIndex: this.beneficiaries.length,\r\n subjectName: \"\",\r\n fiscalCode: \"\",\r\n iban: \"\",\r\n description: \"\",\r\n amount: null,\r\n locality: \"\",\r\n province: \"\",\r\n address: \"\",\r\n postalCode: \"\",\r\n city: \"\",\r\n country: \"\",\r\n duplicate: false,\r\n isSelected: true,\r\n isValid: false,\r\n isRed: [],\r\n };\r\n // const index = this.beneficiaries.length;\r\n this.beneficiaries.push(beneficiary);\r\n this.inEditing = beneficiary;\r\n this.tableIsVisible = true;\r\n this.$set(this.tableOptions, \"values\", this.beneficiaries);\r\n this.drawer = true;\r\n }\r\n }\r\n\r\n private async downloadXml(): Promise {\r\n this.loading = true;\r\n overlayModule.showOverlay();\r\n\r\n const xmlBen: BeneficiaryXMLRequest[] = this.beneficiaries.map((x) => {\r\n return {\r\n subjectName: x.subjectName,\r\n fiscalCode: x.fiscalCode,\r\n locality: x.locality,\r\n province: x.province,\r\n address: x.address,\r\n postalCode: x.postalCode,\r\n iban: x.iban,\r\n description: x.description,\r\n amount: x.amount,\r\n city: x.city,\r\n country: x.country,\r\n hasNewXMLFormat: this.hasNewXMLFormat,\r\n };\r\n });\r\n this.generateXml = {\r\n beneficiaries: xmlBen,\r\n orderingSubjectID: this.orderingSubjectID,\r\n requestDate: this.dateRequest,\r\n categoryPurpose: this.categoryPurpose[this.categoryPurposeDescr - 1].code,\r\n userId: authModule.userID,\r\n firstTime: true,\r\n isInstant: this.priorityValue === 2,\r\n hasNewXMLFormat: this.hasNewXMLFormat,\r\n };\r\n try {\r\n const x = await downloadXmlService.GetDownloadXml(this.generateXml, true);\r\n const element = document.createElement(\"a\");\r\n element.setAttribute(\r\n \"href\",\r\n \"data:text/xml;charset=utf-8,\" + encodeURIComponent(x.data)\r\n );\r\n const fileName =\r\n (!this.hasNewXMLFormat\r\n ? this.$tc(\"downloadNewXMLFormat.FileNameOld\")\r\n : this.$tc(\"downloadNewXMLFormat.FileName\")) +\r\n new Date().toFormat(\"yyyy_MM_dd_HH_mm\");\r\n element.setAttribute(\"download\", fileName);\r\n element.style.display = \"none\";\r\n document.body.appendChild(element);\r\n element.click();\r\n document.body.appendChild(element);\r\n this.downloadComplete = true;\r\n searchBarModule.setVisibleAction(false);\r\n await this.GetNumTransfersByMonth();\r\n } catch (e) {\r\n if (e.response.status === 400 || e.response.status === 500) {\r\n snackbarModule.hideSnackbar();\r\n snackbarModule.showSnackbar({\r\n message: e.response.data\r\n ? this.$tc(e.response?.data.toString())\r\n : this.$tc(\"home.LicenceExpired\"),\r\n type: \"error\",\r\n timer: 5000,\r\n });\r\n } else if (e.response.status == 409) {\r\n snackbarModule.showSnackbar({\r\n message: this.$tc(\"home.BeneficiaryOutOfBound\"),\r\n type: \"error\",\r\n timer: 5000,\r\n });\r\n }\r\n }\r\n }\r\n\r\n private newOrderingSubject(): void {\r\n this.$router.push({\r\n name: \"account\",\r\n params: {\r\n propOrderingSubject: \"true\",\r\n context: \"orderingSubjectList\",\r\n },\r\n });\r\n }\r\n\r\n private downloadModel(): void {\r\n window.open(\"https://cbifast.com/public/modello_cbi.xlsx\");\r\n }\r\n\r\n //open for downloadXml\r\n private openDialog() {\r\n this.dialog = true;\r\n }\r\n\r\n private confirmDialog() {\r\n this.downloadXml();\r\n this.dialog = false;\r\n }\r\n\r\n private undoDialog() {\r\n this.dialog = false;\r\n }\r\n\r\n private closeDownloadComplete(): void {\r\n this.downloadComplete = false;\r\n this.tableIsVisible = false;\r\n this.loading = false;\r\n this.beneficiaries = [];\r\n this.$set(this.tableOptions, \"values\", this.beneficiaries);\r\n }\r\n\r\n //select frong row\r\n private selectWrong(): void {\r\n if (this.selectedWrong) {\r\n this.selectedWrong = false;\r\n this.invalidRows = this.beneficiaries.filter((x) => x.isValid == false);\r\n } else {\r\n this.selectedWrong = true;\r\n this.invalidRows = [];\r\n }\r\n }\r\n\r\n //select double row\r\n private getDouble(): void {\r\n if (this.selectedDuplicates) {\r\n this.invalidRows = this.findDoubledBeneficiaries(this.beneficiaries); // doubled;\r\n this.selectedDuplicates = false;\r\n } else {\r\n this.selectedDuplicates = true;\r\n this.invalidRows = [];\r\n }\r\n }\r\n\r\n private getCountriesAnomaliesIban(): void {\r\n if (this.selectedDuplicates) {\r\n this.invalidRows = this.findCountriesAnomaliesInIban(this.beneficiaries); // doubled;\r\n this.selectedDuplicates = false;\r\n } else {\r\n this.selectedDuplicates = true;\r\n this.invalidRows = [];\r\n }\r\n }\r\n\r\n private modifyRow(item: Beneficiary) {\r\n this.removeChanges = { ...item };\r\n this.disableModifyRow = true;\r\n this.tempAmount = item.amount;\r\n this.inEditing = item;\r\n setTimeout(() => {\r\n (this.$refs.form as Vue & { validate: () => boolean }).validate();\r\n }, 0);\r\n }\r\n\r\n private removeChangesRow(item: Beneficiary) {\r\n let index = 0;\r\n for (let i = 0; i < this.beneficiaries.length; i++) {\r\n if (this.beneficiaries[i].excelRowIndex == item.excelRowIndex) {\r\n index = i;\r\n break;\r\n }\r\n }\r\n this.inEditing = null;\r\n this.beneficiaries[index].iban = this.removeChanges.iban;\r\n this.beneficiaries[index].postalCode = this.removeChanges.postalCode;\r\n this.beneficiaries[index].city = this.removeChanges.city;\r\n this.beneficiaries[index].country = this.removeChanges.country;\r\n this.beneficiaries[index].subjectName = this.removeChanges.subjectName;\r\n this.beneficiaries[index].fiscalCode = this.removeChanges.fiscalCode;\r\n this.beneficiaries[index].description = this.removeChanges.description;\r\n this.beneficiaries[index].amount = this.removeChanges.amount;\r\n this.beneficiaries[index].locality = this.removeChanges.locality;\r\n this.beneficiaries[index].province = this.removeChanges.province;\r\n this.beneficiaries[index].address = this.removeChanges.address;\r\n this.beneficiaries[index].address = this.removeChanges.address;\r\n this.beneficiaries[index].isValid = this.removeChanges.isValid;\r\n this.beneficiaries[index].isRed = this.removeChanges.isRed;\r\n\r\n this.$set(this.tableOptions, \"values\", this.beneficiaries);\r\n this.disableModifyRow = false;\r\n }\r\n\r\n private checkIban(iban: string): boolean[] {\r\n var IBAN = IBANTTT;\r\n var valid: boolean[] = [];\r\n valid.push(IBAN.isValid(iban));\r\n return valid;\r\n }\r\n\r\n private saveChangesRow(arrayIndex: number) {\r\n let errorString = this.$tc(\"home.RowErrorSnackbar\");\r\n const validForm = (\r\n this.$refs.form as Vue & { validate: () => boolean }\r\n ).validate();\r\n let index = 0;\r\n for (let i = 0; i < this.beneficiaries.length; i++) {\r\n if (this.beneficiaries[i].excelRowIndex == arrayIndex) {\r\n index = i;\r\n break;\r\n }\r\n }\r\n var IBAN = IBANTTT;\r\n this.beneficiaries[index].isValid = validForm;\r\n\r\n if (!IBAN.isValid(this.beneficiaries[index].iban)) {\r\n this.beneficiaries[index].isValid = false;\r\n }\r\n\r\n this.beneficiaries[index].amount = this.beneficiaries[index].amount.replace(\r\n \"€\",\r\n \"\"\r\n );\r\n if (\r\n this.beneficiaries[index].amount == \"0\" ||\r\n this.beneficiaries[index].amount == \"0,00\"\r\n ) {\r\n this.beneficiaries[index].isRed.push(\"amount\");\r\n this.beneficiaries[index].isValid = false;\r\n }\r\n let textOverflow = false;\r\n this.parseAmountSingle(this.beneficiaries[index]);\r\n Object.keys(this.beneficiaries[index]).forEach((y) => {\r\n let errorStringLength = this.isMaxLengthBroken(\r\n this.beneficiaries[index],\r\n y\r\n );\r\n if (\r\n (required(this.beneficiaries[index][y]) !== true &&\r\n y != \"locality\" &&\r\n y != \"province\" &&\r\n y != \"address\" &&\r\n y != \"postalCode\" &&\r\n y != \"city\" &&\r\n y != \"country\" &&\r\n y != \"errorRef\" &&\r\n y != \"excelRowIndex\" &&\r\n y != \"isValid\" &&\r\n y != \"description\" &&\r\n y != \"fiscalCode\") ||\r\n (y === \"fiscalCode\" &&\r\n this.beneficiaries[index][y] != null &&\r\n generalFiscalCode(this.beneficiaries[index][y]) !== true &&\r\n ![11, 16].includes(this.beneficiaries[index][y].length)) ||\r\n // this.beneficiaries[index][y].length != 11) ||\r\n errorStringLength != \"\"\r\n ) {\r\n this.beneficiaries[index].isValid = false;\r\n if (errorStringLength != \"\") {\r\n errorString = errorStringLength;\r\n textOverflow = true;\r\n }\r\n }\r\n });\r\n if (textOverflow) {\r\n snackbarModule.showSnackbar({\r\n message: this.$tc(\"home.OverflowText\"),\r\n type: \"error\",\r\n dismissable: true,\r\n });\r\n }\r\n if (this.beneficiaries[index].isValid == true) {\r\n if (this.checkForeignIban(this.beneficiaries[index])) {\r\n this.disableModifyRow = false;\r\n this.inEditing = null;\r\n this.beneficiaries[index].isRed = [];\r\n if (!this.beneficiaries[index].iban.startsWith(\"IT\")) {\r\n this.headers = this.headersForeignIban;\r\n this.foreignIban = true;\r\n this.toggle = true;\r\n this.$set(this.tableOptions, \"headers\", this.headers);\r\n }\r\n } else {\r\n this.beneficiaries[index].isValid = false;\r\n this.beneficiaries[index].isRed.push(\"locality\");\r\n snackbarModule.showSnackbar({\r\n message: this.$tc(\"home.RowForeignCheckSnackbar\"),\r\n type: \"error\",\r\n timer: 7500,\r\n });\r\n }\r\n } else {\r\n snackbarModule.showSnackbar({\r\n message: errorString,\r\n type: \"error\",\r\n timer: 5000,\r\n });\r\n }\r\n // Also check for required fields\r\n }\r\n\r\n // ___ check, if foreign IBAN, for proper filling.\r\n checkForeignIban(ben: Beneficiary): boolean {\r\n if (ben?.iban?.length > 2) {\r\n const countryCode: string = ben?.iban?.slice(0, 2);\r\n if (countryCode?.toLowerCase() !== \"it\") {\r\n return ben.locality?.length > 0;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n //prevent from close tab\r\n onClose(event: BeforeUnloadEvent): void {\r\n if (\r\n this.beneficiaries != null &&\r\n this.beneficiaries.length != 0 &&\r\n this.$router.currentRoute.path == \"/home\"\r\n ) {\r\n event.preventDefault();\r\n event.returnValue = \"Are you sure you want to exit?\";\r\n }\r\n }\r\n\r\n private parseAmount(beneficiaries: Beneficiary[]) {\r\n let ris = \"\";\r\n beneficiaries.forEach((x) => {\r\n if (x.iban != null) {\r\n x.iban = x.iban.trim().replaceAll(/\\s/g, \"\");\r\n }\r\n if (x.amount != null && x.amount != \"\") {\r\n let obj = x.amount.replaceAll(\",\", \".\");\r\n ris = parseFloat(obj).toLocaleString(\"it-IT\", {\r\n minimumFractionDigits: 2,\r\n maximumFractionDigits: 2,\r\n });\r\n } else {\r\n ris = \"0\";\r\n }\r\n x.amount = ris;\r\n });\r\n }\r\n\r\n private parseAmountSingle(beneficiaries: Beneficiary) {\r\n let ris = \"\";\r\n if (beneficiaries.amount != null && beneficiaries.amount != \"\") {\r\n if (beneficiaries.iban != null) {\r\n beneficiaries.iban = beneficiaries.iban.trim().replaceAll(/\\s/g, \"\");\r\n }\r\n ris = parseFloat(\r\n beneficiaries.amount.replaceAll(\".\", \"\").replaceAll(\",\", \".\")\r\n ).toLocaleString(\"it-IT\", {\r\n minimumFractionDigits: 2,\r\n maximumFractionDigits: 2,\r\n });\r\n } else {\r\n ris = \"0\";\r\n }\r\n beneficiaries.amount = ris;\r\n }\r\n\r\n //dynamic validation of row\r\n private validateRow(beneficiaries: Beneficiary[]): Beneficiary[] {\r\n this.descrDialogError = [];\r\n var IBAN = IBANTTT;\r\n let newBene = beneficiaries.map((x) => {\r\n x.isValid = true;\r\n x.isRed = [];\r\n if (x.amount === \"0\") {\r\n // Set as \"0\" from backend if not valid!\r\n x.isRed.push(\"amount\");\r\n x.isValid = false;\r\n }\r\n if (!IBAN.isValid(x.iban)) {\r\n x.isRed.push(\"iban\");\r\n x.isValid = false;\r\n if (!this.descrDialogError.includes(this.$tc(\"home.Iban\"))) {\r\n this.descrDialogError.push(this.$tc(\"home.Iban\"));\r\n }\r\n }\r\n if (!this.checkForeignIban(x)) {\r\n x.isRed.push(\"locality\");\r\n x.isValid = false;\r\n if (\r\n !this.descrDialogError.includes(\r\n this.$tc(\"home.RowForeignCheckSnackbar\")\r\n )\r\n ) {\r\n this.descrDialogError.push(this.$tc(\"home.RowForeignCheckSnackbar\"));\r\n }\r\n }\r\n if (!x.locality || !x.country) {\r\n x.isRed.push(\"locality\");\r\n x.isValid = false;\r\n if (\r\n !this.descrDialogError.includes(this.$tc(\"home.RowCbiRequiredFields\"))\r\n ) {\r\n this.descrDialogError.push(this.$tc(\"home.RowCbiRequiredFields\"));\r\n }\r\n }\r\n for (var y of Object.keys(x)) {\r\n if (\r\n (required(x[y]) !== true &&\r\n y !== \"locality\" &&\r\n y !== \"province\" &&\r\n y !== \"address\" &&\r\n y !== \"postalCode\" &&\r\n y !== \"city\" &&\r\n y !== \"country\" &&\r\n y !== \"errorRef\" &&\r\n y !== \"excelRowIndex\" &&\r\n y !== \"isValid\" &&\r\n y !== \"description\" &&\r\n y !== \"fiscalCode\") ||\r\n (y === \"fiscalCode\" &&\r\n x[y] != null &&\r\n generalFiscalCode(x[y]) !== true &&\r\n ![11, 16].includes(x[y].length)) ||\r\n this.isMaxLengthBroken(x[y], y) != \"\"\r\n ) {\r\n x.isRed.push(y.toString());\r\n x.isValid = false;\r\n }\r\n }\r\n\r\n x.excelRowIndex = this.countBeneficiaries;\r\n this.countBeneficiaries++;\r\n return x;\r\n });\r\n return newBene;\r\n }\r\n\r\n isMaxLengthBroken(b: Beneficiary, i: string): string {\r\n if (b && b[i]) {\r\n switch (i) {\r\n case \"subjectName\":\r\n return b[i].length > 70\r\n ? this.$tc(\"api.xmlSubjectNameLengthError\")\r\n : \"\";\r\n case \"fiscalCode\":\r\n return b[i].length > 35\r\n ? this.$tc(\"api.xmlFiscalCodeLengthError\")\r\n : \"\";\r\n case \"iban\":\r\n return b[i].length > 34 ? this.$tc(\"api.xmlIbanLengthError\") : \"\";\r\n case \"description\":\r\n return b[i].length > 140\r\n ? this.$tc(\"api.xmlDescriptionLengthError\")\r\n : \"\";\r\n case \"amount\":\r\n return b[i].length > 24 ? this.$tc(\"api.xmlAmountLengthError\") : \"\";\r\n case \"locality\":\r\n return b[i].length > 35 ? this.$tc(\"api.xmlLocalityLengthError\") : \"\";\r\n case \"province\":\r\n return b[i].length > 35 ? this.$tc(\"api.xmlProvinceLengthError\") : \"\";\r\n case \"address\":\r\n return b[i].length > 70 ? this.$tc(\"api.xmlAddressLengthError\") : \"\";\r\n case \"postalCode\":\r\n return b[i].length > 16\r\n ? this.$tc(\"api.xmlPostalCodeLengthError\")\r\n : \"\";\r\n case \"city\":\r\n return b[i].length > 35 ? this.$tc(\"api.xmlCityLengthError\") : \"\";\r\n case \"country\":\r\n return b[i].length > 2 ? this.$tc(\"api.xmlCountryLengthError\") : \"\";\r\n default:\r\n return \"\";\r\n }\r\n }\r\n return \"\";\r\n }\r\n\r\n //add beneficary to array\r\n private addBeneficiaryToArray(beneficiaries: Beneficiary[]) {\r\n beneficiaries.forEach((beneficiary: Beneficiary) => {\r\n if (!beneficiary.iban.startsWith(\"IT\")) {\r\n this.headers = this.headersForeignIban;\r\n this.foreignIban = true;\r\n this.toggle = true;\r\n this.$set(this.tableOptions, \"headers\", this.headers);\r\n }\r\n this.beneficiaries.push(beneficiary);\r\n });\r\n }\r\n\r\n private deleteRow() {\r\n this.invalidRows.forEach((beneficiary: Beneficiary) => {\r\n for (let i = 0; i < this.beneficiaries.length; i++) {\r\n if (this.beneficiaries[i].excelRowIndex == beneficiary.excelRowIndex) {\r\n this.beneficiaries.splice(i, 1);\r\n }\r\n }\r\n });\r\n this.invalidRows = [];\r\n this.deleteDialog = false;\r\n if (this.beneficiaries.length == 0) {\r\n this.tableIsVisible = false;\r\n searchBarModule.setVisibleAction(false);\r\n }\r\n }\r\n\r\n get globalSearch(): string {\r\n return searchBarModule.search;\r\n }\r\n\r\n @Watch(\"globalSearch\")\r\n globalSearchChanged(): void {\r\n this.tableOptions.search = this.globalSearch;\r\n }\r\n\r\n private customSearch(\r\n value: string | number,\r\n globalSearch: string | null,\r\n beneficiaries: Beneficiary\r\n ): boolean {\r\n const src = globalSearch.toLowerCase().trim();\r\n if (\r\n (beneficiaries.subjectName != null &&\r\n beneficiaries.subjectName.toLowerCase().includes(src)) ||\r\n (beneficiaries.fiscalCode != null &&\r\n beneficiaries.fiscalCode.toString().toLowerCase().includes(src)) ||\r\n (beneficiaries.iban != null &&\r\n beneficiaries.iban.toString().toLowerCase().includes(src)) ||\r\n (beneficiaries.description != null &&\r\n beneficiaries.description.toString().toLowerCase().includes(src)) ||\r\n (beneficiaries.amount != null &&\r\n beneficiaries.amount.toString().toLowerCase().includes(src)) ||\r\n (beneficiaries.locality != null &&\r\n beneficiaries.locality.toLowerCase().includes(src)) ||\r\n (beneficiaries.province != null &&\r\n beneficiaries.province.toLowerCase().includes(src)) ||\r\n (beneficiaries.address != null &&\r\n beneficiaries.address.toLowerCase().includes(src)) ||\r\n (beneficiaries.postalCode != null &&\r\n beneficiaries.postalCode.toLowerCase().includes(src)) ||\r\n (beneficiaries.city != null &&\r\n beneficiaries.city.toLowerCase().includes(src)) ||\r\n (beneficiaries.country != null &&\r\n beneficiaries.country.toLowerCase().includes(src))\r\n ) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n private goToPlans() {\r\n this.$router.push({\r\n name: \"account\",\r\n params: {\r\n context: \"payments\",\r\n payments: \"overview\",\r\n },\r\n });\r\n }\r\n\r\n fastInputSanitize(s: string): string {\r\n return s.replaceAll(\"script>\", \"\");\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=ab7619e2&scoped=true&\"\nimport script from \"./Home.vue?vue&type=script&lang=ts&\"\nexport * from \"./Home.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=ab7619e2&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ab7619e2\",\n null\n \n)\n\nexport default component.exports","import Vue, { VNodeData, PropType } from 'vue'\n\n// Directives\nimport Ripple, { RippleOptions } from '../../directives/ripple'\n\n// Utilities\nimport { getObjectValueByPath } from '../../util/helpers'\n\nexport default Vue.extend({\n name: 'routable',\n\n directives: {\n Ripple,\n },\n\n props: {\n activeClass: String,\n append: Boolean,\n disabled: Boolean,\n exact: {\n type: Boolean as PropType,\n default: undefined,\n },\n exactPath: Boolean,\n exactActiveClass: String,\n link: Boolean,\n href: [String, Object],\n to: [String, Object],\n nuxt: Boolean,\n replace: Boolean,\n ripple: {\n type: [Boolean, Object],\n default: null,\n },\n tag: String,\n target: String,\n },\n\n data: () => ({\n isActive: false,\n proxyClass: '',\n }),\n\n computed: {\n classes (): object {\n const classes: Record = {}\n\n if (this.to) return classes\n\n if (this.activeClass) classes[this.activeClass] = this.isActive\n if (this.proxyClass) classes[this.proxyClass] = this.isActive\n\n return classes\n },\n computedRipple (): RippleOptions | boolean {\n return this.ripple ?? (!this.disabled && this.isClickable)\n },\n isClickable (): boolean {\n if (this.disabled) return false\n\n return Boolean(\n this.isLink ||\n this.$listeners.click ||\n this.$listeners['!click'] ||\n this.$attrs.tabindex\n )\n },\n isLink (): boolean {\n return this.to || this.href || this.link\n },\n styles: () => ({}),\n },\n\n watch: {\n $route: 'onRouteChange',\n },\n\n mounted () {\n this.onRouteChange()\n },\n\n methods: {\n generateRouteLink () {\n let exact = this.exact\n let tag\n\n const data: VNodeData = {\n attrs: {\n tabindex: 'tabindex' in this.$attrs ? this.$attrs.tabindex : undefined,\n },\n class: this.classes,\n style: this.styles,\n props: {},\n directives: [{\n name: 'ripple',\n value: this.computedRipple,\n }],\n [this.to ? 'nativeOn' : 'on']: {\n ...this.$listeners,\n ...('click' in this ? { click: (this as any).click } : undefined), // #14447\n },\n ref: 'link',\n }\n\n if (typeof this.exact === 'undefined') {\n exact = this.to === '/' ||\n (this.to === Object(this.to) && this.to.path === '/')\n }\n\n if (this.to) {\n // Add a special activeClass hook\n // for component level styles\n let activeClass = this.activeClass\n let exactActiveClass = this.exactActiveClass || activeClass\n\n if (this.proxyClass) {\n activeClass = `${activeClass} ${this.proxyClass}`.trim()\n exactActiveClass = `${exactActiveClass} ${this.proxyClass}`.trim()\n }\n\n tag = this.nuxt ? 'nuxt-link' : 'router-link'\n Object.assign(data.props, {\n to: this.to,\n exact,\n exactPath: this.exactPath,\n activeClass,\n exactActiveClass,\n append: this.append,\n replace: this.replace,\n })\n } else {\n tag = (this.href && 'a') || this.tag || 'div'\n\n if (tag === 'a' && this.href) data.attrs!.href = this.href\n }\n\n if (this.target) data.attrs!.target = this.target\n\n return { tag, data }\n },\n onRouteChange () {\n if (!this.to || !this.$refs.link || !this.$route) return\n const activeClass = `${this.activeClass || ''} ${this.proxyClass || ''}`.trim()\n const exactActiveClass = `${this.exactActiveClass || ''} ${this.proxyClass || ''}`.trim() || activeClass\n\n const path = '_vnode.data.class.' + (this.exact ? exactActiveClass : activeClass)\n\n this.$nextTick(() => {\n /* istanbul ignore else */\n if (!getObjectValueByPath(this.$refs.link, path) === this.isActive) {\n this.toggle()\n }\n })\n },\n toggle () {\n this.isActive = !this.isActive\n },\n },\n})\n","import { AppBarNotice } from \"@/models/entities/app-bar-notice.interface\";\r\nimport { BillingAddress } from \"@/models/entities/billing-address.interface\";\r\nimport { ChangePassword } from \"@/models/entities/change-password\";\r\nimport { PasswordReset } from \"@/models/entities/password-reset.interface\";\r\nimport { PersonalDataChange } from \"@/models/entities/personal-data-change.interface\";\r\nimport { PromotionPlans } from \"@/models/entities/subscription-plan.interface\";\r\nimport { User } from \"@/models/entities/user.interface\";\r\nimport { ApiService } from \"@zelando/vuelando\";\r\n\r\nconst controller = \"user\";\r\n\r\nclass UserService extends ApiService {\r\n constructor() {\r\n super(process.env.VUE_APP_API_ENDPOINT);\r\n }\r\n\r\n GetPersonalData() {\r\n return this.getAll(`${controller}/getpersonaldata`);\r\n }\r\n\r\n UpdatePersonalData(personalDataChange: PersonalDataChange) {\r\n return this.post(\r\n `${controller}/updatepersonaldata`,\r\n personalDataChange\r\n );\r\n }\r\n\r\n CheckPassword(oldPassword: string) {\r\n return this.getAll(\r\n `${controller}/checkpassword?oldPassword=${oldPassword}`\r\n );\r\n }\r\n\r\n ChangePassword(password: ChangePassword) {\r\n return this.post(\r\n `${controller}/changepassword`,\r\n password\r\n );\r\n }\r\n\r\n SendResetPswLink() {\r\n return this.getAll(`${controller}/sendresetpswlink`);\r\n }\r\n\r\n CheckResetPswToken(token: string) {\r\n return this.getAll(`${controller}/checkresetpswtoken`, {\r\n params: { token },\r\n });\r\n }\r\n\r\n ResetPassword(passwordReset: PasswordReset) {\r\n return this.post(\r\n `${controller}/resetpassword`,\r\n passwordReset\r\n );\r\n }\r\n\r\n GetSubscription() {\r\n return this.getAll(`${controller}/getsubscription`);\r\n }\r\n\r\n SubscriptionDuration() {\r\n return this.getAll(`${controller}/subscriptionduration`);\r\n }\r\n\r\n ChangeAccountStatusByID(status: boolean) {\r\n return this.post(\r\n `${controller}/changeaccountstatusbyid/${status}`,\r\n 1\r\n );\r\n }\r\n\r\n GetFuturePlan() {\r\n return this.getAll(`${controller}/getfutureplan`);\r\n }\r\n\r\n GetBillingAddressByID() {\r\n return this.getAll(`${controller}/getbillingaddressbyid`);\r\n }\r\n\r\n GetBillingAddressAdmin(userID: number) {\r\n return this.getAll(\r\n `${controller}/getbillingaddressadmin/${userID}`\r\n );\r\n }\r\n\r\n UpdateBillingAddress(billingAddress: BillingAddress) {\r\n return this.post(\r\n `${controller}/updatebillingaddress`,\r\n billingAddress\r\n );\r\n }\r\n\r\n AdminUpdateBillingAddress(billingAddress: BillingAddress, userID: number) {\r\n return this.post(\r\n `${controller}/updatebillingaddress/${userID}`,\r\n billingAddress\r\n );\r\n }\r\n\r\n GetLogicallyDeletedById() {\r\n return this.getAll(`${controller}/getlogicallydeletedbyid`);\r\n }\r\n\r\n PhysicalDeleteByID() {\r\n return this.post(`${controller}/physicaldeletebyid`, 1);\r\n }\r\n\r\n GetConsumptionLocked() {\r\n return this.getAll(`${controller}/getconsumptionlocked`);\r\n }\r\n\r\n GetAllUsers(profileRoleID: number, loadOnlyEnabled: boolean) {\r\n return this.getAll(`${controller}/getAllUsers/${profileRoleID}`, {\r\n params: { loadOnlyEnabled },\r\n });\r\n }\r\n\r\n GetUserByID(userID: number) {\r\n return this.getAll(`${controller}/getByID/${userID}`);\r\n }\r\n\r\n UpdateUser(user: User) {\r\n return this.post(`${controller}/UpdateUser`, user);\r\n }\r\n\r\n GetAppBarNotice(locale: string) {\r\n return this.getAll(`${controller}/appBarNotice`, {\r\n params: {\r\n locale: locale,\r\n },\r\n });\r\n }\r\n\r\n GetShouldShowTutorial() {\r\n return this.getAll(`${controller}/shouldShowTutorial`);\r\n }\r\n}\r\n\r\nexport const userService = new UserService();\r\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","import { NumTransfersByYear } from \"@/models/entities/num-transfers-by-year.interface\";\r\nimport { TotalOrderingSubjectByUser } from \"@/models/entities/total-ordering-subject-by-user.interface\";\r\nimport { TransfersUsed } from \"@/models/entities/transfers-used.interface\";\r\nimport { ApiService } from \"@zelando/vuelando\";\r\n\r\nconst controller = \"statistics\";\r\n\r\nclass OverviewService extends ApiService {\r\n constructor() {\r\n super(process.env.VUE_APP_API_ENDPOINT);\r\n }\r\n\r\n GetOrderingSubjects() {\r\n return this.getAll(\r\n `${controller}/getorderingsubjects`\r\n );\r\n }\r\n\r\n GetNumTransfersByMonth() {\r\n return this.getAll(`${controller}/getnumtransfersbymonth`);\r\n }\r\n\r\n GetNumTransfersByYear(year: number) {\r\n return this.getAll>(\r\n `${controller}/getnumtransfersbyyear?year=${year}`\r\n );\r\n }\r\n\r\n GetSubscriptionYears() {\r\n return this.getAll(`${controller}/getsubscriptionyearsbyid`);\r\n }\r\n}\r\nexport const overviewService = new OverviewService();\r\n","module.exports = __webpack_public_path__ + \"img/CBILogoRed.23f02967.png\";","// Styles\nimport './VRipple.sass'\n\n// Utilities\nimport { consoleWarn } from '../../util/console'\nimport { keyCodes } from '../../util/helpers'\n\n// Types\nimport { VNode, VNodeDirective } from 'vue'\n\ntype VuetifyRippleEvent = (MouseEvent | TouchEvent | KeyboardEvent) & { rippleStop?: boolean }\n\nconst DELAY_RIPPLE = 80\n\nfunction transform (el: HTMLElement, value: string) {\n el.style.transform = value\n el.style.webkitTransform = value\n}\n\nexport interface RippleOptions {\n class?: string\n center?: boolean\n circle?: boolean\n}\n\nfunction isTouchEvent (e: VuetifyRippleEvent): e is TouchEvent {\n return e.constructor.name === 'TouchEvent'\n}\n\nfunction isKeyboardEvent (e: VuetifyRippleEvent): e is KeyboardEvent {\n return e.constructor.name === 'KeyboardEvent'\n}\n\nconst calculate = (\n e: VuetifyRippleEvent,\n el: HTMLElement,\n value: RippleOptions = {}\n) => {\n let localX = 0\n let localY = 0\n\n if (!isKeyboardEvent(e)) {\n const offset = el.getBoundingClientRect()\n const target = isTouchEvent(e) ? e.touches[e.touches.length - 1] : e\n\n localX = target.clientX - offset.left\n localY = target.clientY - offset.top\n }\n\n let radius = 0\n let scale = 0.3\n if (el._ripple && el._ripple.circle) {\n scale = 0.15\n radius = el.clientWidth / 2\n radius = value.center ? radius : radius + Math.sqrt((localX - radius) ** 2 + (localY - radius) ** 2) / 4\n } else {\n radius = Math.sqrt(el.clientWidth ** 2 + el.clientHeight ** 2) / 2\n }\n\n const centerX = `${(el.clientWidth - (radius * 2)) / 2}px`\n const centerY = `${(el.clientHeight - (radius * 2)) / 2}px`\n\n const x = value.center ? centerX : `${localX - radius}px`\n const y = value.center ? centerY : `${localY - radius}px`\n\n return { radius, scale, x, y, centerX, centerY }\n}\n\nconst ripples = {\n /* eslint-disable max-statements */\n show (\n e: VuetifyRippleEvent,\n el: HTMLElement,\n value: RippleOptions = {}\n ) {\n if (!el._ripple || !el._ripple.enabled) {\n return\n }\n\n const container = document.createElement('span')\n const animation = document.createElement('span')\n\n container.appendChild(animation)\n container.className = 'v-ripple__container'\n\n if (value.class) {\n container.className += ` ${value.class}`\n }\n\n const { radius, scale, x, y, centerX, centerY } = calculate(e, el, value)\n\n const size = `${radius * 2}px`\n animation.className = 'v-ripple__animation'\n animation.style.width = size\n animation.style.height = size\n\n el.appendChild(container)\n\n const computed = window.getComputedStyle(el)\n if (computed && computed.position === 'static') {\n el.style.position = 'relative'\n el.dataset.previousPosition = 'static'\n }\n\n animation.classList.add('v-ripple__animation--enter')\n animation.classList.add('v-ripple__animation--visible')\n transform(animation, `translate(${x}, ${y}) scale3d(${scale},${scale},${scale})`)\n animation.dataset.activated = String(performance.now())\n\n setTimeout(() => {\n animation.classList.remove('v-ripple__animation--enter')\n animation.classList.add('v-ripple__animation--in')\n transform(animation, `translate(${centerX}, ${centerY}) scale3d(1,1,1)`)\n }, 0)\n },\n\n hide (el: HTMLElement | null) {\n if (!el || !el._ripple || !el._ripple.enabled) return\n\n const ripples = el.getElementsByClassName('v-ripple__animation')\n\n if (ripples.length === 0) return\n const animation = ripples[ripples.length - 1]\n\n if (animation.dataset.isHiding) return\n else animation.dataset.isHiding = 'true'\n\n const diff = performance.now() - Number(animation.dataset.activated)\n const delay = Math.max(250 - diff, 0)\n\n setTimeout(() => {\n animation.classList.remove('v-ripple__animation--in')\n animation.classList.add('v-ripple__animation--out')\n\n setTimeout(() => {\n const ripples = el.getElementsByClassName('v-ripple__animation')\n if (ripples.length === 1 && el.dataset.previousPosition) {\n el.style.position = el.dataset.previousPosition\n delete el.dataset.previousPosition\n }\n\n if (animation.parentNode?.parentNode === el) el.removeChild(animation.parentNode)\n }, 300)\n }, delay)\n },\n}\n\nfunction isRippleEnabled (value: any): value is true {\n return typeof value === 'undefined' || !!value\n}\n\nfunction rippleShow (e: VuetifyRippleEvent) {\n const value: RippleOptions = {}\n const element = e.currentTarget as HTMLElement\n\n if (!element || !element._ripple || element._ripple.touched || e.rippleStop) return\n\n // Don't allow the event to trigger ripples on any other elements\n e.rippleStop = true\n\n if (isTouchEvent(e)) {\n element._ripple.touched = true\n element._ripple.isTouch = true\n } else {\n // It's possible for touch events to fire\n // as mouse events on Android/iOS, this\n // will skip the event call if it has\n // already been registered as touch\n if (element._ripple.isTouch) return\n }\n value.center = element._ripple.centered || isKeyboardEvent(e)\n if (element._ripple.class) {\n value.class = element._ripple.class\n }\n\n if (isTouchEvent(e)) {\n // already queued that shows or hides the ripple\n if (element._ripple.showTimerCommit) return\n\n element._ripple.showTimerCommit = () => {\n ripples.show(e, element, value)\n }\n element._ripple.showTimer = window.setTimeout(() => {\n if (element && element._ripple && element._ripple.showTimerCommit) {\n element._ripple.showTimerCommit()\n element._ripple.showTimerCommit = null\n }\n }, DELAY_RIPPLE)\n } else {\n ripples.show(e, element, value)\n }\n}\n\nfunction rippleHide (e: Event) {\n const element = e.currentTarget as HTMLElement | null\n if (!element || !element._ripple) return\n\n window.clearTimeout(element._ripple.showTimer)\n\n // The touch interaction occurs before the show timer is triggered.\n // We still want to show ripple effect.\n if (e.type === 'touchend' && element._ripple.showTimerCommit) {\n element._ripple.showTimerCommit()\n element._ripple.showTimerCommit = null\n\n // re-queue ripple hiding\n element._ripple.showTimer = setTimeout(() => {\n rippleHide(e)\n })\n return\n }\n\n window.setTimeout(() => {\n if (element._ripple) {\n element._ripple.touched = false\n }\n })\n ripples.hide(element)\n}\n\nfunction rippleCancelShow (e: MouseEvent | TouchEvent) {\n const element = e.currentTarget as HTMLElement | undefined\n\n if (!element || !element._ripple) return\n\n if (element._ripple.showTimerCommit) {\n element._ripple.showTimerCommit = null\n }\n\n window.clearTimeout(element._ripple.showTimer)\n}\n\nlet keyboardRipple = false\n\nfunction keyboardRippleShow (e: KeyboardEvent) {\n if (!keyboardRipple && (e.keyCode === keyCodes.enter || e.keyCode === keyCodes.space)) {\n keyboardRipple = true\n rippleShow(e)\n }\n}\n\nfunction keyboardRippleHide (e: KeyboardEvent) {\n keyboardRipple = false\n rippleHide(e)\n}\n\nfunction focusRippleHide (e: FocusEvent) {\n if (keyboardRipple === true) {\n keyboardRipple = false\n rippleHide(e)\n }\n}\n\nfunction updateRipple (el: HTMLElement, binding: VNodeDirective, wasEnabled: boolean) {\n const enabled = isRippleEnabled(binding.value)\n if (!enabled) {\n ripples.hide(el)\n }\n el._ripple = el._ripple || {}\n el._ripple.enabled = enabled\n const value = binding.value || {}\n if (value.center) {\n el._ripple.centered = true\n }\n if (value.class) {\n el._ripple.class = binding.value.class\n }\n if (value.circle) {\n el._ripple.circle = value.circle\n }\n if (enabled && !wasEnabled) {\n el.addEventListener('touchstart', rippleShow, { passive: true })\n el.addEventListener('touchend', rippleHide, { passive: true })\n el.addEventListener('touchmove', rippleCancelShow, { passive: true })\n el.addEventListener('touchcancel', rippleHide)\n\n el.addEventListener('mousedown', rippleShow)\n el.addEventListener('mouseup', rippleHide)\n el.addEventListener('mouseleave', rippleHide)\n\n el.addEventListener('keydown', keyboardRippleShow)\n el.addEventListener('keyup', keyboardRippleHide)\n\n el.addEventListener('blur', focusRippleHide)\n\n // Anchor tags can be dragged, causes other hides to fail - #1537\n el.addEventListener('dragstart', rippleHide, { passive: true })\n } else if (!enabled && wasEnabled) {\n removeListeners(el)\n }\n}\n\nfunction removeListeners (el: HTMLElement) {\n el.removeEventListener('mousedown', rippleShow)\n el.removeEventListener('touchstart', rippleShow)\n el.removeEventListener('touchend', rippleHide)\n el.removeEventListener('touchmove', rippleCancelShow)\n el.removeEventListener('touchcancel', rippleHide)\n el.removeEventListener('mouseup', rippleHide)\n el.removeEventListener('mouseleave', rippleHide)\n el.removeEventListener('keydown', keyboardRippleShow)\n el.removeEventListener('keyup', keyboardRippleHide)\n el.removeEventListener('dragstart', rippleHide)\n el.removeEventListener('blur', focusRippleHide)\n}\n\nfunction directive (el: HTMLElement, binding: VNodeDirective, node: VNode) {\n updateRipple(el, binding, false)\n\n if (process.env.NODE_ENV === 'development') {\n // warn if an inline element is used, waiting for el to be in the DOM first\n node.context && node.context.$nextTick(() => {\n const computed = window.getComputedStyle(el)\n if (computed && computed.display === 'inline') {\n const context = (node as any).fnOptions ? [(node as any).fnOptions, node.context] : [node.componentInstance]\n consoleWarn('v-ripple can only be used on block-level elements', ...context)\n }\n })\n }\n}\n\nfunction unbind (el: HTMLElement) {\n delete el._ripple\n removeListeners(el)\n}\n\nfunction update (el: HTMLElement, binding: VNodeDirective) {\n if (binding.value === binding.oldValue) {\n return\n }\n\n const wasEnabled = isRippleEnabled(binding.oldValue)\n updateRipple(el, binding, wasEnabled)\n}\n\nexport const Ripple = {\n bind: directive,\n unbind,\n update,\n}\n\nexport default Ripple\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar isCallable = require('../internals/is-callable');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar getSubstitution = require('../internals/get-substitution');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar $TypeError = TypeError;\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\n\nvar stringIndexOf = function (string, searchValue, fromIndex) {\n if (fromIndex > string.length) return -1;\n if (searchValue === '') return fromIndex;\n return indexOf(string, searchValue, fromIndex);\n};\n\n// `String.prototype.replaceAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.replaceall\n$({ target: 'String', proto: true }, {\n replaceAll: function replaceAll(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement;\n var position = 0;\n var endOfLastMatch = 0;\n var result = '';\n if (searchValue != null) {\n IS_REG_EXP = isRegExp(searchValue);\n if (IS_REG_EXP) {\n flags = toString(requireObjectCoercible(getRegExpFlags(searchValue)));\n if (!~indexOf(flags, 'g')) throw $TypeError('`.replaceAll` does not allow non-global regexes');\n }\n replacer = getMethod(searchValue, REPLACE);\n if (replacer) {\n return call(replacer, searchValue, O, replaceValue);\n } else if (IS_PURE && IS_REG_EXP) {\n return replace(toString(O), searchValue, replaceValue);\n }\n }\n string = toString(O);\n searchString = toString(searchValue);\n functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n searchLength = searchString.length;\n advanceBy = max(1, searchLength);\n position = stringIndexOf(string, searchString, 0);\n while (position !== -1) {\n replacement = functionalReplace\n ? toString(replaceValue(searchString, position, string))\n : getSubstitution(searchString, string, position, [], undefined, replaceValue);\n result += stringSlice(string, endOfLastMatch, position) + replacement;\n endOfLastMatch = position + searchLength;\n position = stringIndexOf(string, searchString, position + advanceBy);\n }\n if (endOfLastMatch < string.length) {\n result += stringSlice(string, endOfLastMatch);\n }\n return result;\n }\n});\n","var call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=0&id=ab7619e2&prod&scoped=true&lang=css&\"","/**\n * Returns:\n * - 'null' if the node is not attached to the DOM\n * - the root node (HTMLDocument | ShadowRoot) otherwise\n */\nexport function attachedRoot (node: Node): null | HTMLDocument | ShadowRoot {\n /* istanbul ignore next */\n if (typeof node.getRootNode !== 'function') {\n // Shadow DOM not supported (IE11), lets find the root of this node\n while (node.parentNode) node = node.parentNode\n\n // The root parent is the document if the node is attached to the DOM\n if (node !== document) return null\n\n return document\n }\n\n const root = node.getRootNode()\n\n // The composed root node is the document if the node is attached to the DOM\n if (root !== document && root.getRootNode({ composed: true }) !== document) return null\n\n return root as HTMLDocument | ShadowRoot\n}\n","import { attachedRoot } from '../../util/dom'\nimport { VNodeDirective } from 'vue/types/vnode'\nimport { VNode } from 'vue'\n\ninterface ClickOutsideBindingArgs {\n handler: (e: Event) => void\n closeConditional?: (e: Event) => boolean\n include?: () => HTMLElement[]\n}\n\ninterface ClickOutsideDirective extends VNodeDirective {\n value?: ((e: Event) => void) | ClickOutsideBindingArgs\n}\n\nfunction defaultConditional () {\n return true\n}\n\nfunction checkEvent (e: PointerEvent, el: HTMLElement, binding: ClickOutsideDirective): boolean {\n // The include element callbacks below can be expensive\n // so we should avoid calling them when we're not active.\n // Explicitly check for false to allow fallback compatibility\n // with non-toggleable components\n if (!e || checkIsActive(e, binding) === false) return false\n\n // If we're clicking inside the shadowroot, then the app root doesn't get the same\n // level of introspection as to _what_ we're clicking. We want to check to see if\n // our target is the shadowroot parent container, and if it is, ignore.\n const root = attachedRoot(el)\n if (\n typeof ShadowRoot !== 'undefined' &&\n root instanceof ShadowRoot &&\n root.host === e.target\n ) return false\n\n // Check if additional elements were passed to be included in check\n // (click must be outside all included elements, if any)\n const elements = ((typeof binding.value === 'object' && binding.value.include) || (() => []))()\n // Add the root element for the component this directive was defined on\n elements.push(el)\n\n // Check if it's a click outside our elements, and then if our callback returns true.\n // Non-toggleable components should take action in their callback and return falsy.\n // Toggleable can return true if it wants to deactivate.\n // Note that, because we're in the capture phase, this callback will occur before\n // the bubbling click event on any outside elements.\n return !elements.some(el => el.contains(e.target as Node))\n}\n\nfunction checkIsActive (e: PointerEvent, binding: ClickOutsideDirective): boolean | void {\n const isActive = (typeof binding.value === 'object' && binding.value.closeConditional) || defaultConditional\n\n return isActive(e)\n}\n\nfunction directive (e: PointerEvent, el: HTMLElement, binding: ClickOutsideDirective) {\n const handler = typeof binding.value === 'function' ? binding.value : binding.value!.handler\n\n el._clickOutside!.lastMousedownWasOutside && checkEvent(e, el, binding) && setTimeout(() => {\n checkIsActive(e, binding) && handler && handler(e)\n }, 0)\n}\n\nfunction handleShadow (el: HTMLElement, callback: Function): void {\n const root = attachedRoot(el)\n\n callback(document)\n\n if (typeof ShadowRoot !== 'undefined' && root instanceof ShadowRoot) {\n callback(root)\n }\n}\n\nexport const ClickOutside = {\n // [data-app] may not be found\n // if using bind, inserted makes\n // sure that the root element is\n // available, iOS does not support\n // clicks on body\n inserted (el: HTMLElement, binding: ClickOutsideDirective, vnode: VNode) {\n const onClick = (e: Event) => directive(e as PointerEvent, el, binding)\n const onMousedown = (e: Event) => {\n el._clickOutside!.lastMousedownWasOutside = checkEvent(e as PointerEvent, el, binding)\n }\n\n handleShadow(el, (app: HTMLElement) => {\n app.addEventListener('click', onClick, true)\n app.addEventListener('mousedown', onMousedown, true)\n })\n\n if (!el._clickOutside) {\n el._clickOutside = {\n lastMousedownWasOutside: true,\n }\n }\n\n el._clickOutside[vnode.context!._uid] = {\n onClick,\n onMousedown,\n }\n },\n\n unbind (el: HTMLElement, binding: ClickOutsideDirective, vnode: VNode) {\n if (!el._clickOutside) return\n\n handleShadow(el, (app: HTMLElement) => {\n if (!app || !el._clickOutside?.[vnode.context!._uid]) return\n\n const { onClick, onMousedown } = el._clickOutside[vnode.context!._uid]!\n\n app.removeEventListener('click', onClick, true)\n app.removeEventListener('mousedown', onMousedown, true)\n })\n\n delete el._clickOutside[vnode.context!._uid]\n },\n}\n\nexport default ClickOutside\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n","import Vue from 'vue'\n\nimport mixins from '../../util/mixins'\nimport { VOverlay } from '../../components/VOverlay'\n\ninterface options {\n $el: HTMLElement\n $refs: {\n content?: HTMLElement\n }\n overlay?: InstanceType\n}\n\ninterface DependentInstance extends Vue {\n isActive?: boolean\n isDependent?: boolean\n}\n\nfunction searchChildren (children: Vue[]): DependentInstance[] {\n const results = []\n for (let index = 0; index < children.length; index++) {\n const child = children[index] as DependentInstance\n if (child.isActive && child.isDependent) {\n results.push(child)\n } else {\n results.push(...searchChildren(child.$children))\n }\n }\n\n return results\n}\n\n/* @vue/component */\nexport default mixins().extend({\n name: 'dependent',\n\n data () {\n return {\n closeDependents: true,\n isActive: false,\n isDependent: true,\n }\n },\n\n watch: {\n isActive (val) {\n if (val) return\n\n const openDependents = this.getOpenDependents()\n for (let index = 0; index < openDependents.length; index++) {\n openDependents[index].isActive = false\n }\n },\n },\n\n methods: {\n getOpenDependents (): any[] {\n if (this.closeDependents) return searchChildren(this.$children)\n\n return []\n },\n getOpenDependentElements (): HTMLElement[] {\n const result = []\n const openDependents = this.getOpenDependents()\n\n for (let index = 0; index < openDependents.length; index++) {\n result.push(...openDependents[index].getClickableDependentElements())\n }\n\n return result\n },\n getClickableDependentElements (): HTMLElement[] {\n const result = [this.$el]\n if (this.$refs.content) result.push(this.$refs.content)\n if (this.overlay) result.push(this.overlay.$el as HTMLElement)\n result.push(...this.getOpenDependentElements())\n\n return result\n },\n },\n})\n","import Vue from 'vue'\n\n/**\n * SSRBootable\n *\n * @mixin\n *\n * Used in layout components (drawer, toolbar, content)\n * to avoid an entry animation when using SSR\n */\nexport default Vue.extend({\n name: 'ssr-bootable',\n\n data: () => ({\n isBooted: false,\n }),\n\n mounted () {\n // Use setAttribute instead of dataset\n // because dataset does not work well\n // with unit tests\n window.requestAnimationFrame(() => {\n this.$el.setAttribute('data-booted', 'true')\n this.isBooted = true\n })\n },\n})\n","import { VNodeDirective } from 'vue/types/vnode'\nimport { VNode } from 'vue'\n\ninterface ResizeVNodeDirective extends VNodeDirective {\n value?: () => void\n options?: boolean | AddEventListenerOptions\n}\n\nfunction inserted (el: HTMLElement, binding: ResizeVNodeDirective, vnode: VNode) {\n const callback = binding.value!\n const options = binding.options || { passive: true }\n\n window.addEventListener('resize', callback, options)\n\n el._onResize = Object(el._onResize)\n el._onResize![vnode.context!._uid] = {\n callback,\n options,\n }\n\n if (!binding.modifiers || !binding.modifiers.quiet) {\n callback()\n }\n}\n\nfunction unbind (el: HTMLElement, binding: ResizeVNodeDirective, vnode: VNode) {\n if (!el._onResize?.[vnode.context!._uid]) return\n\n const { callback, options } = el._onResize[vnode.context!._uid]!\n\n window.removeEventListener('resize', callback, options)\n\n delete el._onResize[vnode.context!._uid]\n}\n\nexport const Resize = {\n inserted,\n unbind,\n}\n\nexport default Resize\n","(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['exports'], factory);\n } else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {\n // CommonJS\n factory(exports);\n } else {\n // Browser globals\n factory(root.IBAN = {});\n }\n}(this, function(exports){\n\n // Array.prototype.map polyfill\n // code from https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/map\n if (!Array.prototype.map){\n Array.prototype.map = function(fun /*, thisArg */){\n \"use strict\";\n\n if (this === void 0 || this === null)\n throw new TypeError();\n\n var t = Object(this);\n var len = t.length >>> 0;\n if (typeof fun !== \"function\")\n throw new TypeError();\n\n var res = new Array(len);\n var thisArg = arguments.length >= 2 ? arguments[1] : void 0;\n for (var i = 0; i < len; i++)\n {\n // NOTE: Absolute correctness would demand Object.defineProperty\n // be used. But this method is fairly new, and failure is\n // possible only if Object.prototype or Array.prototype\n // has a property |i| (very unlikely), so use a less-correct\n // but more portable alternative.\n if (i in t)\n res[i] = fun.call(thisArg, t[i], i, t);\n }\n\n return res;\n };\n }\n\n var A = 'A'.charCodeAt(0),\n Z = 'Z'.charCodeAt(0);\n\n /**\n * Prepare an IBAN for mod 97 computation by moving the first 4 chars to the end and transforming the letters to\n * numbers (A = 10, B = 11, ..., Z = 35), as specified in ISO13616.\n *\n * @param {string} iban the IBAN\n * @returns {string} the prepared IBAN\n */\n function iso13616Prepare(iban) {\n iban = iban.toUpperCase();\n iban = iban.substr(4) + iban.substr(0,4);\n\n return iban.split('').map(function(n){\n var code = n.charCodeAt(0);\n if (code >= A && code <= Z){\n // A = 10, B = 11, ... Z = 35\n return code - A + 10;\n } else {\n return n;\n }\n }).join('');\n }\n\n /**\n * Calculates the MOD 97 10 of the passed IBAN as specified in ISO7064.\n *\n * @param iban\n * @returns {number}\n */\n function iso7064Mod97_10(iban) {\n var remainder = iban,\n block;\n\n while (remainder.length > 2){\n block = remainder.slice(0, 9);\n remainder = parseInt(block, 10) % 97 + remainder.slice(block.length);\n }\n\n return parseInt(remainder, 10) % 97;\n }\n\n /**\n * Parse the BBAN structure used to configure each IBAN Specification and returns a matching regular expression.\n * A structure is composed of blocks of 3 characters (one letter and 2 digits). Each block represents\n * a logical group in the typical representation of the BBAN. For each group, the letter indicates which characters\n * are allowed in this group and the following 2-digits number tells the length of the group.\n *\n * @param {string} structure the structure to parse\n * @returns {RegExp}\n */\n function parseStructure(structure){\n // split in blocks of 3 chars\n var regex = structure.match(/(.{3})/g).map(function(block){\n\n // parse each structure block (1-char + 2-digits)\n var format,\n pattern = block.slice(0, 1),\n repeats = parseInt(block.slice(1), 10);\n\n switch (pattern){\n case \"A\": format = \"0-9A-Za-z\"; break;\n case \"B\": format = \"0-9A-Z\"; break;\n case \"C\": format = \"A-Za-z\"; break;\n case \"F\": format = \"0-9\"; break;\n case \"L\": format = \"a-z\"; break;\n case \"U\": format = \"A-Z\"; break;\n case \"W\": format = \"0-9a-z\"; break;\n }\n\n return '([' + format + ']{' + repeats + '})';\n });\n\n return new RegExp('^' + regex.join('') + '$');\n }\n\n /**\n *\n * @param iban\n * @returns {string}\n */\n function electronicFormat(iban){\n return iban.replace(NON_ALPHANUM, '').toUpperCase();\n }\n\n\n /**\n * Create a new Specification for a valid IBAN number.\n *\n * @param countryCode the code of the country\n * @param length the length of the IBAN\n * @param structure the structure of the underlying BBAN (for validation and formatting)\n * @param example an example valid IBAN\n * @constructor\n */\n function Specification(countryCode, length, structure, example){\n\n this.countryCode = countryCode;\n this.length = length;\n this.structure = structure;\n this.example = example;\n }\n\n /**\n * Lazy-loaded regex (parse the structure and construct the regular expression the first time we need it for validation)\n */\n Specification.prototype._regex = function(){\n return this._cachedRegex || (this._cachedRegex = parseStructure(this.structure))\n };\n\n /**\n * Check if the passed iban is valid according to this specification.\n *\n * @param {String} iban the iban to validate\n * @returns {boolean} true if valid, false otherwise\n */\n Specification.prototype.isValid = function(iban){\n return this.length == iban.length\n && this.countryCode === iban.slice(0,2)\n && this._regex().test(iban.slice(4))\n && iso7064Mod97_10(iso13616Prepare(iban)) == 1;\n };\n\n /**\n * Convert the passed IBAN to a country-specific BBAN.\n *\n * @param iban the IBAN to convert\n * @param separator the separator to use between BBAN blocks\n * @returns {string} the BBAN\n */\n Specification.prototype.toBBAN = function(iban, separator) {\n return this._regex().exec(iban.slice(4)).slice(1).join(separator);\n };\n\n /**\n * Convert the passed BBAN to an IBAN for this country specification.\n * Please note that \"generation of the IBAN shall be the exclusive responsibility of the bank/branch servicing the account\".\n * This method implements the preferred algorithm described in http://en.wikipedia.org/wiki/International_Bank_Account_Number#Generating_IBAN_check_digits\n *\n * @param bban the BBAN to convert to IBAN\n * @returns {string} the IBAN\n */\n Specification.prototype.fromBBAN = function(bban) {\n if (!this.isValidBBAN(bban)){\n throw new Error('Invalid BBAN');\n }\n\n var remainder = iso7064Mod97_10(iso13616Prepare(this.countryCode + '00' + bban)),\n checkDigit = ('0' + (98 - remainder)).slice(-2);\n\n return this.countryCode + checkDigit + bban;\n };\n\n /**\n * Check of the passed BBAN is valid.\n * This function only checks the format of the BBAN (length and matching the letetr/number specs) but does not\n * verify the check digit.\n *\n * @param bban the BBAN to validate\n * @returns {boolean} true if the passed bban is a valid BBAN according to this specification, false otherwise\n */\n Specification.prototype.isValidBBAN = function(bban) {\n return this.length - 4 == bban.length\n && this._regex().test(bban);\n };\n\n var countries = {};\n\n function addSpecification(IBAN){\n countries[IBAN.countryCode] = IBAN;\n }\n\n addSpecification(new Specification(\"AD\", 24, \"F04F04A12\", \"AD1200012030200359100100\"));\n addSpecification(new Specification(\"AE\", 23, \"F03F16\", \"AE070331234567890123456\"));\n addSpecification(new Specification(\"AL\", 28, \"F08A16\", \"AL47212110090000000235698741\"));\n addSpecification(new Specification(\"AT\", 20, \"F05F11\", \"AT611904300234573201\"));\n addSpecification(new Specification(\"AZ\", 28, \"U04A20\", \"AZ21NABZ00000000137010001944\"));\n addSpecification(new Specification(\"BA\", 20, \"F03F03F08F02\", \"BA391290079401028494\"));\n addSpecification(new Specification(\"BE\", 16, \"F03F07F02\", \"BE68539007547034\"));\n addSpecification(new Specification(\"BG\", 22, \"U04F04F02A08\", \"BG80BNBG96611020345678\"));\n addSpecification(new Specification(\"BH\", 22, \"U04A14\", \"BH67BMAG00001299123456\"));\n addSpecification(new Specification(\"BR\", 29, \"F08F05F10U01A01\", \"BR9700360305000010009795493P1\"));\n addSpecification(new Specification(\"BY\", 28, \"A04F04A16\", \"BY13NBRB3600900000002Z00AB00\"));\n addSpecification(new Specification(\"CH\", 21, \"F05A12\", \"CH9300762011623852957\"));\n addSpecification(new Specification(\"CR\", 22, \"F04F14\", \"CR72012300000171549015\"));\n addSpecification(new Specification(\"CY\", 28, \"F03F05A16\", \"CY17002001280000001200527600\"));\n addSpecification(new Specification(\"CZ\", 24, \"F04F06F10\", \"CZ6508000000192000145399\"));\n addSpecification(new Specification(\"DE\", 22, \"F08F10\", \"DE89370400440532013000\"));\n addSpecification(new Specification(\"DK\", 18, \"F04F09F01\", \"DK5000400440116243\"));\n addSpecification(new Specification(\"DO\", 28, \"U04F20\", \"DO28BAGR00000001212453611324\"));\n addSpecification(new Specification(\"EE\", 20, \"F02F02F11F01\", \"EE382200221020145685\"));\n addSpecification(new Specification(\"EG\", 29, \"F04F04F17\", \"EG800002000156789012345180002\"));\n addSpecification(new Specification(\"ES\", 24, \"F04F04F01F01F10\", \"ES9121000418450200051332\"));\n addSpecification(new Specification(\"FI\", 18, \"F06F07F01\", \"FI2112345600000785\"));\n addSpecification(new Specification(\"FO\", 18, \"F04F09F01\", \"FO6264600001631634\"));\n addSpecification(new Specification(\"FR\", 27, \"F05F05A11F02\", \"FR1420041010050500013M02606\"));\n addSpecification(new Specification(\"GB\", 22, \"U04F06F08\", \"GB29NWBK60161331926819\"));\n addSpecification(new Specification(\"GE\", 22, \"U02F16\", \"GE29NB0000000101904917\"));\n addSpecification(new Specification(\"GI\", 23, \"U04A15\", \"GI75NWBK000000007099453\"));\n addSpecification(new Specification(\"GL\", 18, \"F04F09F01\", \"GL8964710001000206\"));\n addSpecification(new Specification(\"GR\", 27, \"F03F04A16\", \"GR1601101250000000012300695\"));\n addSpecification(new Specification(\"GT\", 28, \"A04A20\", \"GT82TRAJ01020000001210029690\"));\n addSpecification(new Specification(\"HR\", 21, \"F07F10\", \"HR1210010051863000160\"));\n addSpecification(new Specification(\"HU\", 28, \"F03F04F01F15F01\", \"HU42117730161111101800000000\"));\n addSpecification(new Specification(\"IE\", 22, \"U04F06F08\", \"IE29AIBK93115212345678\"));\n addSpecification(new Specification(\"IL\", 23, \"F03F03F13\", \"IL620108000000099999999\"));\n addSpecification(new Specification(\"IS\", 26, \"F04F02F06F10\", \"IS140159260076545510730339\"));\n addSpecification(new Specification(\"IT\", 27, \"U01F05F05A12\", \"IT60X0542811101000000123456\"));\n addSpecification(new Specification(\"IQ\", 23, \"U04F03A12\", \"IQ98NBIQ850123456789012\"));\n addSpecification(new Specification(\"JO\", 30, \"A04F22\", \"JO15AAAA1234567890123456789012\"));\n addSpecification(new Specification(\"KW\", 30, \"U04A22\", \"KW81CBKU0000000000001234560101\"));\n addSpecification(new Specification(\"KZ\", 20, \"F03A13\", \"KZ86125KZT5004100100\"));\n addSpecification(new Specification(\"LB\", 28, \"F04A20\", \"LB62099900000001001901229114\"));\n addSpecification(new Specification(\"LC\", 32, \"U04F24\", \"LC07HEMM000100010012001200013015\"));\n addSpecification(new Specification(\"LI\", 21, \"F05A12\", \"LI21088100002324013AA\"));\n addSpecification(new Specification(\"LT\", 20, \"F05F11\", \"LT121000011101001000\"));\n addSpecification(new Specification(\"LU\", 20, \"F03A13\", \"LU280019400644750000\"));\n addSpecification(new Specification(\"LV\", 21, \"U04A13\", \"LV80BANK0000435195001\"));\n addSpecification(new Specification(\"MC\", 27, \"F05F05A11F02\", \"MC5811222000010123456789030\"));\n addSpecification(new Specification(\"MD\", 24, \"U02A18\", \"MD24AG000225100013104168\"));\n addSpecification(new Specification(\"ME\", 22, \"F03F13F02\", \"ME25505000012345678951\"));\n addSpecification(new Specification(\"MK\", 19, \"F03A10F02\", \"MK07250120000058984\"));\n addSpecification(new Specification(\"MR\", 27, \"F05F05F11F02\", \"MR1300020001010000123456753\"));\n addSpecification(new Specification(\"MT\", 31, \"U04F05A18\", \"MT84MALT011000012345MTLCAST001S\"));\n addSpecification(new Specification(\"MU\", 30, \"U04F02F02F12F03U03\", \"MU17BOMM0101101030300200000MUR\"));\n addSpecification(new Specification(\"NL\", 18, \"U04F10\", \"NL91ABNA0417164300\"));\n addSpecification(new Specification(\"NO\", 15, \"F04F06F01\", \"NO9386011117947\"));\n addSpecification(new Specification(\"PK\", 24, \"U04A16\", \"PK36SCBL0000001123456702\"));\n addSpecification(new Specification(\"PL\", 28, \"F08F16\", \"PL61109010140000071219812874\"));\n addSpecification(new Specification(\"PS\", 29, \"U04A21\", \"PS92PALS000000000400123456702\"));\n addSpecification(new Specification(\"PT\", 25, \"F04F04F11F02\", \"PT50000201231234567890154\"));\n addSpecification(new Specification(\"QA\", 29, \"U04A21\", \"QA30AAAA123456789012345678901\"));\n addSpecification(new Specification(\"RO\", 24, \"U04A16\", \"RO49AAAA1B31007593840000\"));\n addSpecification(new Specification(\"RS\", 22, \"F03F13F02\", \"RS35260005601001611379\"));\n addSpecification(new Specification(\"SA\", 24, \"F02A18\", \"SA0380000000608010167519\"));\n addSpecification(new Specification(\"SC\", 31, \"U04F04F16U03\", \"SC18SSCB11010000000000001497USD\"));\n addSpecification(new Specification(\"SE\", 24, \"F03F16F01\", \"SE4550000000058398257466\"));\n addSpecification(new Specification(\"SI\", 19, \"F05F08F02\", \"SI56263300012039086\"));\n addSpecification(new Specification(\"SK\", 24, \"F04F06F10\", \"SK3112000000198742637541\"));\n addSpecification(new Specification(\"SM\", 27, \"U01F05F05A12\", \"SM86U0322509800000000270100\"));\n addSpecification(new Specification(\"ST\", 25, \"F08F11F02\", \"ST68000100010051845310112\"));\n addSpecification(new Specification(\"SV\", 28, \"U04F20\", \"SV62CENR00000000000000700025\"));\n addSpecification(new Specification(\"TL\", 23, \"F03F14F02\", \"TL380080012345678910157\"));\n addSpecification(new Specification(\"TN\", 24, \"F02F03F13F02\", \"TN5910006035183598478831\"));\n addSpecification(new Specification(\"TR\", 26, \"F05F01A16\", \"TR330006100519786457841326\"));\n addSpecification(new Specification(\"UA\", 29, \"F25\", \"UA511234567890123456789012345\"));\n addSpecification(new Specification(\"VA\", 22, \"F18\", \"VA59001123000012345678\"));\n addSpecification(new Specification(\"VG\", 24, \"U04F16\", \"VG96VPVG0000012345678901\"));\n addSpecification(new Specification(\"XK\", 20, \"F04F10F02\", \"XK051212012345678906\"));\n\n\n // The following countries are not included in the official IBAN registry but use the IBAN specification\n\n // Angola\n addSpecification(new Specification(\"AO\", 25, \"F21\", \"AO69123456789012345678901\"));\n // Burkina\n addSpecification(new Specification(\"BF\", 27, \"F23\", \"BF2312345678901234567890123\"));\n // Burundi\n addSpecification(new Specification(\"BI\", 16, \"F12\", \"BI41123456789012\"));\n // Benin\n addSpecification(new Specification(\"BJ\", 28, \"F24\", \"BJ39123456789012345678901234\"));\n // Ivory\n addSpecification(new Specification(\"CI\", 28, \"U02F22\", \"CI70CI1234567890123456789012\"));\n // Cameron\n addSpecification(new Specification(\"CM\", 27, \"F23\", \"CM9012345678901234567890123\"));\n // Cape Verde\n addSpecification(new Specification(\"CV\", 25, \"F21\", \"CV30123456789012345678901\"));\n // Algeria\n addSpecification(new Specification(\"DZ\", 24, \"F20\", \"DZ8612345678901234567890\"));\n // Iran\n addSpecification(new Specification(\"IR\", 26, \"F22\", \"IR861234568790123456789012\"));\n // Madagascar\n addSpecification(new Specification(\"MG\", 27, \"F23\", \"MG1812345678901234567890123\"));\n // Mali\n addSpecification(new Specification(\"ML\", 28, \"U01F23\", \"ML15A12345678901234567890123\"));\n // Mozambique\n addSpecification(new Specification(\"MZ\", 25, \"F21\", \"MZ25123456789012345678901\"));\n // Senegal\n addSpecification(new Specification(\"SN\", 28, \"U01F23\", \"SN52A12345678901234567890123\"));\n\n // The following are regional and administrative French Republic subdivision IBAN specification (same structure as FR, only country code vary)\n addSpecification(new Specification(\"GF\", 27, \"F05F05A11F02\", \"GF121234512345123456789AB13\"));\n addSpecification(new Specification(\"GP\", 27, \"F05F05A11F02\", \"GP791234512345123456789AB13\"));\n addSpecification(new Specification(\"MQ\", 27, \"F05F05A11F02\", \"MQ221234512345123456789AB13\"));\n addSpecification(new Specification(\"RE\", 27, \"F05F05A11F02\", \"RE131234512345123456789AB13\"));\n addSpecification(new Specification(\"PF\", 27, \"F05F05A11F02\", \"PF281234512345123456789AB13\"));\n addSpecification(new Specification(\"TF\", 27, \"F05F05A11F02\", \"TF891234512345123456789AB13\"));\n addSpecification(new Specification(\"YT\", 27, \"F05F05A11F02\", \"YT021234512345123456789AB13\"));\n addSpecification(new Specification(\"NC\", 27, \"F05F05A11F02\", \"NC551234512345123456789AB13\"));\n addSpecification(new Specification(\"BL\", 27, \"F05F05A11F02\", \"BL391234512345123456789AB13\"));\n addSpecification(new Specification(\"MF\", 27, \"F05F05A11F02\", \"MF551234512345123456789AB13\"));\n addSpecification(new Specification(\"PM\", 27, \"F05F05A11F02\", \"PM071234512345123456789AB13\"));\n addSpecification(new Specification(\"WF\", 27, \"F05F05A11F02\", \"WF621234512345123456789AB13\"));\n\n var NON_ALPHANUM = /[^a-zA-Z0-9]/g,\n EVERY_FOUR_CHARS =/(.{4})(?!$)/g;\n\n /**\n * Utility function to check if a variable is a String.\n *\n * @param v\n * @returns {boolean} true if the passed variable is a String, false otherwise.\n */\n function isString(v){\n return (typeof v == 'string' || v instanceof String);\n }\n\n /**\n * Check if an IBAN is valid.\n *\n * @param {String} iban the IBAN to validate.\n * @returns {boolean} true if the passed IBAN is valid, false otherwise\n */\n exports.isValid = function(iban){\n if (!isString(iban)){\n return false;\n }\n iban = electronicFormat(iban);\n var countryStructure = countries[iban.slice(0,2)];\n return !!countryStructure && countryStructure.isValid(iban);\n };\n\n /**\n * Convert an IBAN to a BBAN.\n *\n * @param iban\n * @param {String} [separator] the separator to use between the blocks of the BBAN, defaults to ' '\n * @returns {string|*}\n */\n exports.toBBAN = function(iban, separator){\n if (typeof separator == 'undefined'){\n separator = ' ';\n }\n iban = electronicFormat(iban);\n var countryStructure = countries[iban.slice(0,2)];\n if (!countryStructure) {\n throw new Error('No country with code ' + iban.slice(0,2));\n }\n return countryStructure.toBBAN(iban, separator);\n };\n\n /**\n * Convert the passed BBAN to an IBAN for this country specification.\n * Please note that \"generation of the IBAN shall be the exclusive responsibility of the bank/branch servicing the account\".\n * This method implements the preferred algorithm described in http://en.wikipedia.org/wiki/International_Bank_Account_Number#Generating_IBAN_check_digits\n *\n * @param countryCode the country of the BBAN\n * @param bban the BBAN to convert to IBAN\n * @returns {string} the IBAN\n */\n exports.fromBBAN = function(countryCode, bban){\n var countryStructure = countries[countryCode];\n if (!countryStructure) {\n throw new Error('No country with code ' + countryCode);\n }\n return countryStructure.fromBBAN(electronicFormat(bban));\n };\n\n /**\n * Check the validity of the passed BBAN.\n *\n * @param countryCode the country of the BBAN\n * @param bban the BBAN to check the validity of\n */\n exports.isValidBBAN = function(countryCode, bban){\n if (!isString(bban)){\n return false;\n }\n var countryStructure = countries[countryCode];\n return countryStructure && countryStructure.isValidBBAN(electronicFormat(bban));\n };\n\n /**\n *\n * @param iban\n * @param separator\n * @returns {string}\n */\n exports.printFormat = function(iban, separator){\n if (typeof separator == 'undefined'){\n separator = ' ';\n }\n return electronicFormat(iban).replace(EVERY_FOUR_CHARS, \"$1\" + separator);\n };\n\n exports.electronicFormat = electronicFormat;\n /**\n * An object containing all the known IBAN specifications.\n */\n exports.countries = countries;\n\n}));\n","import { SubjectAndRole } from \"@/models/entities/subject-role.interface\";\r\nimport { NextPlan } from \"@/models/entities/next-plan.interface\";\r\nimport { OrderingSubjectView } from \"@/models/entities/ordering-subject-view.interface\";\r\nimport { OrderingSubject } from \"@/models/entities/ordering-subject.interface\";\r\nimport { ApiService } from \"@zelando/vuelando\";\r\n\r\nconst controller = \"orderingsubject\";\r\n\r\nclass OrderingSubjectService extends ApiService {\r\n constructor() {\r\n super(process.env.VUE_APP_API_ENDPOINT);\r\n }\r\n\r\n ReadAll(UserId: number) {\r\n return this.getAll(`${controller}/${UserId}`);\r\n }\r\n\r\n getAllById(orderingSubjectID: number) {\r\n return this.getAll(\r\n `${controller}/getById?OrderingSubjectID=${orderingSubjectID}`\r\n );\r\n }\r\n\r\n AddOrderingSubjects(orderingSubject: OrderingSubject) {\r\n return this.post(\r\n `${controller}/save`,\r\n orderingSubject\r\n );\r\n }\r\n\r\n DeleteOrderingSubjects(idOrderingSubject: number) {\r\n return this.getAll(`${controller}/delete/${idOrderingSubject}`);\r\n }\r\n\r\n GetRoleAndTotSubject() {\r\n return this.getAll(`${controller}/getroleandtotsubject`);\r\n }\r\n\r\n GetNextPlan(oldTotalSubject: number) {\r\n return this.getAll(\r\n `${controller}/getnextplan?oldTotalSubject=${oldTotalSubject}`\r\n );\r\n }\r\n}\r\n\r\nexport const orderingSubjectService = new OrderingSubjectService();\r\n","import Vue from 'vue'\nimport { filterObjectOnKeys } from '../../util/helpers'\nimport { OptionsVue, VueConstructor } from 'vue/types/vue'\n\nconst availableProps = {\n absolute: Boolean,\n bottom: Boolean,\n fixed: Boolean,\n left: Boolean,\n right: Boolean,\n top: Boolean,\n}\ntype props = Record\n\nexport type Positionable = VueConstructor\n\nexport function factory (selected?: S[]): Positionable\nexport function factory (selected: undefined): OptionsVue\nexport function factory (selected: any[] = []): any {\n return Vue.extend({\n name: 'positionable',\n props: selected.length ? filterObjectOnKeys(availableProps, selected) : availableProps,\n })\n}\n\nexport default factory()\n\n// Add a `*` before the second `/`\n/* Tests /\nlet single = factory(['top']).extend({\n created () {\n this.top\n this.bottom\n this.absolute\n }\n})\n\nlet some = factory(['top', 'bottom']).extend({\n created () {\n this.top\n this.bottom\n this.absolute\n }\n})\n\nlet all = factory().extend({\n created () {\n this.top\n this.bottom\n this.absolute\n this.foobar\n }\n})\n/**/\n"],"sourceRoot":""}