PageSourceSearch

https://static.cognitoforms.com/app/1700.35867d2bda319e1c.js

js cognitoforms.com collected 2026-09-24 07:21:11 UTC 28,396 bytes, 2 lines download raw bytes

1(self.rspackChunkcognito_spa=self.rspackChunkcognito_spa||[]).push([[1700],{25787(){!function(t,e,i){"use strict";var s=function(e,i){this.widget="",this.$element=t(e),this.defaultTime=i.defaultTime,this.disableFocus=i.disableFocus,this.isOpen=i.isOpen,this.minuteStep=i.minuteStep,this.modalBackdrop=i.modalBackdrop,this.secondStep=i.secondStep,this.showInputs=i.showInputs,this.showMeridian=i.showMeridian,this.timeSeparator=i.timeSeparator,this.showMeridian&&(this.AMDesignator=i.AMDesignator,this.PMDesignator=i.PMDesignator),this.showSeconds=i.showSeconds,this.template=i.template,this.appendWidgetTo=i.appendWidgetTo,this.twoDigitHourFormat=i.twoDigitHourFormat,this._init()};s.prototype={constructor:s,_init:function(){var e=this;this.$element.parent().hasClass("c-editor-time")?(this.$element.parent(".c-editor-time").parent().find(".c-editor-time-icon").on({"click.timepicker":t.proxy(this.toggleWidget,this)}),this.$element.on({"focus.timepicker":t.proxy(function(t){this.$element.is(".icon-picker-only, .suppress-picker")||this.showOrHighlight(t)},this),"click.timepicker":t.proxy(function(t){this.$element.is(".icon-picker-only")||this.showOrHighlight(t)},this),"keydown.timepicker":t.proxy(this.elementKeydown,this),"blur.timepicker":t.proxy(this.blurElement,this)})):this.template?this.$element.on({"focus.timepicker":t.proxy(this.toggleWidget,this),"click.timepicker":t.proxy(this.toggleWidget,this),"blur.timepicker":t.proxy(this.blurElement,this)}):this.$element.on({"focus.timepicker":t.proxy(this.showOrHighlight,this),"click.timepicker":t.proxy(this.showOrHighlight,this),"keydown.timepicker":t.proxy(this.elementKeydown,this),"blur.timepicker":t.proxy(this.blurElement,this)}),!1!==this.template?this.$widget=t(this.getTemplate()).appendTo("body").on("click",t.proxy(this.widgetClick,this)):this.$widget=!1,this.showInputs&&!1!==this.$widget&&this.$widget.find("input").each(function(){t(this).on({"click.timepicker":function(){t(this).select()},"keydown.timepicker":t.proxy(e.widgetKeydown,e),"change.timepicker":t.proxy(e.updateFromWidgetInputs,e),"input.timepicker":function(){e.widgetModified=!0}})}),this.setDefaultTime(this.defaultTime)},blurElement:function(){this.highlightedUnit=void 0,this.updateFromElementVal()},decrementHour:function(){if(this.showMeridian)if(1===this.hour)this.hour=12;else{if(12===this.hour)return this.hour--,this.toggleMeridian();if(0===this.hour)return this.hour=11,this.toggleMeridian();this.hour--}else 0===this.hour?this.hour=23:this.hour--;this.update()},decrementMinute:function(t){var e;(e=t?this.minute-t:this.minute-this.minuteStep)<0?(this.decrementHour(),this.minute=e+60):this.minute=e,this.update()},decrementSecond:function(){var t=this.second-this.secondStep;t<0?(this.decrementMinute(!0),this.second=t+60):this.second=t,this.update()},elementKeydown:function(t){switch(t.keyCode){case 9:if(this.updateFromElementVal(),this.$element.val())if(t.shiftKey)"hour"===this.highlightedUnit?this.hideWidget():(t.preventDefault(),this.highlightPrevUnit());else switch(this.highlightedUnit){case"hour":t.preventDefault(),this.highlightNextUnit();break;case"minute":this.showMeridian||this.showSeconds?(t.preventDefault(),this.highlightNextUnit()):this.hideWidget();break;case"second":this.showMeridian?(t.preventDefault(),this.highlightNextUnit()):this.hideWidget();break;default:this.hideWidget()}else this.hideWidget();break;case 13:t.preventDefault(),this.updateFromElementVal(),this.isOpen&&(t.stopPropagation(),this.hideWidget());break;case 27:this.updateFromElementVal(),this.hideWidget();break;case 37:if(t.preventDefault(),this.isOpen&&t.stopPropagation(),!this.$element.val())break;this.highlightedUnit?(this.highlightPrevUnit(),this.updateFromElementVal()):this.highlightUnit();break;case 38:if(t.preventDefault(),this.isOpen){if(t.stopPropagation(),t.altKey)return this.hideWidget()}else break;switch(this.highlightedUnit){case"hour":this.incrementHour(),this.highlightHour();break;case"minute":this.incrementMinute(),this.highlightMinute();break;case"second":this.incrementSecond(),this.highlightSecond();break;case"meridian":this.toggleMeridian(),this.highlightMeridian()}break;case 39:if(t.preventDefault(),this.isOpen&&t.stopPropagation(),!this.$element.val())break;this.highlightedUnit?(this.updateFromElementVal(),this.highlightNextUnit()):this.highlightUnit();break;case 40:if(t.preventDefault(),!this.isOpen&&t.altKey){this.showWidget(),t.stopPropagation();break}if(this.isOpen)t.stopPropagation();else break;switch(this.highlightedUnit){case"hour":this.decrementHour(),this.highlightHour();break;case"minute":this.decrementMinute(),this.highlightMinute();break;case"second":this.decrementSecond(),this.highlightSecond();break;case"meridian":this.toggleMeridian(),this.highlightMeridian()}}}
1,formatTime:function(t,e,i,s){return t=this.twoDigitHourFormat&t<10?"0"+t:t,e=e<10?"0"+e:e,i=i<10?"0"+i:i,t+this.timeSeparator+e+(this.showSeconds?this.timeSeparator+i:"")+(this.showMeridian?" "+s:"")},getCursorPosition:function(){var t=this.$element.get(0);if("selectionStart"in t)return t.selectionStart;if(i.selection){t.focus();var e=i.selection.createRange(),s=i.selection.createRange().text.length;return e.moveStart("character",-t.value.length),e.text.length-s}},getTemplate:function(){var t,e,i,s,n,h;switch(this.showInputs?(e='<input type="text" name="hour" class="cognito-timepicker-hour" maxlength="2"/>',i='<input type="text" name="minute" class="cognito-timepicker-minute" maxlength="2"/>',s='<input type="text" name="second" class="cognito-timepicker-second" maxlength="2"/>',n='<input type="text" name="meridian" class="cognito-timepicker-meridian" maxlength="2"/>'):(e='<span class="cognito-timepicker-hour"></span>',i='<span class="cognito-timepicker-minute"></span>',s='<span class="cognito-timepicker-second"></span>',n='<span class="cognito-timepicker-meridian"></span>'),h='<table><tr><td><a href="#" data-action="incrementHour"><i class="icon-chevron-up"></i></a></td><td class="separator">&nbsp;</td><td><a href="#" data-action="incrementMinute"><i class="icon-chevron-up"></i></a></td>'+(this.showSeconds?'<td class="separator">&nbsp;</td><td><a href="#" data-action="incrementSecond"><i class="icon-chevron-up"></i></a></td>':"")+(this.showMeridian?'<td class="separator">&nbsp;</td><td class="meridian-column"><a href="#" data-action="toggleMeridian"><i class="icon-chevron-up"></i></a></td>':"")+"</tr><tr><td>"+e+'</td> <td class="separator">'+this.timeSeparator+"</td><td>"+i+"</td> "+(this.showSeconds?'<td class="separator">'+this.timeSeparator+"</td><td>"+s+"</td>":"")+(this.showMeridian?'<td class="separator">&nbsp;</td><td>'+n+"</td>":"")+'</tr><tr><td><a href="#" data-action="decrementHour"><i class="icon-chevron-down"></i></a></td><td class="separator"></td><td><a href="#" data-action="decrementMinute"><i class="icon-chevron-down"></i></a></td>'+(this.showSeconds?'<td class="separator">&nbsp;</td><td><a href="#" data-action="decrementSecond"><i class="icon-chevron-down"></i></a></td>':"")+(this.showMeridian?'<td class="separator">&nbsp;</td><td><a href="#" data-action="toggleMeridian"><i class="icon-chevron-down"></i></a></td>':"")+"</tr></table>",this.template){case"modal":t='<div class="cognito-timepicker-widget modal hide fade in" data-backdrop="'+(this.modalBackdrop?"true":"false")+'"><div class="modal-header"><a href="#" class="close" data-dismiss="modal">\xd7</a><h3>Pick a Time</h3></div><div class="modal-content">'+h+'</div><div class="modal-footer"><a href="#" class="btn btn-primary" data-dismiss="modal">OK</a></div></div>';break;case"dropdown":t='<div class="cognito-timepicker-widget cognito-dropdown-menu">'+h+"</div>"}return t},getTime:function(){return this.formatTime(this.hour,this.minute,this.second,this.meridian)},hideWidget:function(){!1!==this.isOpen&&(this.showInputs&&!1!==this.$widget&&this.widgetModified&&this.updateFromWidgetInputs(),this.$element.trigger({type:"hide.timepicker",time:{value:this.getTime(),hours:this.hour,minutes:this.minute,seconds:this.second,meridian:this.meridian}}),"modal"===this.template&&this.$widget.modal?this.$widget.modal("hide"):this.$widget.removeClass("open"),t(i).off("mousedown.timepicker"),t(i).off("resize.timepicker"),this.isOpen=!1)},showOrHighlight:function(){this.isOpen||this.showWidget(),this.highlightUnit()},highlightUnit:function(){this.position=this.getCursorPosition(),this.position>=0&&this.position<=2?this.highlightHour():this.position>=3&&this.position<=5?this.highlightMinute():this.position>=6&&this.position<=8?this.showSeconds?this.highlightSecond():this.highlightMeridian():this.position>=9&&this.position<=11&&this.highlightMeridian()},highlightNextUnit:function(){switch(this.highlightedUnit){case"hour":this.highlightMinute();break;case"minute":this.showSeconds?this.highlightSecond():this.showMeridian&&this.highlightMeridian();break;case"second":this.showMeridian&&this.highlightMeridian()}},highlightPrevUnit:function(){switch(this.highlightedUnit){case"minute":this.highlightHour();break;case"second":this.highlightMinute();break;case"meridian":this.showSeconds?this.highlightSecond():this.highlightMinute()}},highlightElement:function(e,i){var s=this.$element.get(0),n=!this.twoDigitHourFormat&&this.hour<10?-1:0;e=e+n<0?0:e+n,i=i+n>t(s).val().length?t(s).val().length:i+n,s.setSelectionRange&&setTimeout(function(){s.setSelectionRange(e,i)},0)},highlightHour:function(){this.highlightedUnit="hour",this.highlightElement(0,2)},highlightMinute:function(){this.highlightedUnit="minute",this.highlightElement(3,5)},highlightSecond:function(){this.highlightedUnit="second",this.highlightElement(6,8)},highlightMeridian:function(){this.highlightedUnit="meridian",this.showSeconds?this.highlightElement(9,11):this.highlightElement(6,8)},incrementHour:function(){if(this.showMeridian)if(11===this.hour)return this.hour++,this.toggleMeridian();else 12===this.hour&&(this.hour=0);23===this.hour?this.hour=0:this.hour++,this.update()},incrementMinute:function(t){var e;(e=t?this.minute+t:this.minute+this.minuteStep-this.minute%this.minuteStep)>59?(this.incrementHour(),this.minute=e-60):this.minute=e,this.update()},incrementSecond:function(){var t=this.second+this.secondStep-this.second%this.secondStep;t>59?(this.incrementMinute(!0),this.second=t-60):this.second=t,this.update()},remove:function(){t("document").off(".timepicker"),this.$widget&&this.$widget.remove(),delete this.$element.data().timepicker},setDefaultTime:function(t){if(this.$element.val())this.updateFromElementVal();else if("current"===t){var e=new Date,i=e.getHours(),s=Math.floor(e.getMinutes()/this.minuteStep)*this.minuteStep,n=Math.floor(e.getSeconds()/this.secondStep)*this.secondStep,h=this.AMDesignator;this.showMeridian&&(0===i?i=12:i>=12?(i>12&&(i-=12),h=this.PMDesignator):h=this.AMDesignator),this.hour=i,this.minute=s,this.second=n,this.meridian=h}else!1===t?(this.hour=0,this.minute=0,this.second=0,this.meridian=this.AMDesignator):this.setTime(t)},setTime:function(t){var e;this.showMeridian?(e=t.split(" ")[0].split(this.timeSeparator),this.meridian=t.substr(t.indexOf(" ")+1)):e=t.split(this.timeSeparator),this.hour=parseInt(e[0],10),this.minute=parseInt(e[1],10),this.second=parseInt(e[2],10),isNaN(this.hour)&&(this.hour=0),isNaN(this.minute)&&(this.minute=0),this.showMeridian?(this.hour>12?this.hour=12:this.hour<1&&(this.hour=12),this.meridian.toUpperCase()!==this.AMDesignator.toUpperCase()&&this.meridian.toUpperCase()!==this.PMDesignator.toUpperCase()&&(this.meridian=this.AMDesignator)):this.hour>=24?this.hour=23:this.hour<0&&(this.hour=0),this.minute<0?this.minute=0:this.minute>=60&&(this.minute=59),this.showSeconds&&(isNaN(this.second)||this.second<0?this.second=0:this.second>=60&&(this.second=59)),this.update()},place:function(){var i,s=t(e).scrollTop();this.$widget.width();var n=this.$widget.height();t(e).width();var h=t(e).height(),o=this.$element.offset(),r=this.$element.outerHeight(!1);this.$element.outerWidth(!1);var a=o.top,d=o.left;this.$widget.removeClass("cognito-timepicker-orient-top cognito-timepicker-orient-bottom");var c=-s+o.top-n,u=s+h-(o.top+r+n);i=Math.max(c,u)===u?"top":"bottom",this.$widget.addClass("cognito-timepicker-orient-"+i),"top"===i?a+=r+6:a-=n+parseInt(this.$widget.css("padding-top"))+8,this.$widget.css({top:a,left:d})},toggleWidget:function(){!0===this.isOpen?this.hideWidget():this.showWidget()},showWidget:function(){if(!this.isOpen&&!this.$element.is(":disabled")){this.widgetModified=!1,(""===this.$element.val()||this.getTime()=="0"+this.timeSeparator+"00 "+this.AMDesignator)&&this.setDefaultTime(this.defaultTime),this.updateWidget(),this.place();var e=this;t(i).on("mousedown.timepicker",function(i){0!==t(i.target).closest(".cognito-timepicker-widget").length||(e.$element.is(i.target)||i.target.className.indexOf("c-editor-time")>-1||i.target.className.indexOf("icon-time")>-1||i.target.className.indexOf("time-icon")>-1)&&t(i.target).parents(".c-date-time")[0]===t(e.$element).parents(".c-date-time")[0]||e.hideWidget()}),t(i).on("resize.timepicker",function(t){e.place()}),this.$element.trigger({type:"show.timepicker",time:{value:this.getTime(),hours:this.hour,minutes:this.minute,seconds:this.second,meridian:this.meridian}}),this.disableFocus&&this.$element.blur(),this.updateFromElementVal(),"modal"===this.template&&this.$widget.modal?this.$widget.modal("show").on("hidden",t.proxy(this.hideWidget,this)):!1===this.isOpen&&this.$widget.addClass("open"),this.isOpen=!0}},toggleMeridian:function(){this.meridian=this.meridian===this.AMDesignator?this.PMDesignator:this.AMDesignator,this.update()},update:function(){this.updateElement(),this.$element.trigger({type:"changeTime.timepicker",time:{value:this.getTime(),hours:this.hour,minutes:this.minute,seconds:this.second,meridian:this.meridian}}),this.updateWidget()},updateElement:function(){this.$element.val(this.getTime()).change()},updateFromElementVal:function(){var t=this.$element.val();t&&this.setTime(t)},updateWidget:function(){if(!1!==this.$widget){var t=this.hour<10?"0"+this.hour:this.hour,e=this.minute<10?"0"+this.minute:this.minute,i=this.second<10?"0"+this.second:this.second;this.showInputs?(this.$widget.find("input.cognito-timepicker-hour").val(t),this.$widget.find("input.cognito-timepicker-minute").val(e),this.showSeconds&&this.$widget.find("input.cognito-timepicker-second").val(i),this.showMeridian&&this.$widget.find("input.cognito-timepicker-meridian").val(this.meridian)):(this.$widget.find("span.cognito-timepicker-hour").text(t),this.$widget.find("span.cognito-timepicker-minute").text(e),this.showSeconds&&this.$widget.find("span.cognito-timepicker-second").text(i),this.showMeridian&&this.$widget.find("span.cognito-timepicker-meridian").text(this.meridian))}}
1,updateFromWidgetInputs:function(){if(!1!==this.$widget){var e=t("input.cognito-timepicker-hour",this.$widget).val()+this.timeSeparator+t("input.cognito-timepicker-minute",this.$widget).val()+(this.showSeconds?this.timeSeparator+t("input.cognito-timepicker-second",this.$widget).val():"")+(this.showMeridian?" "+t("input.cognito-timepicker-meridian",this.$widget).val():"");this.setTime(e)}},widgetClick:function(e){e.stopPropagation(),e.preventDefault();var i=t(e.target).closest("a").data("action");i&&this[i]()},widgetKeydown:function(e){var i=t(e.target).closest("input").attr("name");switch(e.keyCode){case 9:if(this.showMeridian){if("meridian"===i)return this.hideWidget()}else if(this.showSeconds){if("second"===i)return this.hideWidget()}else if("minute"===i)return this.hideWidget();this.updateFromWidgetInputs();break;case 27:this.hideWidget();break;case 38:switch(e.preventDefault(),i){case"hour":this.incrementHour();break;case"minute":this.incrementMinute();break;case"second":this.incrementSecond();break;case"meridian":this.toggleMeridian()}break;case 40:switch(e.preventDefault(),i){case"hour":this.decrementHour();break;case"minute":this.decrementMinute();break;case"second":this.decrementSecond();break;case"meridian":this.toggleMeridian()}}}},t.fn.timepicker=function(e){var i=Array.apply(null,arguments);return i.shift(),this.each(function(){var n=t(this),h=n.data("timepicker");h||n.data("timepicker",h=new s(this,t.extend({},t.fn.timepicker.defaults,"object"==typeof e&&e,t(this).data()))),"string"==typeof e&&h[e].apply(h,i)})},t.fn.timepicker.defaults={defaultTime:"current",disableFocus:!1,isOpen:!1,minuteStep:15,modalBackdrop:!1,secondStep:15,showSeconds:!1,showInputs:!0,showMeridian:!0,template:"dropdown",appendWidgetTo:".cognito-timepicker",timeSeparator:":",AMDesignator:"AM",PMDesignator:"PM",twoDigitHourFormat:!1},t.fn.timepicker.Constructor=s}(jQuery,window,document)},52843(){!function(t){"use strict";var e=function(e,i){this.$element=t(e),this.options=t.extend({},t.fn.typeahead.defaults,i),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.source=this.options.source||t.map(this.$element[0].__msajaxbindings[0]._source.get_options(),function(t,e){return t.get_displayValue()}),this.$menu=t(this.options.menu),this.shown=!1,this.listen()};e.prototype={constructor:e,select:function(){var t=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(t)).change(),$simulateMutationEvent(this.$element.get(0),"change",!1,!0),this.hide()},updater:function(t){return t},show:function(){var e=t.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});this.$menu.insertAfter(this.$element).css({top:e.top+e.height,left:e.left}).show();var i=this.$element.closest(".c-forms-pages");if(i.length){var s=this.$menu.get(0).offsetHeight,n=i.get(0).offsetHeight-(e.top+e.height);s>n&&this.$menu.css({height:n,overflow:"auto"})}var h=this.$menu.closest(".c-modal.c-expression-builder-dialog--is-advanced");if(h.length){var o=this.$menu.height(),r=h.height()+h.offset().top-this.$menu.offset().top;r<o&&this.$menu.css({height:r})}return this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(e){var i;return(this.query=this.$element.val(),!this.query||this.query.length<this.options.minLength)?this.shown?this.hide():this:(i=t.isFunction(this.source)?this.source(this.query,t.proxy(this.process,this)):this.source)?this.process(i):this},process:function(e){var i=this;return(e=t.grep(e,function(t){return i.matcher(t)}),(e=this.sorter(e)).length)?this.render(e.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(t){return~t.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(t){for(var e,i=[],s=[],n=[];e=t.shift();)e.toLowerCase().indexOf(this.query.toLowerCase())?~e.indexOf(this.query)?s.push(e):n.push(e):i.push(e);return i.concat(s,n)},highlighter:function(t){var e=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return t.replace(RegExp("("+e+")","ig"),function(t,e){return"<strong>"+e+"</strong>"})},render:function(e){var i=this;return(e=t(e).map(function(e,s){return(e=t(i.options.item).attr("data-value",s)).find("a").html(i.highlighter(s)),e[0]})).first().addClass("active"),this.$menu.html(e),this},next:function(e){var i=this.$menu.find(".active").removeClass("active").next();i.length||(i=t(this.$menu.find("li")[0])),i.addClass("active");var s=parseInt(i.attr("data-index")),n=(s+1)*26;0==s?this.$menu.scrollTop(0):n>this.$menu.height()+this.$menu.scrollTop()&&this.$menu.scrollTop(n-this.$menu.height())},prev:function(t){var e=this.$menu.find(".active").removeClass("active").prev(),i=!1;e.length||(e=this.$menu.find("li").last(),i=!0),e.addClass("active");var s=26*parseInt(e.attr("data-index"));i?this.$menu.scrollTop(s):s<this.$menu.scrollTop()&&this.$menu.scrollTop(s)},listen:function(){this.$element.on("focus",t.proxy(this.focus,this)).on("blur",t.proxy(this.blur,this)).on("keyup",t.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("key
1down",t.proxy(this.keydown,this)),this.$menu.on("click",t.proxy(this.click,this)).on("mouseenter","li",t.proxy(this.mouseenter,this)).on("mouseleave","li",t.proxy(this.mouseleave,this)).on("mouseenter",t.proxy(this.mouseentermenu,this)).on("mouseleave",t.proxy(this.mouseleavemenu,this)).on("mouseup",t.proxy(this.mouseup,this))},eventSupported:function(t){var e=t in this.$element;return e||(this.$element.setAttribute(t,"return;"),e="function"==typeof this.$element[t]),e},move:function(t){if(this.shown){switch(t.keyCode){case 9:case 13:case 27:t.preventDefault();break;case 38:t.preventDefault(),this.prev();break;case 40:t.preventDefault(),this.next()}t.stopPropagation()}},keydown:function(e){this.suppressKeyPressRepeat=~t.inArray(e.keyCode,[40,38,9,13,27]),this.move(e)},keyup:function(t){switch(t.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}t.stopPropagation(),t.preventDefault()},focus:function(t){this.focused=!0},blur:function(t){this.focused=!1,!this.mousedovermenu&&this.shown&&this.hide()},click:function(t){t.stopPropagation(),t.preventDefault(),this.select(),this.$element.focus()},mouseenter:function(e){this.mousedover=!0,this.$menu.find(".active").removeClass("active"),t(e.currentTarget).addClass("active")},mouseleave:function(t){this.mousedover=!1},mouseentermenu:function(t){this.mousedovermenu=!0},mouseleavemenu:function(t){this.mousedovermenu=!1},mouseup:function(t){var e=this.$menu.find(".active");this.mousedovermenu&&!this.mousedover&&(this.focusItem=e,this.$element.focus())}};var i=t.fn.typeahead;t.fn.typeahead=function(i){return this.each(function(){var s=t(this),n=s.data("typeahead");n||s.data("typeahead",n=new e(this,"object"==typeof i&&i)),"string"==typeof i&&n[i]()})},t.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu scrollbar"></ul>',item:'<li><a href="#"></a></li>',minLength:1},t.fn.typeahead.Constructor=e,t.fn.typeahead.noConflict=function(){return t.fn.typeahead=i,this},t(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(e){var i=t(this);i.data("typeahead")||i.typeahead(i.data())})}(jQuery),function(t){"use strict";t.extend(t.fn.typeahead.Constructor.prototype,{lookup:function(e){var i;return(this.query=this.$element.val()||"",this.query.length<this.options.minLength)?this.shown?this.hide():this:(i=t.isFunction(this.source)?this.source(this.query,t.proxy(this.process,this)):this.source)?this.process(i):this},process:function(e){var i=this;if(e=t.grep(e,function(t){return i.matcher(t)}),!(e=this.sorter(e)).length)return this.shown?this.hide():this;if(this.query.length&&(e=e.slice(0,this.options.items)),this.focusItem){this.focusItem=null;return}return this.render(e).show()},render:function(e){var i=this;if(e=t(e).map(function(e,s){var n=t(i.options.item).attr("data-value",s);return n.attr("data-index",e),n.find("a").html(i.highlighter(s)),n[0]}),this.query.length>0)if(this.focusItem)return;else e.first().addClass("active");return this.$menu.html(e),this},move:function(t){if(this.shown)switch(t.keyCode){case 9:case 13:!0===this.options.useTabToSelect?t.preventDefault():this.shown&&(this.select(),this.hide());break;case 27:t.preventDefault();break;case 38:t.preventDefault(),this.prev(),t.stopPropagation();break;case 40:t.preventDefault(),this.next(),t.stopPropagation()}},keydown:function(e){this.suppressKeyPressRepeat=~t.inArray(e.keyCode,[40,38,9,13,27]),this.move(e)},keyup:function(t){switch(t.keyCode){case 37:case 39:return;case 40:case 38:case 16:case 17:case 18:break;case 13:case 9:if(!this.shown)return;this.select(),this.show();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}t.stopPropagation(),t.preventDefault()},focus:function(t){this.focused=!0,this.mousedover||this.lookup(t)}})}(jQuery)},78460(t,e,i){"use strict";function s(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var n=new function t(){var e=this;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");s(this,"_handlers",{}),s(this,"evalPath",function(t,e){return e.split(".").reduce(function(t,e){return t[e]},t)}),s(this,"_handle",function(t){var i;try{i=JSON.parse(t.data)}catch(t){}if(i&&i.event){var s=e._handlers[i.event];
1s&&s.forEach(function(e){e.call(t,i.data)})}}),s(this,"_addDefualtEventHandler",function(){e.addHandler("proxy",function(t){e.evalPath(window,t.scope)[t.fn].apply(window,t.args)})}),s(this,"addHandler",function(t,i){return e._handlers[t]=e._handlers[t]||[],e._handlers[t].push(i),function(){return e.removeHandler(t,i)}}),s(this,"removeHandler",function(t,i){var s=e._handlers[t]||[],n=s.indexOf(i);n>=0&&s.splice(n,1)}),s(this,"trigger",function(t,e){var i={};i.event=t,e&&e.data&&(i.data=e.data);var s=e&&e.target||window.parent,n=e&&e.origin||"*";s.postMessage(JSON.stringify(i),n)}),s(this,"proxy",function(t,i){var s=function(e){return function(){for(var s=arguments.length,n=Array(s),h=0;h<s;h++)n[h]=arguments[h];this.trigger("proxy",{target:t,data:{scope:i,fn:e,args:n}})}},n=e.evalPath(t,i),h={};if("function"==typeof n||!n)return n;for(var o in n)h[o]=s(o);return h});var i=window.addEventListener?"addEventListener":"attachEvent",n=window.addEventListener?"message":"onmessage";(0,window[i])(n,this._handle,!1)};i.d(e,{},{A:n})},8595(t,e,i){"use strict";var s=i(9920);function n(t,e,i,n,h,o,r){return t.name=t.Name||e+" - [Entry.Number]",t.NameHtml=t.NameHtml||o(t.name,null,null,!1,r),t.description=function(t,e,i,n){var h=t.Description||"";if(!h)if("Custom"===t.DocumentMode)h="Custom template.";else{if(t.IncludeEntryDetails){var o=[];t.IncludeBlankFields&&o.push("blank"),t.IncludeInternalFields&&o.push("internal"),t.IncludeHiddenFields&&o.push("hidden"),e&&t.IncludeProtectedFields&&o.push("protected"),o.length>0?(t.includeFormControls&&o.splice(0,0,"form controls"),h="Details with "+(0,s.oR)(o,!0,"&")+" fields."):h="Edit"===t.DocumentMode?"Details with form controls.":"Details."}var r=[];if(t.IncludeLogo&&r.push("logo"),t.IncludeTitle&&r.push("title"),t.IncludePageNumbers&&r.push("page numbers"),i&&(t.IncludePageBreaks&&r.push("page breaks"),t.IncludePageTitles&&r.push("page titles")),n&&t.IncludePaymentDetails&&r.push("payment details"),r.length>0){var a=[];a.push(r[0][0].toUpperCase()+r[0].substring(1)),Array.prototype.push.apply(a,r.slice(1)),h+=(h.length>0?" ":"")+(0,s.oR)(a,!0,"&")+"."}h||(h="Blank document.")}return h}(t,i,n,h),t}i.d(e,{J:()=>n})},9920(t,e,i){"use strict";function s(t,e,i){return(arguments.length<3&&(i="and"),0===t.length)?"":1===t.length?t[0]:2===t.length?t[0]+" "+i+" "+t[1]:e&&!i?t.join(", "):t.slice(0,t.length-1).join(", ")+(e?", ":" ")+(i?i+" ":"")+t[t.length-1]}function n(t){var e,i;return t?null!=(e=null==(i=t.match(/(^[a-z]+|[A-Z]{2,}(?=[A-Z][a-z]|$)|[A-Z][a-z]*)/g))?void 0:i.join(" "))?e:t:t}function h(t){return t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function o(t){return t?t.replace(/\w\S*/g,function(t){return t.charAt(0).toUpperCase()+t.substring(1).toLowerCase()}):t}i.d(e,{Sn:()=>o,fX:()=>h,jm:()=>n,oR:()=>s})},17596(t,e,i){"use strict";var s=i(74061),n=i(58846),h=i(55072);let o=(0,s.defineComponent)({inheritAttrs:!0,props:{templateName:{type:String,required:!0},readyDependencies:{type:Array,required:!0},getTemplateData:{type:Function,default:null}},data:function(){return{isLoaded:!1,loaded:null,isRendered:!1,templateData:null,templateContext:null}},mounted:function(){this.loaded||this.initializeLegacyTemplate()},methods:{initializeLegacyTemplate:function(){var t=this,e=(0,h.Pz)();e.templateComponents.push(this),this.loaded=(0,n.$8)(this.templateName,this.$el).then(function(){t.isLoaded=!0}),e.ready("MsAjaxTemplate-"+Date.now(),this.readyDependencies,function(){var e=t.getTemplateData?t.getTemplateData(t):t.$attrs;(0,s.markRaw)(e);var i=window.Sys.Application.activateElement(t.$el,e,!0,!1,t);(0,s.markRaw)(i),t.templateContext=i,t.isRendered=!0})},disposeLegacyTemplate:function(){this.templateContext&&(this.templateContext.dispose(),this.templateContext=null)},reset:function(){this.disposeLegacyTemplate(),this.isLoaded=!1,this.loaded=null,this.isRendered=!1,this.templateData=null},ensureLoaded:function(){return this.loaded||this.initializeLegacyTemplate(),this.loaded}},render:function(t){return t("div")}});i.d(e,{},{A:o})}}]);
2//# sourceMappingURL=1700.35867d2bda319e1c.js.map

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.