1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./UmH55st_.js","./BrkBPn3Y.js","./entry.BTkKFlfe.css","./Buttons.foKR3sBK.css"])))=>i.map(i=>d[i]); 2import{U as s,W as a,c as r,o as d,a as t,Q as o,t as i,a5 as p,b as f,R as g,Y as S,Z as b,a7 as v}from"./BrkBPn3Y.js";const h=g(()=>v(()=>import("./UmH55st_.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(c=>c.default||c)),_={class:"fixed z-20 overflow-hidden bg-FieldGray bg-opacity-25 inset-0 overflow-y-auto","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"},w={class:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"},B={class:"bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4"},D={class:"mt-3 flex justify-between pt-1 text-center sm:mt-0 sm:ml-4 sm:text-left"},T={class:"flex w-full justify-end"},C={key:0,class:"w-full justify-center pt-16 mb-24"},N={class:"flex w-full justify-center text-center"},k={class:"flex justify-center mt-14"},j={key:1,class:"w-full flex flex-col justify-center"},I={class:"flex w-full justify-center text-center"},E={class:"flex"},G={__name:"AlertPopup",props:{showPopupCode:{type:Boolean,default:!1},canBeDeleted:{type:Boolean,default:!0},errors:{type:Array,default:()=>[{authorNameStyle:"italic text-TextGray pr-4 border-r h-[20px]",authorName:"By Name of author",dateStyle:"italic text-TextGray pl-2",date:"18 March 2020",errorTitle:"Title of content very long long long long long...",errorTitleStyle:"font-medium text-Blue text-lg"}]},containerStyle:{type:String,default:"inline-block shadow-lg shadow ring-black ring-opacity-5 align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle md:w-1/2"},errorsContainerStyle:{type:String,default:"mt-10 mb-14 self-center h-[270px] overflow-y-auto"},createdOnStyle:{type:String,default:"font-light pl-4"},createdOnLabel:{type:String,default:"Created on:"},titleDelete:{type:String,default:"Are you sure you want to delete this media?"},titleDeleteStyle:{type:String,default:"text-xl font-base text-center w-220px"},titleNoDeleteStyle:{type:String,default:"text-xl font-base text-center"},titleNoDelete:{type:String,default:"Oops! You cannot delete this media"},subTitleNoDeleteStyle:{type:String,default:"text-xl font-extralight text-center"},subTitleNoDelete:{type:String,default:"because it's linked to the following contents:"},title:{type:String,default:""},titleStyle:{type:String,default:""},description:{type:String,default:""},descriptionStyle:{type:String,default:""},alertIcon:{type:String,default:"flex w-full icon-alert text-6xl justify-center pb-8"},icomoonCrossIconStyle:{type:String,default:"cursor-pointer"},applyButtonText:{type:String,default:"DELETE MEDIA"},applyButtonStyle:{type:String,default:"text-sm text-TextGray font-semibold bg-white border border-FieldGray hover:border-Blue hover:bg-white rounded-2xl px-4 py-3 mr-2 hover:text-Blue"},cancelButtonText:{type:String,default:"CANCEL"},cancelButtonStyle:{type:String,default:"text-sm text-white bg-Blue hover:bg-white border hover:border-Blue rounded-2xl px-6 py-3 hover:text-Blue"},icomoonCrossIconSrc:{type:String,default:"icon-cross"}},emits:["cancel","apply"],setup(c,{emit:m}){const e=c,u=m;return(A,n)=>{const y=h;return s((d(),r("div",_,[t("div",w,[n[3]||(n[3]=t("div",{class:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity","aria-hidden":"false"},null,-1)),n[4]||(n[4]=t("span",{class:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"false"},"â",-1)),t("div",{class:o(e.containerStyle)},[t("div",B,[t("div",null,[t("div",D,[t("div",T,[t("span",{class:o([e.icomoonCrossIconSrc,e.icomoonCrossIconStyle]),onClick:n[0]||(n[0]=l=>u("cancel"))},null,2)])]),e.canBeDeleted?(d(),r("div",C,[t("span",{class:o(e.alertIcon)},null,2),t("div",N,[t("div",{class:o(e.titleDeleteStyle)},i(e.titleDelete),3)]),t("div",k,[t("div",{onClick:n[1]||(n[1]=p(l=>u("apply"),["stop","prevent"]))},[f(y,{"button-text":e.applyButtonText,"button-style":e.applyButtonStyle,"with-icomoon-icon":!0,"icomoon-icon-active-src":"icon-trashCan2",active:!0},null,8,["button-text","button-style"])]),t("div",{onClick:n[2]||(n[2]=p(l=>u("cancel"),["stop","prevent"]))},[f(y,{"button-text":e.cancelButtonText,"button-style":e.cancelButtonStyle,"with-icon":!1},null,8,["button-text","button-style"])])])])):(d(),r("div",j,[t("span",{class:o(e.alertIcon)},null,2),t("div",I,[t("div",{class:o(e.titleNoDeleteStyle)},i(e.titleNoDelete),3)]),t("div",null,[t("div",{class:o(e.subTitleNoDeleteStyle)},i(e.subTitleNoDelete),3)]),t("div",{class:o(e.errorsContainerStyle)},[(d(!0),r(S,null,b(e.errors,(l,x)=>(d(),r("div",{key:x,class:"mb-4"},[s(t("div",{class:o(l.errorTitleStyle)},i(l.errorTitle),3),[[a,l.errorTitle]]),t("div",E,[s(t("div",{class:o(l.authorNameStyle)},i(l.authorName),3),[[a,l.authorName]]),s(t("div",{class:o(e.createdOnStyle)},i(e.createdOnLabel),3),[[a,l.date]]),s(t("div",{class:o(l.dateStyle)},i(l.date),3),[[a,l.date]])])]))),128))],2)]))])])],2)])],512)),[[a,e.showPopupCode]])}}};export{G as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.