"use strict";define(function(){if("undefined"==typeof window)return{load:function(e,t,n){n()}};var l=document.getElementsByTagName("head")[0],e=window.navigator.userAgent.match(/Trident\/([^ ;]*)|AppleWebKit\/([^ ;]*)|Opera\/([^ ;]*)|rv\:([^ ;]*)(.*?)Gecko\/([^ ;]*)|MSIE\s([^ ;]*)|AndroidWebKit\/([^ ;]*)/)||0,c=!1,d=!0;e[1]||e[7]?c=parseInt(e[1])<6||parseInt(e[7])<=9:e[2]||e[8]?d=!1:e[4]&&(c=parseInt(e[4])<18);function p(){h=document.createElement("style"),l.appendChild(h),m=h.styleSheet||h.sheet}function f(e){m.addImport(e),h.onload=function(){n()},31==++t&&(p(),t=0)}var h,m,v,e={pluginBuilder:"./css-builder"},t=0,y=[],n=function(){v();var e=y.shift();return e?(v=e[1],void f(e[0])):void(v=null)};return e.normalize=function(e,t){return".css"==e.substr(e.length-4,4)&&(e=e.substr(0,e.length-4)),t(e)},e.load=function(e,t,n,r){var i,o,s,a,u="";"pre"!=tenant.siteType&&"oper"!=tenant.siteType||(i=tenant.bossProductInstance,o=tenant.viewType,s=tenant.siteType,a=("m"==tenant.viewType?tenant.mobilePublishTime:tenant.pcPublishTime)||0,u="?instance="+i.toLowerCase()+"&viewType="+o+"&siteType="+s+"&v="+a),(c?function(e,t){var n;m&&m.addImport||p(),m&&m.addImport?v?y.push([e,t]):(f(e),v=t):(h.textContent='@import "'+e+'";',n=setInterval(function(){try{h.sheet.cssRules,clearInterval(n),t()}catch(e){}},10))}:function(e,t){var n,r=document.createElement("link");r.type="text/css",r.rel="stylesheet",d?r.onload=function(){r.onload=function(){},setTimeout(t,7)}:n=setInterval(function(){for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].href==r.href)return clearInterval(n),t()},10),r.href=e,l.appendChild(r)})(t.toUrl(e+".css"+u),n)},e});