{"version":3,"sources":["../pciManager/tpl/layout!tpl","../pciManager/tpl/listing!tpl","../pciManager/tpl/packageMeta!tpl","../pciManager/pciManager.js","css!qtiItemPciCss/pci-manager","../controller/pciManager/index.js","../controller/routes.js","onLayerEnd0.js","module-create.js"],"names":["define","hb","template","Handlebars","depth0","helpers","partials","data","this","compilerInfo","helper","options","buffer","helperMissing","merge","escapeExpression","hash","__","call","stack1","functionType","self","program2","program4","each","interactions","inverse","noop","fn","program","typeIdentifier","unless","enabled","model","runtimeOnly","label","version","$","_","component","hider","switchFactory","buttonFactory","layoutTpl","listingTpl","packageMetaTpl","asyncLib","confirmBox","dialog","feedback","_fileTypeFilters","_fileExtFilter","_defaults","loadUrl","disableUrl","enableUrl","verifyUrl","addUrl","pciManager","open","trigger","getElement","appendTo","config","listing","setTemplate","on","$fileSelector","find","$title","$uploader","$uploadForm","parent","$switcher","show","filter","hide","text","$fileContainer","$placeholder","css","display","uploader","urls","pick","size","empty","html","pciDownloadButton","pciswitch","pciUnregisterButton","$li","closest","active","hasClass","off","removeClass","getJSON","success","addClass","id","type","icon","class","renderTo","heading","message","content","autoRender","autoDestroy","buttons","close","onDeleteBtn","unregisterUrl","window","location","exportPciUrl","e","preventDefault","isHidden","errors","selectedFiles","verify","file","cb","sendfile","url","loaded","r","done","ok","name","valid","exists","isArray","package","report","messages","forEach","msg","error","failed","Error","interactionHook","err","push","length","join","encodeHtml","filename","packageMeta","prepend","upload","multiple","uploadUrl","fileSelect","files","givenLength","checkType","replace","contains","test","initUploader","init","$container","start","route","PciManager","actions","index","c","d","document","a","i","s","createElement","getElementsByTagName","cssText","createTextNode"],"mappings":"AACAA,OAAA,uCAAA,CAAA,cAAA,SAAAC,IACA,OAAAA,GAAAC,SAAA,SAAAC,WAAAC,OAAAC,QAAAC,SAAAC,MACAC,KAAAC,aAAA,CAAA,EAAA,YACAF,KAAAA,MAAA,GACA,IAAAG,OAAAC,QAAAC,OAAA,GAAAC,eADAR,QAAAG,KAAAM,MAAAT,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