{"version":3,"file":"general.min.mjs","sources":["../general.mjs"],"names":["engageLog","ajaxRequest","urlConfig","handleNavigation","window","addEventListener","event","persisted","performance","navigation","type","TYPE_BACK_FORWARD","location","reload","base64ToArrayBuffer","data","binaryString","atob","binaryLen","length","bytes","Uint8Array","i","ascii","charCodeAt","toast","title","message","success","let","obj","$","removeClass","find","addClass","undefined","html","imageUrlChecker","each","checkImage","this","attr","placeHolder","bind","url","onErrorCallback","imagedata","Image","crossOrigin","src","fetch","method","mode","then","response","ok","catch","error","console","getCurrentDate","format","todayFormatted","today","Date","day","String","getDate","padStart","month","getMonth","year","getFullYear","separator","includes","validateFile","file","allowedTypes","maxSize","imageOnly","imgPrefix","startsWith","fileType","replace","fileSize","size","inArray","isValid","fileInvalidType","fileSizeExceeded","passwordsMatch","passwordRegexValid","validatePasswords","newPassword","val","confirmPassword","RegExp","passwordRegexPattern","test","toggleClass","siblings","prop","setupPasswordValidation","selector","typingTimer","on","clearTimeout","setTimeout","appendCommaIfNotEmpty","inputId","clearHtmlBodyElement","removeAttr","resetForm","ref","reset","page_spinner","nextPage","hasClass","currentHost","host","document","activeElement","href","indexOf","parent","getElementsByClassName","style","display","get_antiforgery_token","form","clearSessionKeys","keys","appInstance","contentType","JSON","stringify"],"mappings":"OAASA,UAAWC,YAAaC,SAAoC,KAAnB,oBAC3C,SAASC,mBACZC,OAAOC,iBAAiB,WAAY,SAAUC,IACtCA,EAAMC,WAAcH,OAAOI,aAAeJ,OAAOI,YAAYC,WAAWC,MAAQN,OAAOI,YAAYC,WAAWE,oBAC9GC,SAASC,OAAO,CAAA,CAAI,CAE5B,CAAC,CACL,CAEO,SAASC,oBAAoBC,GAIhC,IAHA,IAAIC,EAAeZ,OAAOa,KAAKF,CAAI,EAC/BG,EAAYF,EAAaG,OACzBC,EAAQ,IAAIC,WAAWH,CAAS,EAC3BI,EAAI,EAAGA,EAAIJ,EAAWI,CAAC,GAAI,CAChC,IAAIC,EAAQP,EAAaQ,WAAWF,CAAC,EAC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