document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll("[data-trigger]");for(i=0;i<e.length;++i){var a=e[i];new Choices(a,{placeholderValue:"This is a placeholder set in the config",searchPlaceholderValue:"This is a search placeholder"})}new Choices("#choices-single-no-search",{searchEnabled:!1,removeItemButton:!0,choices:[{value:"One",label:"Label One"},{value:"Two",label:"Label Two",disabled:!0},{value:"Three",label:"Label Three"}]}).setChoices([{value:"Four",label:"Label Four",disabled:!0},{value:"Five",label:"Label Five"},{value:"Six",label:"Label Six",selected:!0}],"value","label",!1),new Choices("#choices-single-no-sorting",{shouldSort:!1}),new Choices("#choices-multiple-remove-button",{removeItemButton:!0}),new Choices(document.getElementById("choices-multiple-groups")),new Choices(document.getElementById("choices-text-remove-button"),{delimiter:",",editItems:!0,maxItemCount:5,removeItemButton:!0}),new Choices("#choices-text-unique-values",{paste:!1,duplicateItemsAllowed:!1,editItems:!0}),new Choices("#choices-text-disabled",{addItems:!1,removeItems:!1}).disable()});var classicPickr=Pickr.create({el:".classic-colorpicker",theme:"classic",default:"#038edc",swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)","rgba(0, 188, 212, 0.7)","rgba(0, 150, 136, 0.75)","rgba(76, 175, 80, 0.8)","rgba(139, 195, 74, 0.85)","rgba(205, 220, 57, 0.9)","rgba(255, 235, 59, 0.95)","rgba(255, 193, 7, 1)"],components:{preview:!0,opacity:!0,hue:!0,interaction:{hex:!0,rgba:!0,hsva:!0,input:!0,clear:!0,save:!0}}}),monolithPickr=Pickr.create({el:".monolith-colorpicker",theme:"monolith",default:"#5fd0f3",swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)"],defaultRepresentation:"HEXA",components:{preview:!0,opacity:!0,hue:!0,interaction:{hex:!1,rgba:!1,hsva:!1,input:!0,clear:!0,save:!0}}}),nanoPickr=Pickr.create({el:".nano-colorpicker",theme:"nano",default:"#f7cc53",swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)"],defaultRepresentation:"HEXA",components:{preview:!0,opacity:!0,hue:!0,interaction:{hex:!1,rgba:!1,hsva:!1,input:!0,clear:!0,save:!0}}});flatpickr("#datepicker-basic"),flatpickr("#datepicker-datetime",{enableTime:!0,dateFormat:"m-d-Y H:i"}),flatpickr("#datepicker-humanfd",{altInput:!0,altFormat:"F j, Y",dateFormat:"Y-m-d"}),flatpickr("#datepicker-minmax",{minDate:"today",maxDate:(new Date).fp_incr(14)}),flatpickr("#datepicker-disable",{onReady:function(){this.jumpToDate("2025-01")},disable:["2025-01-30","2025-02-21","2025-03-08",new Date(2025,4,9)],dateFormat:"Y-m-d"}),flatpickr("#datepicker-multiple",{mode:"multiple",dateFormat:"Y-m-d"}),flatpickr("#datepicker-range",{mode:"range"}),flatpickr("#datepicker-timepicker",{enableTime:!0,noCalendar:!0,dateFormat:"H:i"}),flatpickr("#datepicker-inline",{inline:!0});