{"version":3,"file":"common.min.js","sources":["common.js"],"names":["window","FrankDigital","initComponent","name","jQuery","depends","init","FD","$","onResolved","onRejected","zipRegex","loginBusy","ActualUser","getArg","BusyMessage","Success","Message","toString","this","Object","freeze","fn","clk","f","click","e","preventDefault","apply","arguments","ico","mk","extend","replaceUrl","url","history","replaceState","location","href","approve","msg","Components","load","then","mkApprovePopup","ajax","jqXHR","Promise","resolve","reject","done","fail","header","getResponseHeader","responseText","mkInfoPopup","apiRequest","type","rdata","tOut","setTimeout","addClass","dataType","data","clearTimeout","removeClass","Data","IsBusy","AuthNeed","mkLogin","apiPost","apiGet","apiInvoke","cfg","lock","$load","finish","busy","show","hide","JSON","stringify","reason","uploadImage","file","parentId","replace0","formData","FormData","languageId","xdata","xdata1","replace","test","mkZipPopup","key","isZip","LanguageId","Parent","IsZip","Replace","toLowerCase","indexOf","KeepUrl","Properties","append","processData","contentType","pushErr","uploadImages","xdata2","fdescs","zipdescs","each","i","v","push","filter","fdesc","length","mkFileProp","d","forEach","desc","json2date","json","dt","Date","ie8Parse","undefined","date2js","x2","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","js2date","ma","match","y","m","mi","h","s","parseInt","toJSON","error","DefaultPublishedUntil"],"mappings":"AAIAA,OAAOC,aAAaC,eAChBC,KAAO,eACPC,OAAS,KACTC,SAAW,aACXC,KAAO,SAAUC,GAAIC,EAAGC,WAAYC,YAChC,GAAIC,UAAW,aAAcC,UAAY,KACzCL,IAAGM,WAAaN,GAAGO,OAAO,aAC1BP,IAAGQ,aACCC,QAAU,MACVC,QAAU,4BACVC,SAAW,WACP,MAAOC,MAAKF,SAKpB,IAAIG,OAAOC,OAAQ,CACfd,GAAGQ,YAAcK,OAAOC,OAAOd,GAAGQ,aAItCP,EAAEc,GAAGC,IAAM,SAAUC,GACjB,MAAOL,MAAKM,MAAM,SAAUC,GACxBA,EAAEC,gBACFH,GAAEI,MAAMT,KAAMU,aAItBrB,GAAEsB,IAAM,SAAUA,KACd,MAAOt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