1define("WTMControls/common",["UI/Base","Types/entity","I18n/i18n","Compiler/IR","require","exports","Controls/Container/Async"],(function(e,t,n,i,o,u){var s,l,r,a,m;return Object.defineProperty(u,"__esModule",{value:!0}),s=function(e,t,n){"use strict";return Object.defineProperty(t,"__esModule",{value:!0}),t.getCalendarEntities=void 0,t.getCalendarEntities=function(e){const t=n.controller.currentLocaleConfig.calendarEntities[e];return[].concat(t.slice(1),t[0])},t}(0,{},n),l=s,r=function(e){"use strict";function t(){return this}var n=["_minutes","_valueInputChangedHandler","_valueChangedHandler","_focusOutHandler","resolvedTemplate","content","inputCompleted","valueChanged","focusOut","_options"];return e.g({v:1,m:"wml!WTMControls/_common/TimeIntervalMinutes",d:e.d(["Controls/Container/Async"],arguments,1),t:[e.c(((e,i)=>[e.P(i,e.m(i,0),{K:"0_0_0_",A:{class:"WTMControls-Common__TimeInterval"},E:{"on:valuechanged":[{value:"valueChanged",originalName:"bind:value",viewController:i.v,data:i.d,handler:e.B(i,1),isControl:!1,bindValue:"_minutes"},{value:n[2],originalName:n[7],viewController:i.v}],"on:inputcompleted":[{value:n[1],originalName:n[6],viewController:i.v}],"on:focusout":[{value:n[3],originalName:n[8],viewController:i.v}],meta:{isControl:!1,context:t,handler:e.M(i,2)}},O:e.s(i,{value:e.m(i,3),name:"TimeInterval",mask:"HH:MM",shouldNotRemoveStartZeros:!0},e.m(i,4)),g:!0,m:"attribute",i:0})])),e.r(((e,t)=>[e.C(t,"ws:Controls/Container/Async",{K:"0_",O:{esc:!1,templateName:"Controls/extInput:TimeInterval",content:e.o(t,0,1)},m:"attribute",c:!0})]))],p:n.slice(0,4),e:[(e,t)=>e.g(t,[n[5],n[4]]),(e,t,n,i,o,u)=>e.s(t,["_minutes"],u),function(e,t,n,i,o,u){return e.g(this,[u])},(e,t)=>e.g(t,[n[0]]),(e,t)=>e.g(t,[n[9]])],i:[[[3,4]],[[0],[3,4]]]})}(i,"undefined"==typeof Controls_Container_Async?null:Controls_Container_Async),a=function(e,t,n,i,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class u extends n.Control{constructor(){super(...arguments),this._template=i}_beforeMount(e){const t=e.minutes;this._minutes="number"==typeof t?new o.TimeInterval([0,0,t]):null}_beforeUpdate(e){var t;if(this._options.minutes!==e.minutes&&e.minutes!==(null===(t=this._minutes)||void 0===t?void 0:t.getTotalMinutes()))this._minutes="number"==typeof e.minutes?new o.TimeInterval([0,0,e.minutes]):null}_afterMount(){const{minutes:e,focusNotify:t}=this._options;if(t)this._notify("changeFocus",[this._children.TimeInterval,"number"!=typeof e],{bubbling:!0})}_valueChangedHandler(e,t,n){const i=(null==t?void 0:t.getTotalMinutes())||0;if(i<=this._options.maxMinutes)this._notify("minutesChanged",[i,n],{bubbling:!0})}_valueInputChangedHandler(e,t,n){var i,u;const{maxMinutes:s,defaultMinutes:l}=this._options;let r=(null==t?void 0:t.getTotalMinutes())||0;if(r>s)r=null!=l?l:s,this._minutes=new o.TimeInterval([0,0,r]);this._notify("minutesChanged",[r,n],{bubbling:!0}),this._notify("inputCompleted",[r,n],{bubbling:!0}),null===(u=(i=this._options).onInputCompleted)||void 0===u||u.call(i,r,n)}_focusOutHandler(){if(this._minutes){if(!this._minutes.getTotalMinutes())this._minutes=new o.TimeInterval([0,0,0])}this._notify("focusOutCustom",[],{bubbling:!0})}static getDefaultOptions(){return{maxMinutes:1440}}}return t.default=u,t}(0,{},e,r,t),m=a,u.getCalendarEntities=u.TimeIntervalMinutes=void 0,Object.defineProperty(u,"TimeIntervalMinutes",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(u,"getCalendarEntities",{enumerable:!0,get:function(){return l.getCalendarEntities}}),u}));
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.