text: {"version":3,"sources":["resourcebooking.js"],"names":["BX","namespace","Calendar","UserField","ResourceBooking","Main","UF","BaseType","DAY_LENGTH","TIME_FORMAT","TIME_FORMAT_SHORT","DATE_FORMAT","date","convertBitrixFormat","message","DATETIME_FORMAT","substr","length","util","trim","isAmPmMode","replace","params","this","DOM","outerWrap","controlId","valueInputs","isNew","value","DATE_FROM","socnetDestination","prototype","extend","showEditLayout","allValuesValue","dateTimeWrap","appendChild","create","props","className","dateFrom","duration","defaultDuration","fullDay","dateTo","getParamsFromHash","userfieldId","parseDate","Math","round","max","getTime","Date","roundMin","r","timestamp","ceil","DATE_TO","dateWrap","html","fromInput","attrs","format","placeholder","type","events","click","proxy","showSmallCalendar","change","triggerUpdatePlanner","emptyInput","timeWrap","timeFromInput","style","width","fromTime","SelectInput","input","values","getSimpleTimeList","onChangeCallback","onAfterMenuOpen","ind","popupMenu","i","menuItem","nearestTimeValue","adaptTimeValue","h","getHours","m","getMinutes","label","menuItems","text","layout","menuContainer","scrollTop","item","offsetTop","useServices","isArray","serviceList","durationWrap","servicesWrap","serviceInput","SERVICE_NAME","serviceListValues","forEach","service","name","push","parseInt","state","isPlainObject","realValue","durationList","setValue","parseDuration","durationInput","durationControlWrap","getDurationList","bind","showPlannerPopup","useUsers","userSelectorWrap","userSelectorTitle","userListWrap","itemsSelected","ENTRIES","entry","TYPE","RESOURCE_ID","userSelector","UserSelector","wrapNode","addMessage","checkLimitCallback","checkResourceCountLimitForNewEntries","addCustomEvent","useResources","resourcesWrap","resSelectorTitle","resourcesListWrap","id","resourceSelector","ResourceListSelector","blocksWrap","resourceList","checkResourceCountLimit","_this","setTimeout","delegate","onCustomEvent","window","result","allowOverbooking","isOverbooked","addError","Crm","EntityValidationError","field","_validationPromise","Promise","fulfill","onChangeValues","e","target","srcElement","calendar","node","bTime","focus","formatDatetime","dateFromValue","serviceName","entries","isDate","concat","getSelectedResourceList","getSelectedUserList","remove","inputName","fireEvent","currentEventList","EVENT_ID","plannerPopup","show","plannerId","bindNode","plannerConfig","getPlannerConfig","selector","getSelectorData","selectorOnChangeCallback","plannerSelectorOnChange","selectEntriesOnChangeCallback","plannerSelectedEntriesOnChange","checkSelectorStatusCallback","isShown","update","getResourceList","selectedResources","getSelectedValues","userList","getUserList","selectedUsers","selectEntriesMode","scaleLimitOffsetLeft","scaleLimitOffsetRight","maxTimelineSize","minEntryRows","entriesListWidth","timelineCellWidth","minWidth","accuracy","workTime","clickSelectorScaleAccuracy","selected","setValues","errorClass","overbooked","status","errorNode","addClass","removeClass","from","to","updateScaleLimits","getValues","title","index","userId","getAttendeesCodesList","code","USER_TYPE_ID","openExternalSettingsSlider","settingsSlider","SettingsSlider","val","res","getDurationLabel","stringValue","numValue","parsed","dayRegexp","RegExp","hourRegexp","str","num","formatTime","timeValue","timeList","diff","abs","d","setHours","getSocnetDestination","getLoader","size","regRes","hash","unescape","location","exec","split","showLimitationPopup","B24","licenseInfoPopup","ajax","runAction","then","response","data","init","checkForNewEntry","resourceLimit","getTotalResourceCount","getResourceBookingCrmFormField","bookingFieldParams","isDomNode","Error","innerWrap","querySelector","formName","captionNode","lblCaption","entityFieldName","entity_field_name","entityName","dict","settings","caption","captionValue","required","isRequired","settingsData","CrmFormResourceBookingField","getResourceBookingFieldLive","wrap","CrmFormResourceBookingFieldLiveController","fieldParamsCache","getUserFieldParams","fieldName","promise","clearCache","fieldname","getPluralMessage","messageId","number","pluralForm","langId","PlannerPopup","config","lastPlannerIdShown","close","animation","currentEntries","plannerWrap","popup","PopupWindow","autoHide","closeByEsc","offsetHeight","offsetLeft","offsetWidth","lightShadow","content","setAngle","offset","position","bindPos","pos","winSize","GetWindowSize","plannerWidth","innerWidth","right","popupContainer","document","handleClick","showPlanner","refreshParams","codes","k","codeIndex","clone","fromTimestamp","toTimestamp","lastUpdateParams","hasOwnProperty","focusSelector","scaleDateFrom","scaleDateTo","requestData","resources","checkUpdateParams","showPlannerLoader","hidePlannerLoader","lastRequestData","currentAccessibility","accessibility","currentLoadedDataFrom","currentLoadedDataTo","find","loadedDataFrom","loadedDataTo","requestPlannerUpdate","lastRequestPlannerId","array_diff","resIndex","planner","CalendarPlanner","updateScaleType","RRULE","isFunction","loader","unbind","removeCustomEvent","destroy","getPlannerId","random","getPlannerContainer","refreshDateTimeView","isParentForNode","zIndex","sliderId","SLIDER_WIDTH","SLIDER_DURATION","SidePanel","Instance","open","contentCallback","animationDuration","hide","event","getSliderPage","getUrl","denyClose","denyAction","initControls","save","filterSelectValues","fieldOuterWrap","fieldSelect","options","add","Option","TEXT","VALUE","filterSelect","entityType","userOptions","reload","destinationInputName","selectGroups","checkLimit","convertAttendeesCodes","getSocnetDestinationConfig","shown","SocNetLogDestination","deleteItem","getAttribute","block","findParent","hasClass","openDialog","socnetDestinationInputWrap","socnetDestinationInput","keydown","searchBeforeHandler","inputId","keyup","searchHandler","linkId","sendAjax","socnetDestinationLink","items","itemsLast","groups","department","sonetgroups","searchInput","extranetUser","userSearchArea","bindMainPopup","bindSearchPopup","callback","select","selectCallback","unSelect","unSelectCallback","openDialogCallback","closeDialog","closeDialogCallback","openSearch","closeSearch","departmentSelectDisable","closeAll","isOpenDialog","addUserBlock","blocks","querySelectorAll","itemWrap","data-id","elements","findChildren","attribute","j","innerHTML","popupWindow","popupSearchWindow","cleanInputValue","isOpenSearch","backspaceDisable","keyCode","preventDefault","getCodes","inputsList","getElementsByTagName","getAttendeesCodes","attendeesCodes","key","users","USERS","EXTRANET_USER","DENY_TOALL","UA","SONETGROUPS","DEPARTMENT","departmentRelation","DEPARTMENT_RELATION","LAST","SELECTED","inputs","trigerOnChange","user","obItems","getId","editMode","checkLimitForNew","checkLimitCallbackForNew","selectedValues","selectedValuesIndex","selectedBlocks","newValues","listWrap","controlsWrap","arrowNode","addButton","addResourceBlock","selectButton","openResourcesPopup","handleBlockClick","maxHeight","blockValue","element","deleteFromArray","checkBlockWrapState","isResourcesPopupShown","resource","deleted","htmlspecialchars","dataset","onclick","selectAllcheckbox","checkbox","foundResource","removeResourceBlock","checkResourceInputs","selectAllChecked","checked","menuItemNode","textNode","PopupMenu","opacity","checkboxes","blockEntry","resourceType","resourceId","delButton","focusInput","transparent","children","data-bx-remove-block","childNodes","emptyPlaceholder","isNodeInDom","closeResourcesPopup","addToSelectedValues","getDeletedValues","filter","defaultValue","openTitle","currentValue","currentValueIndex","valueIndex","disabled","editable","setFirstIfNotFound","curInd","onClick","onFocus","onBlur","onKeyup","blur","undefined","showPopup","delimiter","onChange","labelRaw","setWidth","closePopup","getValue","ModeSelector","showResources","modeSwitcherPopup","showUsers","showResourcesAndUsers","switcherId","angle","getOuterWrap","ServiceList","outerCont","fieldSettings","serviceListOuterWrap","durationTitleId","servicesTitleWrap","serviceListRowsWrap","handlePopupClick","SERVICE_LIST","addRow","serviceListAddWrap","serviceAddButton","checkDurationTitlePosition","USE_SERVICES","display","row","getDefaultDuration","nameInput","fullday","getFullDayValue","deleteWrap","timeout","checkDurationTitlePositionTimeout","clearTimeout","left","clickHandler","resWrap","checkServiceRows","rows","checkRows","onFullClearHandler","TimezoneSelector","selectedValue","getTimezoneList","timezoneList","timezone","timezone_id","default","AdminSettingsViewer","outerWrapId","form","forms","showLayout","onSubmit","selectedResourceList","USE_RESOURCES","USE_USERS","optionWrap","resourcesTitleWrap","resourcesListLowControls","RESOURCES","SECTIONS","ID","NAME","CAL_TYPE","SELECTED_RESOURCES","usersTitleWrap","usersListWrap","SELECTED_USERS","datetimeOptionsWrap","datetimeOptionsInnerWrap","fulldayCheckBox","FULL_DAY","useServicedayCheckBox","overbookingCheckbox","ALLOW_OVERBOOKING","inputsWrap","cleanNode","htmlControl","prepareFormDataInputs","Array","Object","defineProperty","predicate","TypeError","o","len","thisArg","arguments","kValue","call"],"mappings":"CAAC,WAEA,aAEAA,GAAGC,UAAU,yBAEb,UAAUD,GAAGE,SAASC,UAAUC,kBAAoB,cAAgBJ,GAAGK,KAAKC,KAAON,GAAGK,KAAKC,GAAGC,SAC9F,CACC,OAGD,IACCC,EAAa,MACbC,E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