Dashboard sipadu mbip
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

sheet.cjs.prod.js 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. "use strict";
  2. function sheetForTag(tag) {
  3. if (tag.sheet) return tag.sheet;
  4. for (var i = 0; i < document.styleSheets.length; i++) if (document.styleSheets[i].ownerNode === tag) return document.styleSheets[i];
  5. }
  6. function createStyleElement(options) {
  7. var tag = document.createElement("style");
  8. return tag.setAttribute("data-emotion", options.key), void 0 !== options.nonce && tag.setAttribute("nonce", options.nonce),
  9. tag.appendChild(document.createTextNode("")), tag;
  10. }
  11. Object.defineProperty(exports, "__esModule", {
  12. value: !0
  13. });
  14. var StyleSheet = function() {
  15. function StyleSheet(options) {
  16. this.isSpeedy = void 0 === options.speedy || options.speedy, this.tags = [], this.ctr = 0,
  17. this.nonce = options.nonce, this.key = options.key, this.container = options.container,
  18. this.before = null;
  19. }
  20. var _proto = StyleSheet.prototype;
  21. return _proto.insert = function(rule) {
  22. if (this.ctr % (this.isSpeedy ? 65e3 : 1) == 0) {
  23. var before, _tag = createStyleElement(this);
  24. before = 0 === this.tags.length ? this.before : this.tags[this.tags.length - 1].nextSibling,
  25. this.container.insertBefore(_tag, before), this.tags.push(_tag);
  26. }
  27. var tag = this.tags[this.tags.length - 1];
  28. if (this.isSpeedy) {
  29. var sheet = sheetForTag(tag);
  30. try {
  31. var isImportRule = 105 === rule.charCodeAt(1) && 64 === rule.charCodeAt(0);
  32. sheet.insertRule(rule, isImportRule ? 0 : sheet.cssRules.length);
  33. } catch (e) {}
  34. } else tag.appendChild(document.createTextNode(rule));
  35. this.ctr++;
  36. }, _proto.flush = function() {
  37. this.tags.forEach(function(tag) {
  38. return tag.parentNode.removeChild(tag);
  39. }), this.tags = [], this.ctr = 0;
  40. }, StyleSheet;
  41. }();
  42. exports.StyleSheet = StyleSheet;