nextcloud/apps/user_status/js/vendors-user-status-modal.js

2 lines
1.4 MiB
JavaScript
Raw Normal View History

(window.webpackJsonpUserStatus=window.webpackJsonpUserStatus||[]).push([[3],{239:function(e,t,i){"use strict";function r(){return"undefined"==typeof OC?(console.warn("No OC found"),"en"):OC.getLocale()}i(35),i(46),Object.defineProperty(t,"__esModule",{value:!0}),t.getLocale=r,t.getCanonicalLocale=function(){return r().replace(/_/g,"-")},t.getLanguage=function(){if("undefined"==typeof OC)return console.warn("No OC found"),"en";return OC.getLanguage()},t.translate=function(e,t,i,r,s){if("undefined"==typeof OC)return console.warn("No OC found"),t;return OC.L10N.translate(e,t,i,r,s)},t.translatePlural=function(e,t,i,r,s,a){if("undefined"==typeof OC)return console.warn("No OC found"),t;return OC.L10N.translatePlural(e,t,i,r,s,a)},t.getFirstDay=function(){if(void 0===window.firstDay)return console.warn("No firstDay found"),1;return window.firstDay},t.getDayNames=function(){if(void 0===window.dayNames)return console.warn("No dayNames found"),["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];return window.dayNames},t.getDayNamesShort=function(){if(void 0===window.dayNamesShort)return console.warn("No dayNamesShort found"),["Sun.","Mon.","Tue.","Wed.","Thu.","Fri.","Sat."];return window.dayNamesShort},t.getDayNamesMin=function(){if(void 0===window.dayNamesMin)return console.warn("No dayNamesMin found"),["Su","Mo","Tu","We","Th","Fr","Sa"];return window.dayNamesMin},t.getMonthNames=function(){if(void 0===window.monthNames)return console.warn("No monthNames found"),["January","February","March","April","May","June","July","August","September","October","November","December"];return window.monthNames},t.getMonthNamesShort=function(){if(void 0===window.monthNamesShort)return console.warn("No monthNamesShort found"),["Jan.","Feb.","Mar.","Apr.","May.","Jun.","Jul.","Aug.","Sep.","Oct.","Nov.","Dec."];return window.monthNamesShort}},261:function(e,t,i){var r=i(9),s=i(10).f,a=Function.prototype,n=a.toString,o=/^\s*function ([^ (]*)/;r&&!("name"in a)&&s(a,"name",{configurable:!0,get:function(){try{return n.call(this).match(o)[1]}catch(e){return""}}})},281:function(e,t,i){"use strict";(function(e){var i="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(i&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var s=i&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),r))}};function a(e){return e&&"[object Function]"==={}.toString.call(e)}function n(e,t){if(1!==e.nodeType)return[];var i=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?i[t]:i}function o(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=n(e),i=t.overflow,r=t.overflowX,s=t.overflowY;return/(auto|scroll|overlay)/.test(i+s+r)?e:u(o(e))}function l(e){return e&&e.referenceNode?e.referenceNode:e}var c=i&&!(!window.MSInputMethodContext||!document.documentMode),m=i&&/MSIE 10/.test(navigator.userAgent);function g(e){return 11===e?c:10===e?m:c||m}function d(e){if(!e)return document.documentElement;for(var t=g(10)?document.body:null,i=e.offsetParent||null;i===t&&e.nextElementSibling;)i=(e=e.nextElementSibling).offsetParent;var r=i&&i.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===n(i,"position")?d(i):i:e?e.ownerDocument.documentElement:document.documentElement}function f(e){return null!==e.parentNode?f(e.parentNode):e}function _(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var i=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=i?e:t,s=i?t:e,a=document.createRange();a.setStart(r,0),a.setEnd(s,0);var n,o,u=a.commonAncestorContainer;if(e!==u&&t!==u||r.contains(s))return"BODY"===(o=(n=u).nodeName)||"HTML"!==o&&d(n.firstElementChild)!==n?d(u):u;var l=f(e
//# sourceMappingURL=vendors-user-status-modal.js.map?v=279a6ff8173ca6de0028