/*
* # Fomantic UI - 2.9.2
* https://github.com/fomantic/Fomantic-UI
* https://fomantic-ui.com/
*
* Copyright 2023 Contributors
* Released under the MIT license
* https://opensource.org/licenses/MIT
*
*/
!function(M,O,P){"use strict";function I(e){return null!==e&&e===e.window}function R(e){return"function"==typeof e&&"number"!=typeof e.nodeType}O=void 0!==O&&O.Math===Math?O:globalThis,M.fn.api=function(w){var C,e=R(this)?M(O):M(this),k=e.selector||"",T=Date.now(),D=[],S=w,A="string"==typeof S,E=[].slice.call(arguments,1);return e.each(function(){var a,i,n,e,r,o,f=M.isPlainObject(w)?M.extend(!0,{},M.fn.api.settings,w):M.extend({},M.fn.api.settings),t=f.namespace,s=f.metadata,l=f.selector,c=f.error,d=f.className,u="."+t,p="module-"+t,m=M(this),g=m.closest(l.form),h=f.stateContext?[O,P].indexOf(f.stateContext)<0?M(P).find(f.stateContext):M(f.stateContext):m,v=this,b=h[0],y=m.data(p),x={initialize:function(){A||(o=f.data,x.bind.events()),x.instantiate()},instantiate:function(){x.verbose("Storing instance of module",x),y=x,m.data(p,y)},destroy:function(){x.verbose("Destroying previous module for",v),m.removeData(p).off(u)},bind:{events:function(){var e=x.get.event();e?(x.verbose("Attaching API events to element",e),m.on(e+u,x.event.trigger)):"now"===f.on&&(x.debug("Querying API endpoint immediately"),x.query())}},decode:{json:function(e){if(void 0!==e&&"string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}},read:{cachedResponse:function(e){var t;if(void 0!==O.Storage)return t=sessionStorage.getItem(e+x.get.normalizedData()),x.debug("Using cached response",e,f.data,t),x.decode.json(t);x.error(c.noStorage)}},write:{cachedResponse:function(e,t){void 0===O.Storage?x.error(c.noStorage):(M.isPlainObject(t)&&(t=JSON.stringify(t)),sessionStorage.setItem(e+x.get.normalizedData(),t),x.verbose("Storing cached response for url",e,f.data,t))}},query:function(){if(x.is.disabled())x.debug("Element is disabled API request aborted");else{if(x.is.loading()){if(!f.interruptRequests)return void x.debug("Cancelling request, previous request is still pending");x.debug("Interrupting previous request"),x.abort()}f.defaultData&&M.extend(!0,f.urlData,x.get.defaultData()),f.serializeForm&&(f.data=x.add.formData(o||f.data)),!1===(i=x.get.settings())?(x.cancelled=!0,x.error(c.beforeSend)):(x.cancelled=!1,(n=x.get.templatedURL())||x.is.mocked()?((n=x.add.urlData(n))||x.is.mocked())&&(i.url=f.base+n,a=M.extend(!0,{},f,{type:f.method||f.type,data:e,url:f.base+n,beforeSend:f.beforeXHR,success:function(){},failure:function(){},complete:function(){}}),x.debug("Querying URL",a.url),x.verbose("Using AJAX settings",a),"local"===f.cache&&x.read.cachedResponse(n)?(x.debug("Response returned from local cache"),x.request=x.create.request(),x.request.resolveWith(b,[x.read.cachedResponse(n)])):f.throttle?f.throttleFirstRequest||x.timer?(x.debug("Throttling request",f.throttle),clearTimeout(x.timer),x.timer=setTimeout(function(){x.timer&&delete x.timer,x.debug("Sending throttled request",e,a.method),x.send.request()},f.throttle)):(x.debug("Sending request",e,a.method),x.send.request(),x.timer=setTimeout(function(){},f.throttle)):(x.debug("Sending request",e,a.method),x.send.request())):x.error(c.missingURL))}},should:{removeError:function(){return!0===f.hideError||"auto"===f.hideError&&!x.is.form()}},is:{disabled:function(){return 0 ",{id:ie.popupId}).addClass(G.popup).appendTo(v.find(X.context))):(e=0<(t=s.parent()).closest(i.append).length?"appendTo":"prependTo",ae("
").addClass(G.popup)[e](t)):te).addClass(G.calendar),ne&&te.addClass(G.inverted),e=function(){return ie.refreshTooltips(),X.onVisible.apply(te,arguments)},0===r.length&&(te.attr("tabindex","0"),e=function(){return ie.refreshTooltips(),ie.focus(),X.onVisible.apply(te,arguments)}),t=ie.setting("on"),t=ae.extend({},X.popupOptions,{popup:te,movePopup:!X.context,on:t,hoverable:"hover"===t,closable:"click"===t,onShow:function(){return ie.set.focusDate(ie.get.date()),ie.set.mode(ie.get.validatedMode(X.startMode)),X.onShow.apply(te,arguments)},onVisible:e,onHide:X.onHide,onHidden:function(){return ie.blur(),X.onHidden.apply(te,arguments)}}),ie.popup(t)))},inline:function(){0 ").addClass(G.calendar).appendTo(a),0===r.length&&te.attr("tabindex","0"))},input:function(){X.touchReadonly&&0 ").addClass(G.grid).appendTo(b)),t=0;t ").addClass(G.column).appendTo(V));var b,y=z+t,Y=(new Date(m,y,1).getDay()-X.firstDayOfWeek%7+7)%7,x=(!X.constantHeight&&l&&(x=new Date(m,y+1,0).getDate()+Y,U=Math.ceil(x/7)),r?10:s?1:0),w=l?1:0,C=c||d?1:0,k=c||d?p:1,T=new Date(m-x,y-w,k-C,f),w=new Date(m+x,y+w,k+C,f),k=r?new Date(10*Math.ceil(m/10)-9,0,0):s?new Date(m,0,0):l?new Date(m,y,0):new Date(m,y,p,-1),C=r?new Date(10*Math.ceil(m/10)+1,0,1):s?new Date(m+1,0,1):l?new Date(m,y+1,1):new Date(m,y,p+1),D=n,D=(l&&X.showWeekNumbers&&(D+=" andweek"),ae("").addClass(G.table).addClass(D).addClass(oe[g]+" column").appendTo(b)),B=(ne&&D.addClass(G.inverted),g);if(!N){var W=ae(" ").appendTo(D),S=ae(" ").appendTo(W),A=ae(" ").attr("colspan",""+g).appendTo(S),E=r||s?new Date(m,0,1):l?new Date(m,y,1):new Date(m,y,p,f,u),M=ae(" ").addClass(G.link).appendTo(A),E=(M.text(ie.helper.dateFormat(J[n+"Header"],E)),s?X.disableYear?"day":"year":l?X.disableMonth?"year":"month":"day");if(M.data(Z.mode,E),0===t&&((M=ae(" ").addClass(G.prev).appendTo(A)).data(Z.focusDate,T),M.toggleClass(G.disabledCell,!ie.helper.isDateInRange(k,n)),ae(" ").addClass(G.prevIcon).appendTo(M)),t===h-1&&((E=ae(" ").addClass(G.next).appendTo(A)).data(Z.focusDate,w),E.toggleClass(G.disabledCell,!ie.helper.isDateInRange(C,n)),ae(" ").addClass(G.nextIcon).appendTo(E)),l)for(S=ae(" ").appendTo(W),X.showWeekNumbers&&((A=ae(" ").appendTo(S)).text(X.text.weekNo),A.addClass(G.weekCell),B--),O=0;O ").appendTo(S)).text(J.dayColumnHeader((O+X.firstDayOfWeek)%7,X))}for(var $=ae(" ").appendTo(D),O=r?10*Math.ceil(m/10)-9:l?1-Y:0,K=0;K ").appendTo($),l&&X.showWeekNumbers&&((A=ae(" ").appendTo(S)).text(ie.get.weekOfYear(m,y,O+1-X.firstDayOfWeek)),A.addClass(G.weekCell)),e=0;e ").addClass(G.cell).appendTo(S)).text(R),A.data(Z.date,I),l&&I.getMonth()!==(y+12)%12),F=!X.selectAdjacentDays&&R||!ie.helper.isDateInRange(I,n)||X.isDisabled(I,n)||ie.helper.isDisabled(I,n)||!ie.helper.isEnabled(I,n),L=(F?(null!==(L=ie.helper.findDayAsObject(I,n,X.disabledDates))&&L[Z.message]&&(A.attr("data-tooltip",L[Z.message]),A.attr("data-position",L[Z.position]||v),(L[Z.inverted]||ne&&void 0===L[Z.inverted])&&A.attr("data-inverted",""),L[Z.variation])&&A.attr("data-variation",L[Z.variation]),"hour"===n&&null!==(L=ie.helper.findHourAsObject(I,n,X.disabledHours))&&L[Z.message]&&(A.attr("data-tooltip",L[Z.message]),A.attr("data-position",L[Z.position]||v),(L[Z.inverted]||ne&&void 0===L[Z.inverted])&&A.attr("data-inverted",""),L[Z.variation])&&A.attr("data-variation",L[Z.variation])):null!==(P=ie.helper.findDayAsObject(I,n,X.eventDates))&&(A.addClass(P[Z.class]||X.eventClass),P[Z.message])&&(A.attr("data-tooltip",P[Z.message]),A.attr("data-position",P[Z.position]||v),(P[Z.inverted]||ne&&void 0===P[Z.inverted])&&A.attr("data-inverted",""),P[Z.variation])&&A.attr("data-variation",P[Z.variation]),ie.helper.dateEqual(I,q,n)),Q=ie.helper.dateEqual(I,i,n),R=(A.toggleClass(G.adjacentCell,R&&!P),A.toggleClass(G.disabledCell,F),A.toggleClass(G.activeCell,L&&!(R&&F)),c||d||A.toggleClass(G.todayCell,!R&&Q),{mode:n,adjacent:R,disabled:F,active:L,today:Q});J.cell(A,I,R),ie.helper.dateEqual(I,o,n)&&ie.set.focusDate(I,!1,!1)}X.today&&(T=ae(" ").appendTo($),(k=ae(" ").attr("colspan",""+g).addClass(G.today).appendTo(T)).text(J.today(X)),k.data(Z.date,i)),ie.update.focus(!1,D),X.inline&&ie.refreshTooltips()}}},update:{focus:function(e,t){t=t||te;var r=ie.get.mode(),n=ie.get.date(),s=ie.get.focusDate(),l=ie.get.startDate(),c=ie.get.endDate(),d=(e?s:null)||n||(u?null:s);t.find("td").each(function(){var e,t,n,i,o=ae(this),a=o.data(Z.date);a&&(e=o.hasClass(G.disabledCell),t=o.hasClass(G.activeCell),n=o.hasClass(G.adjacentCell),i=ie.helper.dateEqual(a,s,r),a=!!d&&(!!l&&ie.helper.isDateInRange(a,r,l,d)||!!c&&ie.helper.isDateInRange(a,r,d,c)),o.toggleClass(G.focusCell,i&&(!u||f)&&(!n||X.selectAdjacentDays&&n)&&!e),ie.helper.isTodayButton(o)||o.toggleClass(G.rangeCell,a&&!t&&!e))})}},refresh:function(){ie.create.calendar()},refreshTooltips:function(){var i=ae(D).width();te.find("td[data-position]").each(function(){var e=ae(this),t=D.getComputedStyle(e[0],"::after").width.replace(/[^\d.]/g,""),n=e.attr("data-position"),t=i-e.width()-(parseInt(t,10)||250)>e.offset().left?"right":"left";-1===n.indexOf(t)&&e.attr("data-position",n.replace(/(left|right)/,t))})},bind:{events:function(){ie.debug("Binding events"),te.on("mousedown"+t,ie.event.mousedown),te.on("touchstart"+t,ie.event.mousedown),te.on("mouseup"+t,ie.event.mouseup),te.on("touchend"+t,ie.event.mouseup),te.on("mouseover"+t,ie.event.mouseover),(0=e?ie.verbose("Unable to set maxDate variable lower that minDate variable",e,X.minDate):(ie.setting("maxDate",e),ie.set.dataKeyValue(Z.maxDate,e))},monthOffset:function(e,t){var n=Math.max(X.multiMonth,1);e=Math.max(1-n,Math.min(0,e)),ie.set.dataKeyValue(Z.monthOffset,e,t)},mode:function(e,t){ie.set.dataKeyValue(Z.mode,e,t)},dataKeyValue:function(e,t,n){var i=a.data(e),i=i===t||i<=t&&t<=i;return t?a.data(e,t):a.removeData(e),(n=!1!==n&&!i)&&ie.refresh(),!i}},selectDate:function(e,t){ie.verbose("New date selection",e);var n=ie.get.mode();t||"minute"===n||X.disableMinute&&"hour"===n||"date"===X.type&&"day"===n||"month"===X.type&&"month"===n||"year"===X.type&&"year"===n?!1!==ie.set.date(e)&&(m=!0,X.closable)&&(ie.popup("hide"),t=ie.get.calendarModule(X.endCalendar))&&(t.refresh(),"focus"!==t.setting("on")&&t.popup("show"),t.focus()):(t="year"===n?X.disableMonth?"day":"month":"month"===n?"day":"day"===n?"hour":"minute",ie.set.mode(t),"hour"===n||"day"===n&&ie.get.date()?ie.set.date(e,!0,!1):ie.set.focusDate(e))},changeDate:function(e){ie.set.date(e)},clear:function(){ie.set.date()},popup:function(){return s.popup.apply(s,arguments)},focus:function(){(0=t.centuryBreak&&n===v.length-1){i<=99&&(i+=t.currentCentury-100),m=i,v.splice(n,1);break}if(p<0)for(n=0;n adjusting invoked element"),g=g.closest(m.checkbox),y.refresh())}},setup:function(){y.set.initialLoad(),y.is.indeterminate()?(y.debug("Initial value is indeterminate"),y.indeterminate()):y.is.checked()?(y.debug("Initial value is checked"),y.check()):(y.debug("Initial value is unchecked"),y.uncheck()),y.remove.initialLoad()},refresh:function(){a=g.children(m.label),h=g.children(m.input),v=h[0]},hide:{input:function(){y.verbose("Modifying z-index to be unselectable"),h.addClass(t.hidden)}},show:{input:function(){y.verbose("Modifying z-index to be selectable"),h.removeClass(t.hidden)}},observeChanges:function(){"MutationObserver"in S&&((e=new MutationObserver(function(e){y.debug("DOM tree modified, updating selector cache"),y.refresh()})).observe(c,{childList:!0,subtree:!0}),y.debug("Setting up mutation observer",e))},attachEvents:function(e,t){var n=D(e);t=E(y[t])?y[t]:y.toggle,0").insertAfter(h),y.debug("Creating label",a))}},has:{label:function(){return 0 .ui.dimmer",content:".ui.dimmer > .content, .ui.dimmer > .content > .center"},template:{dimmer:function(e){var t,n=k("
").addClass("ui dimmer");return e.displayLoader&&(t=k("
").addClass(e.className.loader).addClass(e.loaderVariation),e.loaderText&&(t.text(e.loaderText),t.addClass("text")),n.append(t)),n}}}}(jQuery,window,document),function(Z,ee,te){"use strict";function ne(e){return"function"==typeof e&&"number"!=typeof e.nodeType}ee=void 0!==ee&&ee.Math===Math?ee:globalThis,Z.fn.dropdown=function(Y){var B,W=Z(this),$=Z(te),K=W.selector||"",Q=Date.now(),X=[],G=Y,J="string"==typeof G,_=[].slice.call(arguments,1);return W.each(function(V){var f,e,t,n,i,o,a,r,s,p=Z.isPlainObject(Y)?Z.extend(!0,{},Z.fn.dropdown.settings,Y):Z.extend({},Z.fn.dropdown.settings),g=p.className,m=p.message,l=p.fields,h=p.keys,v=p.metadata,q=p.namespace,c=p.regExp,b=p.selector,d=p.error,N=p.templates,u="."+q,y="module-"+q,x=Z(this),w=[ee,te].indexOf(p.context)<0?$.find(p.context):Z(p.context),C=x.find(b.text),k=x.find(b.search),T=x.find(b.sizer),D=x.find(b.input),j=x.find(b.icon),H=x.find(b.clearIcon),S=0 ").html(i).attr("data-"+v.value,t).attr("data-"+v.text,t).addClass(g.addition).addClass(g.item),p.hideAdditions&&i.addClass(g.hidden),n=void 0===n?i:n.add(i),L.verbose("Creating user choices for value",t,i))}),n)},userLabels:function(e){var t=L.get.userValues();t&&(L.debug("Adding user labels",t),Z.each(t,function(e,t){L.verbose("Adding custom user value"),L.add.label(t,t)}))},menu:function(){A=Z("
").addClass(g.menu).appendTo(x)},sizer:function(){T=Z(" ").addClass(g.sizer).insertAfter(k)}},search:function(e){e=void 0!==e?e:L.get.query(),L.verbose("Searching for query",e),!1===p.fireOnInit&&L.is.initialLoad()?L.verbose("Skipping callback on initial load",p.onSearch):L.has.minCharacters(e)&&!1!==p.onSearch.call(I,e)?L.filter(e):L.hide(null,!0)},select:{firstUnfiltered:function(){L.verbose("Selecting first non-filtered element"),L.remove.selectedItem(),E.not(b.unselectable).not(b.addition+b.hidden).eq(0).addClass(g.selected)},nextAvailable:function(e){var t=(e=e.eq(0)).nextAll(b.item).not(b.unselectable).eq(0),e=e.prevAll(b.item).not(b.unselectable).eq(0);(0 ").addClass("remove icon").insertBefore(C)),L.is.search()&&!L.has.search()&&(L.verbose("Adding search input"),e=x.prev("label"),k=Z(" ").addClass(g.search).prop("autocomplete",L.is.chrome()?"fomantic-search":"off"),0 ").attr("class",D.attr("class")).addClass(g.selection).addClass(g.dropdown).html(N.dropdown(e,l,p.preserveHTML,p.className)).insertBefore(D),D.hasClass(g.multiple)&&!1===D.prop("multiple")&&(L.error(d.missingMultiple),D.prop("multiple",!0)),D.is("[multiple]")&&L.set.multiple(),D.prop("disabled")&&(L.debug("Disabling dropdown"),x.addClass(g.disabled)),D.is("[required]")&&(p.forceSelection=!0),p.allowTab||D.removeAttr("tabindex"),D.prop("required",!1).removeAttr("class").detach().prependTo(x)),L.refresh()},menu:function(e){A.html(N.menu(e,l,p.preserveHTML,p.className)),E=A.find(b.item),M=p.hideDividers?E.parent().children(b.divider):Z()},reference:function(){L.debug("Dropdown behavior was called on select, replacing with closest dropdown"),x=x.parent(b.dropdown),F=x.data(y),I=x[0],L.refresh(),L.setup.returnedObject()},returnedObject:function(){var e=W.slice(0,V),t=W.slice(V+1);W=e.add(x).add(t)}},refresh:function(){L.refreshSelectors(),L.refreshData()},refreshItems:function(){E=A.find(b.item),M=p.hideDividers?E.parent().children(b.divider):Z()},refreshSelectors:function(){L.verbose("Refreshing selector cache"),C=x.find(b.text),k=x.find(b.search),D=x.find(b.input),j=x.find(b.icon),S=0"),Z.each(e,function(e,t){var n=p.templates.deQuote(t[l.value]),i=p.templates.escape(t[l.name]||"",p.preserveHTML);D.append('"+i+" ")}),L.observe.select())}},event:{paste:function(e){var t,n,i,o,a,r=(e.originalEvent.clipboardData||ee.clipboardData).getData("text").split(p.delimiter),s=[];r.forEach(function(e){!1===L.set.selected(L.escape.htmlEntities(e.trim()),null,!0,!0)&&s.push(e)}),e.preventDefault(),0 modified, recreating menu"),L.disconnect.selectObserver(),L.refresh(),L.setup.select(),L.set.selected(),L.observe.select())}},menu:{mutation:function(e){var e=e[0],t=e.addedNodes?Z(e.addedNodes[0]):Z(!1),e=e.removedNodes?Z(e.removedNodes[0]):Z(!1),t=t.add(e),e=t.is(b.addition)||0=p.maxSelections?(L.debug("Maximum selection count reached"),p.useLabels&&(E.addClass(g.filtered),L.add.message(m.maxSelections)),!0):(L.verbose("No longer at maximum selection count"),L.remove.message(),L.remove.filteredItem(),L.is.searchSelection()&&L.filterItems(),!1))},disabled:function(){k.attr("tabindex",L.is.disabled()?-1:0)}},restore:{defaults:function(e){L.clear(e),L.restore.defaultText(),L.restore.defaultValue()},defaultText:function(){var e=L.get.defaultText();e===L.get.placeholderText?(L.debug("Restoring default placeholder text",e),L.set.placeholderText(e)):(L.debug("Restoring default text",e),L.set.text(e))},placeholderText:function(){L.set.placeholderText()},defaultValue:function(){var e=L.get.defaultValue();void 0!==e&&(L.debug("Restoring default value",e),""!==e?(L.set.value(e),L.set.selected()):(L.remove.activeItem(),L.remove.selectedItem()))},labels:function(){p.allowAdditions&&(p.useLabels||(L.error(d.labels),p.useLabels=!0),L.debug("Restoring selected values"),L.create.userLabels()),L.check.maxSelections()},selected:function(){L.restore.values(),L.is.multiple()?(L.debug("Restoring previously selected values and labels"),L.restore.labels()):L.debug("Restoring previously selected values")},values:function(){L.set.initialLoad(),p.apiSettings&&p.saveRemoteData&&L.get.remoteValues()?L.restore.remoteValues():L.set.selected();var e=L.get.value();!e||""===e||Array.isArray(e)&&0===e.length?D.addClass(g.noselection):D.removeClass(g.noselection),L.remove.initialLoad()},remoteValues:function(){var e=L.get.remoteValues();L.debug("Recreating selected from session data",e),e&&(L.is.single()?Z.each(e,function(e,t){L.set.text(t)}):Z.each(e,function(e,t){L.add.label(e,t)}))}},read:{remoteData:function(e){if(void 0!==ee.Storage)return void 0!==(e=sessionStorage.getItem(e+i))&&e;L.error(d.noStorage)}},save:{defaults:function(){L.save.defaultText(),L.save.placeholderText(),L.save.defaultValue()},defaultValue:function(){var e=L.get.value();L.verbose("Saving default value as",e),x.data(v.defaultValue,e)},defaultText:function(){var e=L.get.text();L.verbose("Saving default text as",e),x.data(v.defaultText,e)},placeholderText:function(){var e;!1!==p.placeholder&&C.hasClass(g.placeholder)&&(e=L.get.text(),L.verbose("Saving placeholder text as",e),x.data(v.placeholderText,e))},remoteData:function(e,t){void 0===ee.Storage?L.error(d.noStorage):(L.verbose("Saving remote data to session storage",t,e),sessionStorage.setItem(t+i,e))}},clear:function(e){L.is.multiple()&&p.useLabels?L.remove.labels(x.find(b.label),e):(L.remove.activeItem(),L.remove.selectedItem(),L.remove.filteredItem()),L.set.placeholderText(),L.clearValue(e)},clearValue:function(e){L.set.value("",null,null,e)},scrollPage:function(e,t){var t=t||L.get.selectedItem(),n=t.closest(b.menu),i=n.outerHeight(),o=n.scrollTop(),a=E.eq(0).outerHeight(),i=Math.floor(i/a),o="up"===e?o-a*i:o+a*i,a=E.not(b.unselectable),i="up"===e?a.index(t)-i:a.index(t)+i,i=("up"===e?0<=i:i ").addClass(g.label).attr("data-"+v.value,a).html(N.label(a,t,p.preserveHTML,p.className)),i=p.onLabelCreate.call(i,a,t),L.has.label(e)?L.debug("User selection already exists, skipping",a):(p.label.variation&&i.addClass(p.label.variation),!0===n&&p.label.transition?(L.debug("Animating in label",i),i.addClass(g.hidden).insertBefore(o).transition({animation:p.label.transition,debug:p.debug,verbose:p.verbose,silent:p.silent,duration:p.label.duration})):(L.debug("Adding selection label",i),i.insertBefore(o)))},message:function(e){var t=A.children(b.message),e=p.templates.message(L.add.variables(e));0 ").html(e).addClass(g.message).appendTo(A)},optionValue:function(e){var t=L.escape.value(e);0 ").prop("value",t).addClass(g.addition).text(e).appendTo(D),L.verbose("Adding user addition as an ",e),L.observe.select())},userSuggestion:function(e){var t=A.children(b.addition),n=L.get.item(e),n=n&&0",e),L.observe.select())},message:function(){A.children(b.message).remove()},searchWidth:function(){k.css("width","")},searchTerm:function(){L.verbose("Cleared search term"),k.val(""),L.set.filtered()},userAddition:function(){E.filter(b.addition).remove()},selected:function(e,t,i){if(!(t=p.allowAdditions?t||L.get.itemWithAdditions(e):t||L.get.item(e)))return!1;t.each(function(){var e=Z(this),t=L.get.choiceText(e),n=L.get.choiceValue(e,t);L.is.multiple()?p.useLabels?(L.remove.value(n,t,e,i),L.remove.label(n)):(L.remove.value(n,t,e,i),0===L.get.selectionCount()?L.set.placeholderText():L.set.text(L.add.variables(m.count))):L.remove.value(n,t,e,i),e.removeClass(g.filtered).removeClass(g.active),p.useLabels&&e.removeClass(g.selected)})},selectedItem:function(){E.removeClass(g.selected)},value:function(e,t,n,i){var o,a=L.get.values(!0);L.has.selectInput()?(L.verbose("Input is removing selected option",e),o=L.remove.arrayValue(e,a),L.remove.optionValue(e)):(L.verbose("Removing from delimited values",e),o=(o=L.remove.arrayValue(e,a)).join(p.delimiter)),!1===p.fireOnInit&&L.is.initialLoad()?L.verbose("No callback on initial load",p.onRemove):p.onRemove.call(I,e,t,n),L.set.value(o,t,n,i),L.check.maxSelections()},arrayValue:function(t,e){return Array.isArray(e)||(e=[e]),e=Z.grep(e,function(e){return t!=e}),L.verbose("Removed value from delimited string",t,e),e},label:function(e,t){e=L.escape.value(e),e=x.find(b.label).filter("[data-"+v.value+'="'+L.escape.string(p.ignoreCase?e.toLowerCase():e)+'"]');L.verbose("Removing label",e),e.remove()},activeLabels:function(e){e=e||x.find(b.label).filter("."+g.active),L.verbose("Removing active label selections",e),L.remove.labels(e)},labels:function(e,o){e=e||x.find(b.label),L.verbose("Removing labels",e),e.each(function(){var e=Z(this),t=e.data(v.value),n=void 0!==t?String(t):t,i=L.is.userValue(n);!1===p.onLabelRemove.call(e,t)?L.debug("Label remove callback cancelled removal"):(L.remove.message(),i?(L.remove.value(n,n,L.get.item(n),o),L.remove.label(n)):L.remove.selected(n,!1,o))})},tabbable:function(){(L.is.searchSelection()?(L.debug("Searchable dropdown initialized"),k):(L.debug("Simple selection dropdown initialized"),x)).removeAttr("tabindex"),A.removeAttr("tabindex")},diacritics:function(e){return p.ignoreDiacritics?e.normalize("NFD").replace(/[\u0300-\u036F]/g,""):e}},has:{menuSearch:function(){return L.has.search()&&0=p.minCharacters:!(P=!1)},firstLetter:function(e,t){return!(!e||0===e.length||"string"!=typeof t)&&(e=L.get.choiceText(e,!1),(t=t.toLowerCase())==String(e).charAt(0).toLowerCase())},input:function(){return 0=p.maxSelections},allResultsFiltered:function(){var e=E.not(b.addition);return e.filter(b.unselectable).length===e.length},userSuggestion:function(){return 0=t.menu.offset.top-t.context.offset.top+t.menu.height}).below?(L.verbose("Dropdown can fit in context downward",t),!0):t.above?(L.verbose("Dropdown cannot fit below, opening upward",t),!1):(L.verbose("Dropdown cannot fit in either direction, favoring downward",t),!0),e.removeClass(g.loading),t},openRightward:function(e){var t,e=e||A,n=!0;return e.addClass(g.loading),t={context:{offset:w[0]===ee?{top:0,left:0}:w.offset(),scrollLeft:w.scrollLeft(),width:w.outerWidth()},menu:{offset:e.offset(),width:e.outerWidth()}},L.is.horizontallyScrollableContext()&&(t.menu.offset.left+=t.context.scrollLeft),(t=t.menu.offset.left-t.context.offset.left+t.menu.width>=t.context.scrollLeft+t.context.width)&&(L.verbose("Dropdown cannot fit in context rightward",t),n=!1),e.removeClass(g.loading),n},extendSelect:function(){return p.allowAdditions||p.apiSettings},show:function(){return!L.is.disabled()&&(L.has.items()||L.has.message())},useAPI:function(){return void 0!==Z.fn.api},useElement:function(e){return void 0!==Z.fn[e]||(L.error(d.noElement.replace("{element}",e)),!1)}},animate:{show:function(e,t){var n=t||A,i=t?function(){}:function(){L.hideSubMenus(),L.hideOthers(),L.set.active()};e=ne(e)?e:function(){},L.verbose("Doing menu show animation",n),L.set.direction(t),t=p.transition.showMethod||L.get.transition(t),L.is.selection()&&L.set.scrollPosition(L.get.selectedItem(),!0),(L.is.hidden(n)||L.is.animating(n))&&("none"===t?(i(),n.transition({displayType:L.get.displayType()}).transition("show"),e.call(I)):L.can.useElement("transition")&&n.transition({animation:t+" in",debug:p.debug,verbose:p.verbose,silent:p.silent,duration:p.transition.showDuration||p.duration,queue:!0,onStart:i,displayType:L.get.displayType(),onComplete:function(){e.call(I)}}))},hide:function(e,t){var n=t||A,i=t?function(){}:function(){L.unbind.intent(),L.remove.active()},t=p.transition.hideMethod||L.get.transition(t);e=ne(e)?e:function(){},(L.is.visible(n)||L.is.animating(n))&&(L.verbose("Doing menu hide animation",n),"none"===t?(i(),n.transition({displayType:L.get.displayType()}).transition("hide"),e.call(I)):void 0!==Z.fn.transition?n.transition({animation:t+" out",duration:p.transition.hideDuration||p.duration,debug:p.debug,verbose:p.verbose,silent:p.silent,queue:!1,onStart:i,displayType:L.get.displayType(),onComplete:function(){e.call(I)}}):L.error(d.transition))}},hideAndClear:function(){L.remove.searchTerm(),L.has.maxSelections()||(L.has.search()?L.hide(function(){L.remove.filteredItem()}):L.hide())},delay:{show:function(){L.verbose("Delaying show event to ensure user intent"),clearTimeout(L.timer),L.timer=setTimeout(L.show,p.delay.show)},hide:function(){L.verbose("Delaying hide event to ensure user intent"),clearTimeout(L.timer),L.timer=setTimeout(L.hide,p.delay.hide)}},escape:{value:function(e){var t=Array.isArray(e),n="string"==typeof e,i=!n&&!t,n=n&&-1!==e.search(c.quote),o=[];return i||!n?e:(L.debug("Encoding quote values for use in select",e),t?(Z.each(e,function(e,t){o.push(t.replace(c.quote,"""))}),o):e.replace(c.quote,"""))},string:function(e){return(e=String(e)).replace(c.escape,"\\$&")},htmlEntities:function(e){var t={"<":"<",">":">",'"':""","'":"'","`":"`"};return/["&'<>`]/.test(e)?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&")).replace(/["'<>`]/g,function(e){return t[e]}):e}},setting:function(e,t){if(L.debug("Changing setting",e,t),Z.isPlainObject(e))Z.extend(!0,p,e);else{if(void 0===t)return p[e];Z.isPlainObject(p[e])?Z.extend(!0,p[e],t):p[e]=t}},internal:function(e,t){if(Z.isPlainObject(e))Z.extend(!0,L,e);else{if(void 0===t)return L[e];L[e]=t}},debug:function(){!p.silent&&p.debug&&(p.performance?L.performance.log(arguments):(L.debug=Function.prototype.bind.call(console.info,console,p.name+":"),L.debug.apply(console,arguments)))},verbose:function(){!p.silent&&p.verbose&&p.debug&&(p.performance?L.performance.log(arguments):(L.verbose=Function.prototype.bind.call(console.info,console,p.name+":"),L.verbose.apply(console,arguments)))},error:function(){p.silent||(L.error=Function.prototype.bind.call(console.error,console,p.name+":"),L.error.apply(console,arguments))},performance:{log:function(e){var t,n;p.performance&&(n=(t=Date.now())-(Q||t),Q=t,X.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:I,"Execution Time":n})),clearTimeout(L.performance.timer),L.performance.timer=setTimeout(L.performance.display,500)},display:function(){var e=p.name+":",n=0;Q=!1,clearTimeout(L.performance.timer),Z.each(X,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",K&&(e+=" '"+K+"'"),0{term}",count:"{count} selected",maxSelections:"Max {maxCount} selections",noResults:"No results found.",serverError:"There was an error contacting the server"},error:{action:"You called a dropdown action that was not defined",alreadySetup:"Once a select has been initialized behaviors must be called on the created ui dropdown",labels:"Allowing user additions currently requires the use of labels.",missingMultiple:" requires multiple property to be set to correctly preserve multiple values",method:"The method you called is not defined.",noAPI:"The API module is required to load resources remotely",noStorage:"Saving remote data requires session storage",noElement:"This module requires ui {element}",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including as a polyfill.'},regExp:{escape:/[\s#$()*+,.:=?@[\\\]^{|}-]/g,quote:/"/g},metadata:{defaultText:"defaultText",defaultValue:"defaultValue",placeholderText:"placeholder",text:"text",value:"value"},fields:{remoteValues:"results",values:"values",disabled:"disabled",name:"name",description:"description",descriptionVertical:"descriptionVertical",value:"value",text:"text",type:"type",image:"image",imageClass:"imageClass",icon:"icon",iconClass:"iconClass",class:"class",divider:"divider",actionable:"actionable"},keys:{backspace:8,deleteKey:46,enter:13,escape:27,pageUp:33,pageDown:34,leftArrow:37,upArrow:38,rightArrow:39,downArrow:40},selector:{addition:".addition",divider:".divider, .header",dropdown:".ui.dropdown",hidden:".hidden",icon:"> .dropdown.icon",input:'> input[type="hidden"], > select',item:".item",label:"> .label",remove:"> .label > .delete.icon",siblingLabel:".label",menu:".menu",message:".message",menuIcon:".dropdown.icon",search:"input.search, .menu > .search > input, .menu input.search",sizer:"> span.sizer",text:"> .text:not(.icon)",unselectable:".disabled, .filtered",clearIcon:"> .remove.icon"},className:{active:"active",addition:"addition",animating:"animating",description:"description",descriptionVertical:"vertical",disabled:"disabled",empty:"empty",dropdown:"ui dropdown",filtered:"filtered",hidden:"hidden transition",icon:"icon",image:"image",item:"item",label:"ui label",loading:"loading",menu:"menu",message:"message",multiple:"multiple",placeholder:"default",sizer:"sizer",search:"search",selected:"selected",selection:"selection",text:"text",upward:"upward",leftward:"left",visible:"visible",clearable:"clearable",noselection:"noselection",delete:"delete",header:"header",divider:"divider",groupIcon:"",unfilterable:"unfilterable",actionable:"actionable"}},Z.fn.dropdown.settings.templates={deQuote:function(e,t){return String(e).replace(/"/g,t?""":"")},escape:function(e,t){var n;return!t&&(n={"<":"<",">":">",'"':""","'":"'","`":"`"},/["&'<>`]/.test(e))?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&")).replace(/["'<>`]/g,function(e){return n[e]}):e},dropdown:function(e,t,n,i){var o=e.placeholder||!1,a="",r=Z.fn.dropdown.settings.templates.escape,s=Z.fn.dropdown.settings.templates.deQuote;return(a+=' ')+(o?''+r(o,n)+"
":'
')+('"},menu:function(e,c,d,u){var e=e[c.values]||[],f="",p=Z.fn.dropdown.settings.templates.escape,m=Z.fn.dropdown.settings.templates.deQuote;return Z.each(e,function(e,t){var n,i,o,a,r,s=t[c.type]||"item",l=-1!==s.indexOf("menu");"item"===s||l?(n=t[c.text]?' data-text="'+m(t[c.text],!0)+'"':"",a=t[c.actionable]?u.actionable+" ":"",r=t[c.disabled]?u.disabled+" ":"",i=t[c.descriptionVertical]?u.descriptionVertical+" ":"",o=""!==p(t[c.description]||"",d),f+='",l&&(f+='
'),t[c.image]&&(f+='
'),t[c.icon]&&(f+='
'),o&&(f=(f+='
'+p(t[c.description]||"",d)+" ")+(l?"":'
')),l&&(f+=''),f+=p(t[c.name]||"",d),l?f=(f=(f+=" ")+'')+Z.fn.dropdown.settings.templates.menu(t,c,d,u)+"
":o&&(f+=" "),f+="
"):"header"===s&&(a=p(t[c.name]||"",d),r=m(t[c.icon]||u.groupIcon),""===a&&""===r||(f+='"),t[c.divider])&&(f+='
')}),f},label:function(e,t,n,i){var o=Z.fn.dropdown.settings.templates.escape,a=Z.fn.dropdown.settings.templates.deQuote;return o(t,n)+' '},message:function(e){return e},addition:function(e){return e}}}(jQuery,window,document),function(I,R,F){"use strict";function L(e){return"function"==typeof e&&"number"!=typeof e.nodeType}R=void 0!==R&&R.Math===Math?R:globalThis,I.fn.form=function(k){var T,D=I(this),S=D.selector||"",A=Date.now(),E=[],M=k,O="string"==typeof M,P=[].slice.call(arguments,1);return D.each(function(){var o,u,e,t,f,l,p,m,g,n,c,i,a,s,d,r=I(this),h=this,v=[],b=!1,y=!1,x=!1,w=["clean","clean"],C={initialize:function(){C.get.settings(),O?(void 0===d&&C.instantiate(),C.invoke(M)):(void 0!==d&&(d.invoke("destroy"),C.refresh()),C.verbose("Initializing form validation",r,f),C.bindEvents(),C.set.defaults(),f.autoCheckRequired&&C.set.autoCheck(),C.instantiate())},instantiate:function(){C.verbose("Storing instance of module",C),d=C,r.data(a,C)},destroy:function(){C.verbose("Destroying previous module",d),C.removeEvents(),r.removeData(a)},refresh:function(){C.verbose("Refreshing selector cache"),o=r.find(m.field),u=r.find(m.group),e=r.find(m.message),r.find(m.prompt),t=r.find(m.submit),r.find(m.clear),r.find(m.reset)},refreshEvents:function(){C.removeEvents(),C.bindEvents()},submit:function(){C.verbose("Submitting form",r),y=!0,r.trigger("submit")},attachEvents:function(e,t){t=t||"submit",I(e).on("click"+s,function(e){C[t](),e.preventDefault()})},bindEvents:function(){C.verbose("Attaching form events"),r.on("submit"+s,C.validate.form).on("blur"+s,m.field,C.event.field.blur).on("click"+s,m.submit,C.submit).on("click"+s,m.reset,C.reset).on("click"+s,m.clear,C.clear),f.keyboardShortcuts&&r.on("keydown"+s,m.field,C.event.field.keydown),o.each(function(e,t){var t=I(t),n=t.prop("type"),n=C.get.changeEvent(n,t);t.on(n+s,C.event.field.change)}),f.preventLeaving&&I(R).on("beforeunload"+s,C.event.beforeUnload),o.on("change click keyup keydown blur",function(e){C.determine.isDirty()}),r.on("dirty"+s,function(e){f.onDirty.call()}),r.on("clean"+s,function(e){f.onClean.call()})},clear:function(){o.each(function(e,t){var t=I(t),n=t.parent(),i=t.closest(u),o=i.find(m.prompt),a=t.closest(m.uiCalendar),r=t.data(p.defaultValue)||"",s=t.is(m.checkbox),l=n.is(m.uiDropdown)&&C.can.useElement("dropdown"),c=0 "))},fields:function(e,n){var i=I();return I.each(e,function(e,t){i=i.add(C.get.field(t,n))}),i},fieldLabel:function(e,t){var n="string"==typeof e?C.get.field(e):e,i=n.closest(m.group).find("label").eq(0);return 1===i.length?i.text():n.prop("placeholder")||(t?e:f.text.unspecifiedField)},validation:function(i){var o,a;return l&&(I.each(l,function(e,n){a=n.identifier||e,I.each(C.get.field(a),function(e,t){if(t==i[0])return n.identifier=a,o=n,!1})}),o)||!1},value:function(e,t){var n=[];return n.push(e),e=C.get.values.call(h,n,t),0<(n=Object.keys(e)).length?e[n[0]]:void 0},values:function(e,t){var e=Array.isArray(e)&&0 ").addClass(g.label)).appendTo(i),o.html(f.templates.prompt(t)),a?C.verbose("Inline errors are disabled, no inline error added",e):f.transition&&C.can.useElement("transition")?(C.verbose("Displaying error with css transition",f.transition),o.transition(f.transition+" in",f.duration)):(C.verbose("Displaying error with fallback javascript animation"),o.fadeIn(f.duration)))},errors:function(t){var i,o;!1!==(t=C.checkErrors(t))&&(C.debug("Adding form error messages",t),C.set.error(),i=[],I.isPlainObject(t)?I.each(Object.keys(t),function(e,n){!1!==C.checkErrors(t[n],!0)&&(f.inline?C.add.prompt(n,t[n]):!1!==(o=C.checkErrors(t[n]))&&I.each(o,function(e,t){i.push(f.prompt.addErrors.replace(/{name}/g,C.get.fieldLabel(n)).replace(/{error}/g,t))}))}):i=t,0"+t+""}),n+=""},prompt:function(e){var n;return 1===e.length?e[0]:(n='',I.each(e,function(e,t){n+=""+t+" "}),n+=" ")}},formatter:{date:function(e){return Intl.DateTimeFormat("en-GB").format(e)},datetime:function(e){return Intl.DateTimeFormat("en-GB",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(e)},time:function(e){return Intl.DateTimeFormat("en-GB",{hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(e)},month:function(e){return Intl.DateTimeFormat("en-GB",{month:"2-digit",year:"numeric"}).format(e)},year:function(e){return Intl.DateTimeFormat("en-GB",{year:"numeric"}).format(e)}},rules:{empty:function(e){return!(void 0===e||""===e||Array.isArray(e)&&0===e.length)},checked:function(){return 0=t)},exactCount:function(e,t){return 0===(t=Number(t))?""===e:1===t?""!==e&&-1===e.search(","):e.split(",").length===t},maxCount:function(e,t){return 0!==(t=Number(t))&&(1===t?-1===e.search(","):e.split(",").length<=t)}}}}(jQuery,window,document),function(B,W,$){"use strict";function K(e){return"function"==typeof e&&"number"!=typeof e.nodeType}W=void 0!==W&&W.Math===Math?W:globalThis,B.fn.modal=function(R){var F,e=B(this),L=B(W),V=B($),q=B("body"),N=e.selector||"",j=Date.now(),H=[],z=R,U="string"==typeof z,Y=[].slice.call(arguments,1);return e.each(function(){var n,o,a,e,i,t,r,s,l,c,d,u=B.isPlainObject(R)?B.extend(!0,{},B.fn.modal.settings,R):B.extend({},B.fn.modal.settings),f=u.selector,p=u.className,m=u.namespace,g=u.fields,h=u.error,v="."+m,b="module-"+m,y=B(this),x=[W,$].indexOf(u.context)<0?V.find(u.context):q,w=x[0]===q[0],C=y.find(f.closeIcon),k=y.hasClass("modal"),T=this,D=k?y.data(b):void 0,S=!1,A="",E="",M=!1,O=!1,P=!1,I={initialize:function(){var a;I.create.id(),k||(I.create.modal(),K(u.onHidden))||(u.onHidden=function(){I.destroy(),y.remove()}),y.addClass(u.class),""!==u.title&&y.find(f.title).html(I.helpers.escape(u.title,u.preserveHTML)).addClass(u.classTitle),""!==u.content&&y.find(f.content).html(I.helpers.escape(u.content,u.preserveHTML)).addClass(u.classContent),I.has.configActions()&&(0===(a=y.find(f.actions).addClass(u.classActions)).length?a=B("
",{class:p.actions+" "+(u.classActions||"")}).appendTo(y):a.empty(),u.actions.forEach(function(e){var t=e[g.icon]?" ':"",n=I.helpers.escape(e[g.text]||"",u.preserveHTML),i=I.helpers.deQuote(e[g.class]||""),o=e[g.click]&&K(e[g.click])?e[g.click]:function(){};a.append(B(" ",{html:t+n,"aria-label":(e[g.text]||e[g.icon]||"").replace(/<[^>]+(>|$)/g,""),class:p.button+" "+i,on:{click:function(){var e=B(this);e.is(f.approve)||e.is(f.deny)||!1===o.call(T,y)||I.hide()}}}))})),I.cache={},I.verbose("Initializing dimmer",x),I.create.dimmer(),u.allowMultiple&&I.create.innerDimmer(),u.centered||y.addClass("top aligned"),I.refreshModals(),I.bind.events(),I.observeChanges(),I.instantiate(),u.autoShow&&I.show()},instantiate:function(){I.verbose("Storing instance of modal"),D=I,y.data(b,D)},create:{modal:function(){var e;y=B("
",{class:p.modal,role:"dialog","aria-modal":!0}),u.closeIcon&&(C=B(" ",{class:p.close,role:"button",tabindex:0,"aria-label":u.text.close}),y.append(C)),""!==u.title&&(e="_"+I.get.id()+"title",y.attr("aria-labelledby",e),B("
",{class:p.title,id:e}).appendTo(y)),""!==u.content&&(e="_"+I.get.id()+"desc",y.attr("aria-describedby",e),B("
",{class:p.content,id:e}).appendTo(y)),I.has.configActions()&&B("
",{class:p.actions}).appendTo(y),x.append(y),T=y[0]},dimmer:function(){var e={debug:u.debug,dimmerName:"modals"},e=B.extend(!0,e,u.dimmerSettings);void 0===B.fn.dimmer?I.error(h.dimmer):(I.debug("Creating dimmer"),i=x.dimmer(e),M=I.is.scrolling(),u.detachable?(I.verbose("Modal is detachable, moving content into dimmer"),i.dimmer("add content",y)):I.set.undetached(),t=i.dimmer("get dimmer"))},id:function(){c=(Math.random().toString(16)+"000000000").slice(2,10),l="."+c,I.verbose("Creating unique id for element",c)},innerDimmer:function(){0===y.find(f.dimmer).length&&B("
",{class:p.innerDimmer}).prependTo(y)}},destroy:function(){d&&d.disconnect(),I.verbose("Destroying previous modal"),y.removeData(b).off(v),L.off(l),t.off(l),C.off(l),n&&n.off(l),x.dimmer("destroy")},observeChanges:function(){"MutationObserver"in W&&((d=new MutationObserver(function(e){function o(e){for(var t=[],n=0,i=e.length;n=e.clientX))&&I.verbose("Mouse down event registered inside the scrollbar")},mouseup:function(e){if(u.closable)if(r)I.debug("Dimmer clicked but mouse down was initially registered inside the modal");else if(s)I.debug("Dimmer clicked but mouse down was initially registered inside the scrollbar");else{var t=0":">",'"':""","'":"'","`":"`"},/["&'<>`]/.test(e))?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&")).replace(/["'<>`]/g,function(e){return n[e]}):e}},can:{leftBodyScrollbar:function(){return void 0===I.cache.leftBodyScrollbar&&(I.cache.leftBodyScrollbar=I.is.rtl()&&(I.is.iframe&&!I.is.firefox()||I.is.safari()||I.is.edge()||I.is.ie())),I.cache.leftBodyScrollbar},useFlex:function(){return"auto"===u.useFlex?u.detachable&&!I.is.ie():(u.useFlex&&I.is.ie()?I.debug("useFlex true is not supported in IE"):u.useFlex&&!u.detachable&&I.debug("useFlex true in combination with detachable false is not supported"),u.useFlex)},fit:function(){var e=I.cache.contextHeight,t=I.cache.contextHeight/2,n=I.cache.topOffset,i=I.cache.scrollHeight,o=I.cache.height,a=u.padding;return o .header",content:"> .content",actions:"> .actions",close:"> .close",closeIcon:"> .close",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel",modal:".ui.modal",dimmer:"> .ui.dimmer",bodyFixed:"> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar, > .ui.fixed.nag, > .ui.fixed.nag > .close",prompt:".ui.input > input"},error:{dimmer:"UI Dimmer, a required component is not included in this page",method:"The method you called is not defined.",notFound:"The element you specified could not be found"},className:{active:"active",animating:"animating",blurring:"blurring",inverted:"inverted",legacy:"legacy",loading:"loading",scrolling:"scrolling",undetached:"undetached",front:"front",close:"close icon",button:"ui button",modal:"ui modal",title:"header",content:"content",actions:"actions",template:"ui tiny modal",ok:"positive",cancel:"negative",prompt:"ui fluid input",innerDimmer:"ui inverted dimmer"},text:{ok:"Ok",cancel:"Cancel",close:"Close"}},B.fn.modal.settings.templates={getArguments:function(e){e=[].slice.call(e);return B.isPlainObject(e[0])?B.extend({handler:function(){},content:"",title:""},e[0]):(K(e[e.length-1])||e.push(function(){}),{handler:e.pop(),content:e.pop()||"",title:e.pop()||""})},alert:function(){var e=this.get.settings(),t=e.templates.getArguments(arguments),n=t.handler;return{title:t.title,content:t.content,onApprove:n,actions:[{text:e.text.ok,class:e.className.ok,click:n}]}},confirm:function(){function e(){i.handler(!0)}function t(){i.handler(!1)}var n=this.get.settings(),i=n.templates.getArguments(arguments);return{title:i.title,content:i.content,onApprove:e,onDeny:t,actions:[{text:n.text.ok,class:n.className.ok,click:e},{text:n.text.cancel,class:n.className.cancel,click:t}]}},prompt:function(){function e(){var e=n.get.settings(),e=n.get.element().find(e.selector.prompt)[0];o.handler(B(e).val())}function t(){o.handler(null)}var n=this,i=this.get.settings(),o=i.templates.getArguments(arguments);return 0===B(B.parseHTML(o.content)).filter(".ui.input").length&&(o.content+='
'),{title:o.title,content:o.content,onApprove:e,onDeny:t,actions:[{text:i.text.ok,class:i.className.ok,click:e},{text:i.text.cancel,class:i.className.cancel,click:t}]}}}}(jQuery,window,document),function(V,q,N){"use strict";function j(e){return"function"==typeof e&&"number"!=typeof e.nodeType}q=void 0!==q&&q.Math===Math?q:globalThis,V.fn.popup=function(T){var D,e=V(this),S=V(N),A=V(q),E=V("body"),M=e.selector||"",O="ontouchstart"in N.documentElement?"touchstart":"click",P=Date.now(),I=[],R=T,F="string"==typeof R,L=[].slice.call(arguments,1);return e.each(function(){var c,s,e,t,n,d=V.isPlainObject(T)?V.extend(!0,{},V.fn.popup.settings,T):V.extend({},V.fn.popup.settings),i=d.selector,u=d.className,f=d.error,p=d.metadata,o=d.namespace,a="."+d.namespace,r="module-"+o,m=V(this),l=[q,N].indexOf(d.context)<0?S.find(d.context):V(d.context),g=[q,N].indexOf(d.scrollContext)<0?S.find(d.scrollContext):V(d.scrollContext),h=[q,N].indexOf(d.boundary)<0?S.find(d.boundary):V(d.boundary),v=d.target?[q,N].indexOf(d.target)<0?S.find(d.target):V(d.target):m,b=0,y=!1,x=!1,w=this,C=m.data(r),k={initialize:function(){k.debug("Initializing",m),k.createID(),k.bind.events(),!k.exists()&&d.preserve&&k.create(),d.observeChanges&&k.observeChanges(),k.instantiate()},instantiate:function(){k.verbose("Storing instance",k),C=k,m.data(r,C)},observeChanges:function(){"MutationObserver"in q&&((e=new MutationObserver(k.event.documentChanged)).observe(N,{childList:!0,subtree:!0}),k.debug("Setting up mutation observer",e))},refresh:function(){d.popup?c=S.find(d.popup).eq(0):d.inline&&(c=v.nextAll(i.popup).eq(0),d.popup=c),d.popup?(k.set.invisible(),s=k.get.offsetParent(),k.remove.invisible(),d.movePopup&&k.has.popup()&&k.get.offsetParent(c)[0]!==s[0]&&(k.debug("Moving popup to the same offset parent as target"),c.detach().appendTo(s))):s=d.inline?k.get.offsetParent(v):k.has.popup()?k.get.offsetParent(c):E,s.is("html")&&s[0]!==E[0]&&(k.debug("Setting page as offset parent"),s=E),k.get.variation()&&k.set.variation()},reposition:function(){k.refresh(),k.set.position()},destroy:function(){k.debug("Destroying previous module"),e&&e.disconnect(),c&&!d.preserve&&k.removePopup(),clearTimeout(k.hideTimer),clearTimeout(k.showTimer),k.unbind.close(),k.unbind.events(),m.removeData(r)},event:{start:function(e){var t=V.isPlainObject(d.delay)?d.delay.show:d.delay;clearTimeout(k.hideTimer),x&&!d.addTouchEvents||(k.showTimer=setTimeout(k.show,t))},end:function(){var e=V.isPlainObject(d.delay)?d.delay.hide:d.delay;clearTimeout(k.showTimer),k.hideTimer=setTimeout(k.hide,e)},touchstart:function(e){x=!0,d.addTouchEvents&&k.show()},resize:function(){k.is.visible()&&k.set.position()},documentChanged:function(e){[].forEach.call(e,function(e){e.removedNodes&&[].forEach.call(e.removedNodes,function(e){(e===w||0 ").addClass(u.popup).data(p.activator,m).html(e),d.inline?(k.verbose("Inserting popup element inline",c),c.insertAfter(m)):(k.verbose("Appending popup element to body",c),c.appendTo(l)),k.refresh(),k.set.variation(),d.hoverable&&k.bind.popup(),d.onCreate.call(c,w)):d.popup?(S.find(d.popup).data(p.activator,m),k.verbose("Used popup specified in settings"),k.refresh(),d.hoverable&&k.bind.popup()):0":">",'"':""","'":"'","`":"`"};return/["&'<>`]/.test(e)?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&")).replace(/["'<>`]/g,function(e){return t[e]}):e},popup:function(e){var t="",n=V.fn.popup.settings.templates.escape;return void 0!==e&&(e.title&&(e.title=n(e.title),t+='"),e.content)&&(e.content=n(e.content),t+=''+e.content+"
"),t}}}}(jQuery,window,document),function(T,e,D){"use strict";void 0!==e&&e.Math===Math||globalThis,T.fn.progress=function(h){var v,e=T(this),b=e.selector||"",y=Date.now(),x=[],w=h,C="string"==typeof w,k=[].slice.call(arguments,1);return e.each(function(){var r=T.isPlainObject(h)?T.extend(!0,{},T.fn.progress.settings,h):T.extend({},T.fn.progress.settings),n=r.className,t=r.metadata,e=r.namespace,i=r.selector,l=r.error,o="."+e,a="module-"+e,c=T(this),d=T(this).find(i.bar),s=T(this).find(i.progress),u=T(this).find(i.label),f=this,p=c.data(a),m=!1,g={helper:{sum:function(e){return Array.isArray(e)?e.reduce(function(e,t){return e+Number(t)},0):0},derivePrecision:function(e,t){for(var n=0,i=1,o=e/t;n<10&&!(1<(o*=i));)i=Math.pow(10,n++);return i},forceArray:function(e){return Array.isArray(e)?e:isNaN(e)?"string"==typeof e?e.split(","):[]:[e]}},initialize:function(){g.set.duration(),g.debug(f),g.read.metadata(),g.read.settings(),g.instantiate()},instantiate:function(){g.verbose("Storing instance of progress",g),p=g,c.data(a,g)},destroy:function(){g.verbose("Destroying previous progress for",c),clearInterval(p.interval),g.remove.state(),c.removeData(a),p=void 0},reset:function(){g.remove.nextValue(),g.update.progress(0)},complete:function(e){(void 0===g.percent||g.percent<100)&&(g.remove.progressPoll(),!0!==e)&&g.set.percent(100)},read:{metadata:function(){var e={percent:g.helper.forceArray(c.data(t.percent)),total:c.data(t.total),value:g.helper.forceArray(c.data(t.value))};void 0!==e.total&&(g.debug("Total value set from metadata",e.total),g.set.total(e.total)),0g.total)return g.debug("Value cannot increment above total",g.total),g.total}else if(100g.total?g.error(l.sumExceedsTotal,a,g.total):!o&&100 .bar",label:"> .label",progress:".bar > .progress"},text:{active:!1,error:!1,success:!1,warning:!1,percent:"{percent}%",ratio:"{value} of {total}",bars:[""]},className:{active:"active",error:"error",success:"success",warning:"warning"}}}(jQuery,window,document),function(V,q,N){"use strict";function j(e){return"function"==typeof e&&"number"!=typeof e.nodeType}q=void 0!==q&&q.Math===Math?q:globalThis,V.fn.sidebar=function(k){var T,e=V(this),D=V(q),S=V(N),A=V("body"),E=V("html"),M=V("head"),O=e.selector||"",P=Date.now(),I=[],R=k,F="string"==typeof R,L=[].slice.call(arguments,1);return e.each(function(){var o,a,e,r,s=V.isPlainObject(k)?V.extend(!0,{},V.fn.sidebar.settings,k):V.extend({},V.fn.sidebar.settings),t=s.selector,l=s.className,n=s.namespace,i=s.regExp,c=s.error,d="."+n,u="module-"+n,f=V(this),p=[q,N].indexOf(s.context)<0?S.find(s.context):A,m=p[0]===A[0],g=f.children(t.sidebar),h=(p.children(t.fixed),p.children(t.pusher)),v=this,b=f.data(u),y="",x="",w=!1,C={initialize:function(){C.debug("Initializing sidebar",k),C.create.id(),s.delaySetup?requestAnimationFrame(C.setup.layout):C.setup.layout(),requestAnimationFrame(function(){C.setup.cache()}),C.instantiate()},instantiate:function(){C.verbose("Storing instance of module",C),b=C,f.data(u,C)},create:{id:function(){e=(Math.random().toString(16)+"000000000").slice(2,10),a="."+e,C.verbose("Creating unique id for element",e)}},destroy:function(){C.verbose("Destroying previous module for",f),f.off(d).removeData(u),C.is.ios()&&C.remove.ios(),p.off(a),D.off(a),S.off(a)},event:{clickaway:function(e){var t;s.closable&&(t=0=v.scrollHeight&&(v.scrollTop=v.scrollHeight-v.offsetHeight-1)},scroll:function(e){0===V(e.target).closest(t.sidebar).length&&e.preventDefault()}},bind:{clickaway:function(){C.verbose("Adding clickaway events to context",p),p.on("click"+a,C.event.clickaway).on("touchend"+a,C.event.clickaway)},scrollLock:function(){s.scrollLock&&(C.debug("Disabling page scroll"),(w=C.has.scrollbar())&&(C.save.bodyMargin(),C.set.bodyMargin()),p.addClass(l.locked)),C.verbose("Adding events to contain sidebar scroll"),S.on("touchmove"+a,C.event.touch),f.on("scroll"+d,C.event.containScroll)}},unbind:{clickaway:function(){C.verbose("Removing clickaway events from context",p),p.off(a)},scrollLock:function(){C.verbose("Removing scroll lock from page"),w&&C.restore.bodyMargin(),p.removeClass(l.locked),S.off(a),f.off("scroll"+d)}},add:{inlineCSS:function(){var e=C.cache.width||f.outerWidth(),t=C.cache.height||f.outerHeight(),n=C.is.rtl(),i=C.get.direction(),t={left:e,right:-e,top:t,bottom:-t};n&&(C.verbose("RTL detected, flipping widths"),t.left=-e,t.right=e),n="").appendTo(M),C.debug("Adding sizing css to head",o)}},refresh:function(){C.verbose("Refreshing selector cache"),p=[q,N].indexOf(s.context)<0?S.find(s.context):A,C.refreshSidebars(),h=p.children(t.pusher),p.children(t.fixed),C.clear.cache()},refreshSidebars:function(){C.verbose("Refreshing other sidebars"),g=p.children(t.sidebar)},repaint:function(){C.verbose("Forcing repaint event"),v.style.display="none";v.offsetHeight;v.scrollTop=v.scrollTop,v.style.display=""},setup:{cache:function(){C.cache={width:f.outerWidth(),height:f.outerHeight()}},layout:function(){0===p.children(t.pusher).length&&(C.debug("Adding wrapper element for sidebar"),C.error(c.pusher),h=V('
'),p.children().not(t.omitted).not(g).wrapAll(h),C.refresh()),0!==f.nextAll(t.pusher).length&&f.nextAll(t.pusher)[0]===h[0]||(C.debug("Moved sidebar to correct parent element"),C.error(c.movedSidebar,v),f.detach().prependTo(p),C.refresh()),C.clear.cache(),C.set.pushable(),C.set.direction()}},attachEvents:function(e,t){var n=V(e);t=j(C[t])?C[t]:C.toggle,0 .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar, > .ui.fixed.nag, > .ui.fixed.nag > .close",fixed:".fixed",omitted:"script, link, style, .ui.modal, .ui.dimmer, .ui.nag, .ui.fixed",pusher:".pusher",sidebar:".ui.sidebar"},regExp:{ios:/(iPad|iPhone|iPod)/g,mobileChrome:/(CriOS)/g,mobile:/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/g},error:{method:"The method you called is not defined.",pusher:"Had to add pusher element. For optimal performance make sure body content is inside a pusher element",movedSidebar:"Had to move sidebar. For optimal performance make sure sidebar and pusher are direct children of your body tag",overlay:"The overlay setting is no longer supported, use animation: overlay",notFound:"There were no elements that matched the specified selector"}}}(jQuery,window,document),function(g,h,v){"use strict";h=void 0!==h&&h.Math===Math?h:globalThis,g.fn.site=function(e){var l,i=Date.now(),o=[],t=e,n="string"==typeof t,c=[].slice.call(arguments,1),r=g.isPlainObject(e)?g.extend(!0,{},g.site.settings,e):g.extend({},g.site.settings),a=r.namespace,d=r.error,s="module-"+a,u=g(v),f=this,p=u.data(s),m={initialize:function(){m.instantiate()},instantiate:function(){m.verbose("Storing instance of site",m),p=m,u.data(s,m)},normalize:function(){},fix:{consoleClear:function(){m.debug("Disabling programmatic console clearing"),h.console.clear=function(){}}},moduleExists:function(e){return void 0!==g.fn[e]&&void 0!==g.fn[e].settings},enabled:{modules:function(e){var n=[];return e=e||r.modules,g.each(e,function(e,t){m.moduleExists(t)&&n.push(t)}),n}},disabled:{modules:function(e){var n=[];return e=e||r.modules,g.each(e,function(e,t){m.moduleExists(t)||n.push(t)}),n}},change:{setting:function(i,o,e,a){e="string"==typeof e?"all"===e?r.modules:[e]:e||r.modules,a=void 0===a||a,g.each(e,function(e,t){var n=!m.moduleExists(t)||g.fn[t].settings.namespace||!1;m.moduleExists(t)&&(m.verbose("Changing default setting",i,o,t),g.fn[t].settings[i]=o,a)&&n&&0<(n=g(":data(module-"+n+")")).length&&(m.verbose("Modifying existing settings",n),n[t]("setting",i,o))})},settings:function(i,e,o){e="string"==typeof e?[e]:e||r.modules,o=void 0===o||o,g.each(e,function(e,t){var n;m.moduleExists(t)&&(m.verbose("Changing default setting",i,t),g.extend(!0,g.fn[t].settings,i),o)&&a&&0<(n=g(":data(module-"+a+")")).length&&(m.verbose("Modifying existing settings",n),n[t]("setting",i))})}},enable:{console:function(){m.console(!0)},debug:function(e,t){e=e||r.modules,m.debug("Enabling debug for modules",e),m.change.setting("debug",!0,e,t)},verbose:function(e,t){e=e||r.modules,m.debug("Enabling verbose debug for modules",e),m.change.setting("verbose",!0,e,t)}},disable:{console:function(){m.console(!1)},debug:function(e,t){e=e||r.modules,m.debug("Disabling debug for modules",e),m.change.setting("debug",!1,e,t)},verbose:function(e,t){e=e||r.modules,m.debug("Disabling verbose debug for modules",e),m.change.setting("verbose",!1,e,t)}},console:function(e){e?void 0===p.cache.console?m.error(d.console):(m.debug("Restoring console function"),h.console=p.cache.console):(m.debug("Disabling console function"),p.cache.console=h.console,h.console={clear:function(){},error:function(){},group:function(){},groupCollapsed:function(){},groupEnd:function(){},info:function(){},log:function(){},table:function(){},warn:function(){}})},destroy:function(){m.verbose("Destroying previous site for",u),u.removeData(s)},cache:{},setting:function(e,t){if(g.isPlainObject(e))g.extend(!0,r,e);else{if(void 0===t)return r[e];r[e]=t}},internal:function(e,t){if(g.isPlainObject(e))g.extend(!0,m,e);else{if(void 0===t)return m[e];m[e]=t}},debug:function(){r.debug&&(r.performance?m.performance.log(arguments):(m.debug=Function.prototype.bind.call(console.info,console,r.name+":"),m.debug.apply(console,arguments)))},verbose:function(){r.verbose&&r.debug&&(r.performance?m.performance.log(arguments):(m.verbose=Function.prototype.bind.call(console.info,console,r.name+":"),m.verbose.apply(console,arguments)))},error:function(){m.error=Function.prototype.bind.call(console.error,console,r.name+":"),m.error.apply(console,arguments)},performance:{log:function(e){var t,n;r.performance&&(n=(t=Date.now())-(i||t),i=t,o.push({Element:f,Name:e[0],Arguments:[].slice.call(e,1)||"","Execution Time":n})),clearTimeout(m.performance.timer),m.performance.timer=setTimeout(m.performance.display,500)},display:function(){var e=r.name+":",n=0;i=!1,clearTimeout(m.performance.timer),g.each(o,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",0
"),o=O.get.precision(),s=S.find(".thumb:not(.second)"),c=s,O.is.range()&&(0===S.find(".thumb.second").length&&S.find(".inner").append("
"),l=S.find(".thumb.second")),e=S.find(".track"),d=S.find(".track-fill"),g=s.width()/2},labels:function(){O.is.labeled()&&(0<(u=S.find(".labels:not(.auto)")).length?O.setup.customLabel():O.setup.autoLabel(),b.showLabelTicks)&&S.addClass(n.ticked)},customLabel:function(){var n,e=u.find(".label"),i=e.length,o=O.get.min(),a=O.get.max();e.each(function(e){var t=Y(this).attr("data-value");n=t?((a').find(".labels");for(var e=0,t=O.get.numLabels();e<=t;e++){var n=O.get.label(e),n=""!==n?e%O.get.gapRatio()?Y(' '):Y(''+n+" "):null;n&&(O.update.labelPosition(e/t,n),u.append(n))}}},bind:{events:function(){O.bind.globalKeyboardEvents(),O.bind.keyboardEvents(),O.bind.mouseEvents(),b.autoAdjustLabels&&O.bind.windowEvents()},keyboardEvents:function(){O.verbose("Binding keyboard events"),S.on("keydown"+T,O.event.keydown)},globalKeyboardEvents:function(){R.on("keydown"+T+t,O.event.activateFocus)},mouseEvents:function(){O.verbose("Binding mouse and touch events"),S.find(".track, .thumb, .inner").on("mousedown"+T,function(e){e.stopImmediatePropagation(),e.preventDefault(),O.event.down(e)}),S.on("mousedown"+T,O.event.down),S.on("mouseenter"+T,function(e){k=!0}),S.on("mouseleave"+T,function(e){k=!1}),S.find(".thumb").on("touchstart"+T,O.event.touchDown).on("touchmove"+T,O.event.move).on("touchend"+T,O.event.up).on("touchcancel"+T,O.event.touchCancel)},slidingEvents:function(){O.verbose("Binding page wide events while handle is being draged"),R.on("mousemove"+T,O.event.move),R.on("mouseup"+T,O.event.up)},windowEvents:function(){F.on("resize"+T,O.event.resize)}},unbind:{events:function(){S.find(".track, .thumb, .inner").off("mousedown"+T),S.off("mousedown"+T),S.off("mouseenter"+T),S.off("mouseleave"+T),S.find(".thumb").off("touchstart"+T).off("touchmove"+T).off("touchend"+T).off("touchcancel"+T),S.off("keydown"+T),S.off("focusout"+T),R.off("keydown"+T+t,O.event.activateFocus),F.off("resize"+T)},slidingEvents:function(){R.off("mousemove"+T),R.off("mouseup"+T)}},event:{down:function(e){e.preventDefault(),O.is.range()?(e=O.determine.eventPos(e),e=O.determine.pos(e),c=b.preventCrossover&&O.is.range()&&O.thumbVal===O.secondThumbVal?void(a=e):O.determine.closestThumb(e),void 0===h&&(h=O.get.currentThumbValue())):void 0===h&&(h=O.get.value()),O.is.disabled()||O.bind.slidingEvents()},touchDown:function(e){e.preventDefault(),e.stopImmediatePropagation(),void 0===r&&(c=Y(e.target),e=e.touches?e:e.originalEvent,r=e.targetTouches[0].identifier,void 0===h)&&(h=O.get.currentThumbValue())},move:function(e){var t,n,i;"mousemove"===e.type&&e.preventDefault(),O.is.disabled()||(t=O.determine.valueFromEvent(e),"mousemove"===e.type&&void 0===c&&(n=O.determine.eventPos(e),n=O.determine.pos(n),c=nO.get.trackOffset()+O.get.trackLength()?O.is.reversed()?O.get.min():O.get.max():O.determine.value(t);return e},smoothValueFromEvent:function(e){var t=O.get.min(),n=O.get.max(),i=O.get.trackLength(),e=O.determine.eventPos(e)-O.get.trackOffset(),e=(e<0?0:i"},regExp:{escape:/[\s#$()*+,.:=?@[\\\]^{|}-]/g},metadata:{tab:"tab",loaded:"loaded",promise:"promise"},className:{loading:"loading",active:"active"},selector:{tabs:".ui.tab",ui:".ui"}}}(jQuery,window,document),function(O,P,I){"use strict";function R(e){return"function"==typeof e&&"number"!=typeof e.nodeType}P=void 0!==P&&P.Math===Math?P:globalThis,O.fn.toast=function(C){var k,e=O(this),T=e.selector||"",D=Date.now(),S=[],A=C,E="string"==typeof A,M=[].slice.call(arguments,1);return e.each(function(){var n,i,a,o,r,s,l,e,c=O.isPlainObject(C)?O.extend(!0,{},O.fn.toast.settings,C):O.extend({},O.fn.toast.settings),d=c.className,u=c.selector,f=c.error,t=c.namespace,p=c.fields,m="."+t,g=t+"-module",h=O(this),v=c.context?[P,I].indexOf(c.context)<0?O(I).find(c.context):O(c.context):O("body"),b=h.hasClass("toast")||h.hasClass("message")||h.hasClass("card"),y=this,x=b?h.data(g):void 0,w={initialize:function(){w.verbose("Initializing element"),w.create.id(),w.has.container()||w.create.container(),(b||""!==c.message||""!==c.title||""!==w.get.iconClass()||c.showImage||w.has.configActions())&&("string"==typeof c.showProgress&&-1!==[d.top,d.bottom].indexOf(c.showProgress)||(c.showProgress=!1),w.create.toast(),c.closeOnClick&&(c.closeIcon||0 ",{class:c.position+" "+d.container+" "+(c.horizontal?d.horizontal:"")+" "+(c.context&&"body"!==c.context?d.absolute:"")}))},id:function(){e=(Math.random().toString(16)+"000000000").slice(2,10),w.verbose("Creating unique id for element",e)},toast:function(){n=O("
",{class:d.box});var e,t=w.get.iconClass();b?(i=c.cloneModule?h.clone().removeAttr("id"):h,l=i.find("> i"+w.helpers.toClass(d.close)),c.closeIcon=0 ",{role:"alert"}),e=O("
",{class:d.content}),""!==t&&i.append(O(" ",{class:t+" "+d.icon})),c.showImage&&i.append(O(" ",{class:d.image+" "+c.classImage,src:c.showImage})),""!==c.title&&(t="_"+w.get.id()+"title",i.attr("aria-labelledby",t),e.append(O("
",{class:d.title,id:t,html:w.helpers.escape(c.title,c.preserveHTML)}))),t="_"+w.get.id()+"desc",i.attr("aria-describedby",t),e.append(O("
",{class:d.message,id:t,html:w.helpers.escape(c.message,c.preserveHTML)})),i.addClass(c.class+" "+d.toast).append(e),i.css("opacity",String(c.opacity)),c.closeIcon&&((l=O(" ",{class:d.close+" "+("string"==typeof c.closeIcon?c.closeIcon:""),role:"button",tabindex:0,"aria-label":c.text.close})).hasClass(d.left)?i.prepend(l):i.append(l))),i.hasClass(d.compact)&&(c.compact=!0),i.hasClass("card")&&(c.compact=!1),a=i.find(".actions"),w.has.configActions()&&(0===a.length&&(a=O("
",{class:d.actions+" "+(c.classActions||"")}).appendTo(i)),i.hasClass("card")&&!a.hasClass(d.attached)&&(a.addClass(d.extraContent),a.hasClass(d.vertical))&&(a.removeClass(d.vertical),w.error(f.verticalCard)),c.actions.forEach(function(e){var t=e[p.icon]?" ':"",n=w.helpers.escape(e[p.text]||"",c.preserveHTML),i=w.helpers.deQuote(e[p.class]||""),o=e[p.click]&&R(e[p.click])?e[p.click]:function(){};a.append(O(" ",{html:t+n,"aria-label":(e[p.text]||e[p.icon]||"").replace(/<[^>]+(>|$)/g,""),class:d.button+" "+i,on:{click:function(){var e=O(this);e.is(u.approve)||e.is(u.deny)||!1===o.call(y,h)||w.close()}}}))})),a&&a.hasClass(d.vertical)&&i.addClass(d.vertical),0 ",{class:d.vertical+" "+d.attached+" "+(c.compact?d.compact:"")})),a.hasClass(d.left)?i.addClass(d.left).parent().addClass(d.left).prepend(a):i.parent().append(a)):a.hasClass(d.top)?(n.prepend(a),i.addClass(d.bottom)):(n.append(a),i.addClass(d.top))),h!==i&&(y=(h=i)[0]),0 ",{class:d.progress+" "+(c.classProgress||c.class),"data-percent":""}),c.classProgress||(i.hasClass("toast")&&!i.hasClass(d.inverted)?o.addClass(d.inverted):o.removeClass(d.inverted)),r=O("
",{class:"bar "+(c.progressUp?"up ":"down ")+t}),o.addClass(c.showProgress).append(r),o.hasClass(d.top)?n.prepend(o):n.append(o),r.css("animation-duration",c.displayTime/1e3+"s")),(s=O(" ",{class:"wait "+t})).css("animation-duration",c.displayTime/1e3+"s"),s.appendTo(i)),c.compact&&(n.addClass(d.compact),i.addClass(d.compact),o)&&o.addClass(d.compact),c.newestOnTop?n.prependTo(w.get.container()):n.appendTo(w.get.container())}},bind:{events:function(){w.debug("Binding events to toast"),c.closeIcon&&l.on("click"+m,w.event.close),i.on("click"+m,w.event.click),s&&s.on("animationend"+m,w.event.close),n.on("click"+m,u.approve,w.event.approve).on("click"+m,u.deny,w.event.deny)}},unbind:{events:function(){w.debug("Unbinding events to toast"),c.closeIcon&&l.off("click"+m),i.off("click"+m),s&&s.off("animationend"+m),n.off("click"+m)}},animate:{show:function(e){e=R(e)?e:function(){},c.transition&&w.can.useElement("transition")&&(w.set.visible(),n.transition({animation:c.transition.showMethod+" in",queue:!1,debug:c.debug,verbose:c.verbose,silent:c.silent,duration:c.transition.showDuration,onComplete:function(){e.call(n,y),c.onVisible.call(n,y)}}))},close:function(e){e=R(e)?e:function(){},c.transition&&void 0!==O.fn.transition?n.transition({animation:c.transition.hideMethod+" out",queue:!1,duration:c.transition.hideDuration,debug:c.debug,verbose:c.verbose,silent:c.silent,interval:50,onBeforeHide:function(e){e=R(e)?e:function(){},""!==c.transition.closeEasing?n&&(n.css("opacity","0"),n.wrap("
").parent().hide(c.transition.closeDuration,c.transition.closeEasing,function(){n&&(n.parent().remove(),e.call(n))})):e.call(n)},onComplete:function(){e.call(n,y),c.onHidden.call(n,y),w.destroy()}}):w.error(f.noTransition)},pause:function(){s.css("animationPlayState","paused"),r&&r.css("animationPlayState","paused")},continue:function(){s.css("animationPlayState","running"),r&&r.css("animationPlayState","running")}},has:{container:function(){return w.verbose("Determining if there is already a container"),0":">",'"':""","'":"'","`":"`"},/["&'<>`]/.test(e))?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&")).replace(/["'<>`]/g,function(e){return n[e]}):e}},can:{useElement:function(e){return void 0!==O.fn[e]||(w.error(f.noElement.replace("{element}",e)),!1)}},setting:function(e,t){if(w.debug("Changing setting",e,t),O.isPlainObject(e))O.extend(!0,c,e);else{if(void 0===t)return c[e];O.isPlainObject(c[e])?O.extend(!0,c[e],t):c[e]=t}},internal:function(e,t){if(O.isPlainObject(e))O.extend(!0,w,e);else{if(void 0===t)return w[e];w[e]=t}},debug:function(){!c.silent&&c.debug&&(c.performance?w.performance.log(arguments):(w.debug=Function.prototype.bind.call(console.info,console,c.name+":"),w.debug.apply(console,arguments)))},verbose:function(){!c.silent&&c.verbose&&c.debug&&(c.performance?w.performance.log(arguments):(w.verbose=Function.prototype.bind.call(console.info,console,c.name+":"),w.verbose.apply(console,arguments)))},error:function(){c.silent||(w.error=Function.prototype.bind.call(console.error,console,c.name+":"),w.error.apply(console,arguments))},performance:{log:function(e){var t,n;c.performance&&(n=(t=Date.now())-(D||t),D=t,S.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:y,"Execution Time":n})),clearTimeout(w.performance.timer),w.performance.timer=setTimeout(w.performance.display,500)},display:function(){var e=c.name+":",n=0;D=!1,clearTimeout(w.performance.timer),O.each(S,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",T&&(e+=" '"+T+"'"),0 img.image, > .image > img",icon:"> i.icon",input:'input:not([type="hidden"]), textarea, select, button, .ui.button, ui.dropdown',clickable:"a, details, .ui.accordion",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel"},fields:{class:"class",text:"text",icon:"icon",click:"click"},onShow:function(){},onVisible:function(){},onClick:function(){},onHide:function(){},onHidden:function(){},onRemove:function(){},onApprove:function(){},onDeny:function(){}},O.extend(O.easing,{easeOutBounce:function(e){var t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeOutCubic:function(e){return--e*e*e+1}})}(jQuery,window,document),function(x,e){"use strict";void 0!==e&&e.Math===Math||globalThis,x.fn.transition=function(){var m,a=x(this),r=a.selector||"",s=Date.now(),g=[],h=arguments,v=h[0],b=[].slice.call(arguments,1),y="string"==typeof v;return a.each(function(n){var l,c,t,d,i,e,o,u=x(this),f=this,p={initialize:function(){l=p.get.settings.apply(f,h),d=l.className,t=l.error,i=l.metadata,o="."+l.namespace,e="module-"+l.namespace,c=u.data(e)||p,!1===(y=y&&p.invoke(v))&&(p.verbose("Converted arguments into settings object",l),l.interval?p.delay(l.interval):p.animate(),p.instantiate())},instantiate:function(){p.verbose("Storing instance of module",p),c=p,u.data(e,c)},destroy:function(){p.verbose("Destroying previous module for",f),u.removeData(e)},refresh:function(){p.verbose("Refreshing display type on next animation"),delete p.displayType},forceRepaint:function(){p.verbose("Forcing element repaint");var e=u.parent(),t=u.next();0===t.length?u.detach().appendTo(e):u.detach().insertBefore(t)},repaint:function(){p.verbose("Repainting element");f.offsetWidth},delay:function(e){var t=(t=p.get.animationDirection())||(p.can.transition()?p.get.direction():"static");e=void 0!==e?e:l.interval,t="auto"===l.reverse&&t===d.outward||!0===l.reverse?(a.length-n)*e:n*e,p.debug("Delaying animation by",t),setTimeout(p.animate,t)},animate:function(e){if(l=e||l,p.debug("Preparing animation",l.animation),p.is.animating()){if(l.queue)return!l.allowRepeats&&p.has.direction()&&p.is.occurring()&&!0!==p.queuing?p.debug("Animation is currently occurring, preventing queueing same animation",l.animation):p.queue(l.animation),!1;if(!l.allowRepeats&&p.is.occurring())return p.debug("Animation is already occurring, will not execute repeated animation",l.animation),!1;p.debug("New animation started, completing previous early",l.animation),c.complete()}p.can.animate()?p.set.animating(l.animation):p.error(t.noAnimation,l.animation,f)},reset:function(){p.debug("Resetting animation to beginning conditions"),p.remove.animationCallbacks(),p.restore.conditions(),p.remove.animating()},queue:function(e){p.debug("Queueing animation of",e),p.queuing=!0,u.one("animationend.queue"+o,function(){p.queuing=!1,p.repaint(),p.animate.apply(this,l)})},complete:function(e){e&&e.target===f&&e.stopPropagation(),p.debug("Animation complete",l.animation),p.remove.completeCallback(),p.remove.failSafe(),p.is.looping()||(p.is.outward()?(p.verbose("Animation is outward, hiding element"),p.restore.conditions(),p.hide()):p.is.inward()?(p.verbose("Animation is inward, showing element"),p.restore.conditions(),p.show()):(p.verbose("Static animation completed"),p.restore.conditions(),l.onComplete.call(f)))},force:{visible:function(){var e=u.attr("style"),e=p.get.userStyle(e),t=p.get.displayType(),e=e+"display: "+t+" !important;",n=u[0].style.display;return!t||"none"===n&&l.skipInlineHidden||u[0].tagName.match(/(script|link|style)/i)?(p.remove.transition(),!1):(p.verbose("Overriding default display to show element",t),u.attr("style",e),!0)},hidden:function(){var e=u.attr("style"),e=void 0===e||""===e;"none"===u.css("display")||p.is.hidden()?e&&u.removeAttr("style"):(p.verbose("Overriding default display to hide element"),u.css("display","none"))}},has:{direction:function(e){var n=!1;return"string"==typeof(e=e||l.animation)&&(e=e.split(" "),x.each(e,function(e,t){t!==d.inward&&t!==d.outward||(n=!0)})),n},inlineDisplay:function(){var e=u.attr("style")||"";return Array.isArray(e.match(/display.*?;/,""))}},set:{animating:function(e){p.remove.completeCallback(),e=e||l.animation;e=p.get.animationClass(e);p.save.animation(e),p.force.visible()&&(p.remove.hidden(),p.remove.direction(),p.start.animation(e))},duration:function(e,t){!(t="number"==typeof(t=t||l.duration)?t+"ms":t)&&0!==t||(p.verbose("Setting animation duration",t),u.css({"animation-duration":t}))},direction:function(e){(e=e||p.get.direction())===d.inward?p.set.inward():p.set.outward()},looping:function(){p.debug("Transition set to loop"),u.addClass(d.looping)},hidden:function(){u.addClass(d.transition).addClass(d.hidden)},inward:function(){p.debug("Setting direction to inward"),u.removeClass(d.outward).addClass(d.inward)},outward:function(){p.debug("Setting direction to outward"),u.removeClass(d.inward).addClass(d.outward)},visible:function(){u.addClass(d.transition).addClass(d.visible)}},start:{animation:function(e){e=e||p.get.animationClass(),p.debug("Starting tween",e),u.addClass(e).one("animationend.complete"+o,p.complete),l.useFailSafe&&p.add.failSafe(),p.set.duration(l.duration),l.onStart.call(f)}},save:{animation:function(e){p.cache||(p.cache={}),p.cache.animation=e},displayType:function(e){"none"!==e&&u.data(i.displayType,e)},transitionExists:function(e,t){x.fn.transition.exists[e]=t,p.verbose("Saving existence of transition",e,t)}},restore:{conditions:function(){var e=p.get.currentAnimation();e&&(u.removeClass(e),p.verbose("Removing animation class",p.cache)),p.remove.duration()}},add:{failSafe:function(){var e=p.get.duration();p.timer=setTimeout(function(){u.triggerHandler("animationend")},e+l.failSafeDelay),p.verbose("Adding fail safe timer",p.timer)}},remove:{animating:function(){u.removeClass(d.animating)},animationCallbacks:function(){p.remove.queueCallback(),p.remove.completeCallback()},queueCallback:function(){u.off(".queue"+o)},completeCallback:function(){u.off(".complete"+o)},display:function(){u.css("display","")},direction:function(){u.removeClass(d.inward).removeClass(d.outward)},duration:function(){u.css("animation-duration","")},failSafe:function(){p.verbose("Removing fail safe timer",p.timer),p.timer&&clearTimeout(p.timer)},hidden:function(){u.removeClass(d.hidden)},visible:function(){u.removeClass(d.visible)},looping:function(){p.debug("Transitions are no longer looping"),p.is.looping()&&(p.reset(),u.removeClass(d.looping))},transition:function(){u.removeClass(d.transition).removeClass(d.visible).removeClass(d.hidden)}},get:{settings:function(e,t,n){return"object"==typeof e?x.extend(!0,{},x.fn.transition.settings,e):"function"==typeof n?x.extend({},x.fn.transition.settings,{animation:e,onComplete:n,duration:t}):"string"==typeof t||"number"==typeof t?x.extend({},x.fn.transition.settings,{animation:e,duration:t}):"object"==typeof t?x.extend({},x.fn.transition.settings,t,{animation:e}):"function"==typeof t?x.extend({},x.fn.transition.settings,{animation:e,onComplete:t}):x.extend({},x.fn.transition.settings,{animation:e})},animationClass:function(e){var e=e||l.animation,t=p.can.transition()&&!p.has.direction()?p.get.direction()+" ":"";return d.animating+" "+d.transition+" "+t+e},currentAnimation:function(){return!(!p.cache||void 0===p.cache.animation)&&p.cache.animation},currentDirection:function(){return p.is.inward()?d.inward:d.outward},direction:function(){return p.is.hidden()||!p.is.visible()?d.inward:d.outward},animationDirection:function(e){var n;return"string"==typeof(e=e||l.animation)&&(e=e.split(" "),x.each(e,function(e,t){t===d.inward?n=d.inward:t===d.outward&&(n=d.outward)})),n||!1},duration:function(e){return"string"==typeof(e=!1===(e=e||l.duration)?u.css("animation-duration")||0:e)?-1 ").addClass(e).insertAfter(u)).addClass(a).removeClass(d.inward).removeClass(d.outward).addClass(d.animating).addClass(d.transition).css("animationName"),t.detach().insertAfter(u),i=t.addClass(d.inward).css("animationName"),s||(t.detach().insertAfter(u),s=t.attr("class",e).removeAttr("style").removeClass(d.hidden).removeClass(d.visible).show().css("display"),p.verbose("Determining final display state",s),p.save.displayType(s)),t.remove(),n!==i)p.debug("Direction exists for animation",a),o=!0;else{if("none"===n||!n)return void p.debug("No animation defined in css",a);p.debug("Static animation found",a,s),o=!1}p.save.transitionExists(a,o)}return void 0!==r?r:o},animate:function(){return void 0!==p.can.transition()}},is:{animating:function(){return u.hasClass(d.animating)},inward:function(){return u.hasClass(d.inward)},outward:function(){return u.hasClass(d.outward)},looping:function(){return u.hasClass(d.looping)},occurring:function(e){return e="."+(e=e||l.animation).replace(" ","."),0