define("metaserver/static/js/modules/clean/css/inject_css",["require","exports"],(function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.injectCss=void 0;const t=["loadCssWithCache","CssEntryPoint","css-modules"],s=["css-modules"];function l(e,n,l){if(l[n].length>0){if(s.includes(n)){const t=l[n];for(let n=0;ne.href)return[s,n]}}return[l[n][l[n].length-1].elem.nextElementSibling,null]}const c=t.indexOf(n);for(let e=c-1;e>=0;e--){const n=l[t[e]];if(n.length>0)return[n[n.length-1].elem.nextElementSibling,null]}for(let e=c+1;e0)return[n[0].elem,null]}return[null,null]}function c(e,n,t,s,c){e.setAttribute("data-loader",n);let i=null,o=null;c||([i,o]=l(e,n,t)),null===o?t[n].push({elem:e,href:e.href}):t[n].splice(o,0,{elem:e,href:e.href}),i?s.insertBefore(e,i):s.appendChild(e)}n.injectCss=function(e,n,t=document){const i=t.defaultView;i.__injectCssCache||(i.__injectCssCache={loadCssWithCache:[],CssEntryPoint:[],"css-modules":[]});const o=i.__injectCssCache,r=s.includes(n);if(!r&&e.length>1){const[s]=l(e[0],n,o),i=t.createDocumentFragment();for(const t of e)c(t,n,o,i,!r);null===s?t.head.appendChild(i):t.head.insertBefore(i,s)}else for(const s of e)c(s,n,o,t.head,!1)}})); //# sourceMappingURL=pkg-core-inject-css.min.js-vflfqL6vh.map