PageSourceSearch

https://earsc-portal.eu/s/b79b8e1a9683263860c41cecdaf52409-CDN/36n….component.form.date-select.js?locale=en-US

js earsc-portal.eu collected 2026-09-28 23:55:25 UTC 7,313 bytes, 6 lines download raw bytes

1WRMCB=function(e){var c=console;if(c&&c.log&&c.error){c.log('Error running batched script.');c.error(e);}}
2;
3try {
4/* module-key = 'com.atlassian.auiplugin:split_aui.component.form.date-select', location = 'aui.chunk.4dbe2dc39b10f63f2c95--d2db90aacb3844b13815.js' */
5(window.__auiJsonp=window.__auiJsonp||[]).push([["aui.component.form.date-select"],{cQgS:function(e,t,a){"use strict";a.r(t),a.d(t,"DatePicker",(function(){return x}));a("6fSn"),a("Rvtc");var i=a("+x/D"),n=a("O/HO"),o=a.n(n),s=a("JFi+"),r=a("cWqH"),d=a("KloK"),l=a("+ay7"),c=a("HH5i"),u=a("P3bb"),p=a("OEua"),f=e=>{var t=e.dateFormat,a=e.$field,i=e.onSelect,n=e.hide,o=e.onChangeMonthYear;return{dateFormat:t,defaultDate:a.val(),maxDate:a.attr("max"),minDate:a.attr("min"),nextText:">",onSelect:function(e){a.val(e),a.trigger("change"),n(),i&&i.call(this,e)},onChangeMonthYear:o,prevText:"<"}},h=(e,t)=>{var a,n,o,s=!1,r=Object(i.default)("body"),d=t=>{var a=Object(i.default)(t.target),o=a.closest(n).length||a.is(e),r=a.closest(".ui-datepicker-header").length;if(!o&&!r||t.keyCode===l.default.ESCAPE)return h(),void(s=!1);a.get(0)!==e.get(0)&&t.preventDefault()},c=()=>{s||(r.on("focus blur click mousedown","*",d),s=!0)},p=()=>{a.get(0).open||f()},f=()=>{a.get(0).open=!0},h=()=>{a.get(0).open=!1};return{calendarContainerSelector:null,getPopupContents:e=>{var l=e.$field;return a=(e=>{var t=e.horizontalAlignment,a=e.datePickerUUID,n=new u.default;n.id=a;var o=Object(i.default)(n);return o.attr("persistent",""),o.attr("data-aui-focus","false"),o.attr("alignment",`bottom ${t}`),o.addClass("aui-datepicker-dialog"),o})({horizontalAlignment:(e=>e.offset().left<window.innerWidth/2?"left":"right")(l),datePickerUUID:t}),(o=l.closest("aui-inline-dialog").get(0))&&(o._datePickerPopup=a,Object(i.default)(o).on("aui-hide",(e=>{s&&e.preventDefault(),r.off("focus blur","*",d),o&&o._datePickerPopup&&delete o._datePickerPopup}))),r.append(a),n=a,a},handleFieldFocus:p,showDatePicker:f,hideDatePicker:h,handleChangeMonthYear:()=>{setTimeout(a.refresh,0)},getCalendarNode:()=>a.get(0).childNodes[0],destroyPolyfill:()=>{h(),e.off("focus click",p),e.off("focusout keydown",c),r.off("keydown",c),r.off("focus blur click mousedown keydown",d)},createPolyfill:function(){r.on("keydown",d),e.on("focusout keydown",c)}}},k=function(e){var t,a,n=e.getField(),o=e.getOptions(),r=e.getUUID(),d=h(n,r),l=d.getPopupContents,c=d.handleFieldFocus,u=d.showDatePicker,p=d.hideDatePicker,k=d.handleChangeMonthYear,y=d.getCalendarNode,m=d.destroyPolyfill,b=d.createPolyfill,x=e=>{Object(i.default)(e.currentTarget).val()&&t.datepicker("setDate",n.val())},j=n.attr("placeholder"),v=n.prop("type"),T=e=>a=>{if(void 0!==t)return e(a)},I=T((()=>{t.datepicker("destroy")}));e.show=u,e.hide=p,e.destroyPolyfill=()=>{m(),n.off("propertychange keyup input paste",x),a&&(a.disconnect(),a=null),j&&n.attr("placeholder",j),v&&n.prop("type",v),n.removeAttr("data-aui-dp-uuid"),I(),delete e.destroyPolyfill,delete e.show,delete e.hide},e.setDate=T((e=>{t.datepicker("setDate",e)})),e.getDate=T((()=>t.datepicker("getDate"))),e.setMin=T((e=>t.datepicker("option","minDate",e))),e.setMax=T((e=>t.datepicker("option","maxDate",e))),o.languageCode in g.prototype.localisations||(o.languageCode="");var D=g.prototype.localisations;if(n.attr("aria-controls",r),void 0===t){void 0!==n.attr("step")&&s.log("WARNING: The date picker polyfill currently does not support the step attribute!");var w=f({dateFormat:o.dateFormat,$field:n,onSelect:o.onSelect,hide:e.hide,onChangeMonthYear:k}),P=i.default.extend(void 0,w,D);o.firstDay>-1&&(P.firstDay=o.firstDay),t=(e=>{var t,a=e.config,n=e.popupContents,o=e.getCalendarNode,s=e.hint,r=Object(i.default)(o());return r.datepicker(a),s&&((t=Object(i.default)("<div/>").addClass("aui-datepicker-hint")).append("<span/>").text(s),n.append(t)),r})({config:P,popupContents:l({$field:n}),getCalendarNode:y,hint:o.hint}),b(),n.on("propertychange keyup input paste",x),(a=new MutationObserver((function(t){t.forEach((function(t){"min"===t.attributeName?e.setMin(t.target.getAttribute("min")):"max"===t.attributeName&&e.setMax(t.target.getAttribute("max"))}))}))).observe(n.get(0),{attributes:!0})}n.on("focus click",c),n.attr("placeholder",o.placeholder),n.prop("type","text"),n.val(n.attr("value")),n.trigger("propertychange"),n.attr("data-aui-dp-uuid",r)};function g(e,t){var a={},n=Object(p.default)("date-picker"),o=Object(i.default)(e),s={getUUID:()=>n,getField:()=>o,getOptions:()=>a,destroy:()=>{"function"==typeof s.destroyPolyfill&&s.destroyPolyfill()},reset:()=>{s.destroy();
5var e=!g.prototype.browserSupportsDateField,t=!1!==a.overrideBrowserDefault;(e||t)&&k(s)},reconfigure:e=>{a=i.default.extend(void 0,g.prototype.defaultOptions,e),s.reset()}};return s.reconfigure(t),s}function y(e,t){var a=i.default.extend({nextText:">",prevText:"<"},t),n=Object(i.default)(e).addClass("aui-datepicker-dialog").addClass("aui-calendar-widget").datepicker(a);if(a.hint){var o=Object(i.default)("<div/>").addClass("aui-datepicker-hint");o.append("<span/>").text(a.hint),n.append(o)}return n.reconfigure=e=>{n.datepicker("destroy"),n.datepicker(e)},n.destroy=()=>{n.datepicker("destroy")},n}g.prototype.browserSupportsDateField=Object(r.supportsDateField)(),g.prototype.defaultOptions={overrideBrowserDefault:!1,firstDay:-1,languageCode:Object(i.default)("html").attr("lang")||"en-AU",dateFormat:o.a.W3C},g.prototype.localisations={dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesMin:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],firstDay:"0",isRTL:"true"==="false",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],showMonthAfterYear:"true"==="false",yearSuffix:""};var m="aui-datepicker",b=e=>function(t){var a=this.data(m);return a?"object"==typeof t?a.reconfigure(t):"destroy"===t&&a.destroy():(a=new e(this,t),this.data(m,a)),a};i.default.fn.datePicker=b(g),Object(d.default)("DatePicker",g),i.default.fn.calendarWidget=b(y),Object(d.default)("CalendarWidget",y);var x=g}},[["cQgS","runtime","aui.splitchunk.vendors--894c8113d9","aui.splitchunk.vendors--20a97d6a33","aui.splitchunk.vendors--084821f40b","aui.splitchunk.vendors--02a4084a95","aui.splitchunk.vendors--ec56cc9135","aui.splitchunk.0d131bcbf1","aui.splitchunk.fbbef27525","aui.splitchunk.444efc83be","aui.splitchunk.739b9ec8cc","aui.splitchunk.056561461c","aui.splitchunk.949297951c","aui.splitchunk.dd803a46b4","aui.splitchunk.994e478d48","aui.splitchunk.d7c46c2734","aui.splitchunk.e54c7c7304","aui.splitchunk.fb15cffa72","aui.splitchunk.56dfb54d0c","aui.splitchunk.f1e06f97a4","aui.splitchunk.479fe6ee76","aui.splitchunk.f673ef53ac","aui.splitchunk.8659b532c1","aui.splitchunk.908fe798b4","aui.splitchunk.5f851f97df","aui.splitchunk.462ee5f9ef","aui.splitchunk.d0110a864f","aui.splitchunk.afa5039e04","aui.splitchunk.bff3715233","aui.splitchunk.26116b3cbd","aui.splitchunk.c750721820","aui.splitchunk.6d6f245ed3","aui.splitchunk.50dca3e042","aui.splitchunk.084821f40b","aui.splitchunk.5b8c290363","aui.splitchunk.baa83dbaf9","aui.splitchunk.e5af17b48e","aui.splitchunk.f154095da3","aui.splitchunk.36cd9d521c","aui.splitchunk.d925afe2c0","aui.splitchunk.5b7fdbd666","aui.splitchunk.8a641c03a4","aui.splitchunk.d727dd207f","aui.splitchunk.543254b237"]]]);
6}catch(e){WRMCB(e)};

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.